:root {
  --bg: #f7f4ee;
  --surface: rgba(255, 255, 255, 0.72);
  --text: #1f2433;
  --muted: #4f5a70;
  --accent: #0f6b5d;
  --accent-2: #df8e3a;
  --border: rgba(31, 36, 51, 0.12);
  --shadow: 0 18px 40px rgba(15, 25, 45, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: radial-gradient(circle at 5% 10%, #ffedd2 0%, transparent 35%),
    radial-gradient(circle at 92% 90%, #d9efe7 0%, transparent 42%), var(--bg);
  line-height: 1.6;
}

.wrap {
  width: min(1050px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  background: rgba(247, 244, 238, 0.68);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.4px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

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

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
}

main {
  padding: 2rem 0 4rem;
}

.hero {
  padding: 4rem 0 2.2rem;
  position: relative;
}

.hero-layout {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.hero-copy {
  flex: 1;
}

.profile-photo {
  width: 116px;
  height: 116px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.kicker {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  margin: 0;
  line-height: 1.06;
}

.hero-summary {
  font-family: "Spectral", serif;
  color: var(--muted);
  max-width: 65ch;
  font-size: clamp(1.1rem, 2.3vw, 1.35rem);
  margin-top: 1rem;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin: 1.6rem 0 1.2rem;
}

.btn {
  padding: 0.62rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

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

.btn.ghost {
  border-color: var(--border);
  color: var(--text);
}

.meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
}

.meta li {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.33rem 0.72rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
}

.panel {
  margin-top: 1.25rem;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.panel h2 {
  margin-top: 0.1rem;
  margin-bottom: 0.85rem;
}

.stack {
  display: grid;
  gap: 0.9rem;
}

.item {
  border-left: 3px solid var(--accent-2);
  padding-left: 0.85rem;
}

.item h3 {
  margin: 0;
  font-size: 1.02rem;
}

.item p {
  margin: 0.3rem 0;
  color: var(--muted);
}

.item ul {
  margin: 0.4rem 0 0;
  padding-left: 1rem;
}

.grid {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.58);
}

.card h3 {
  margin-top: 0;
}

.card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.68rem;
  background: rgba(255, 255, 255, 0.65);
}

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

.contact-list a {
  color: var(--accent);
  text-decoration: none;
}

.footer {
  padding: 0.8rem 0 2.2rem;
  color: var(--muted);
  text-align: center;
}

.bg-shape {
  position: fixed;
  width: 290px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(64px);
  z-index: -1;
  opacity: 0.5;
}

.bg-shape-1 {
  background: #f4c89c;
  top: 14%;
  left: -80px;
}

.bg-shape-2 {
  background: #91ccb8;
  right: -88px;
  bottom: 7%;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.55s ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.06s;
}

.reveal:nth-child(3) {
  animation-delay: 0.12s;
}

.reveal:nth-child(4) {
  animation-delay: 0.18s;
}

.reveal:nth-child(5) {
  animation-delay: 0.24s;
}

.reveal:nth-child(6) {
  animation-delay: 0.3s;
}

.reveal:nth-child(7) {
  animation-delay: 0.36s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .hero-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-photo {
    margin-bottom: 0.5rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    right: 4vw;
    top: 62px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    padding: 0.75rem;
    flex-direction: column;
    width: 185px;
  }

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