﻿:root {
  --ink: #121318;
  --ink-soft: #3b3e48;
  --accent: #ff7a59;
  --accent-soft: #ffd6c9;
  --surface: #fff9f4;
  --surface-strong: #f3efe8;
  --card: #ffffff;
  --shadow: 0 24px 60px rgba(20, 14, 8, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fff4ee 0%, #f9efe7 40%, #f4efe8 100%);
  min-height: 100vh;
}

.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 64px 16px 88px;
  display: grid;
  gap: 64px;
}

.hero {
  display: grid;
  gap: 32px;
  padding: 36px 40px;
  background: var(--surface);
  border-radius: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.8s ease-out forwards;
}

.hero::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, rgba(255, 214, 201, 0) 70%);
}

.hero__intro {
  display: grid;
  gap: 12px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
}

h1,
h2,
h3 {
  font-family: "Fraunces", "Times New Roman", serif;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.05;
}

.tagline {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.bio {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 60ch;
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.bio li {
  color: var(--ink-soft);
}

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

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-links a {
  text-decoration: none;
  color: var(--ink);
  background: var(--surface-strong);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 16, 19, 0.12);
}

.contact-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.skills {
  display: grid;
  gap: 28px;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-list span {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface-strong);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.projects {
  display: grid;
  gap: 32px;
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.section-title p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.project-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.project-card {
  text-decoration: none;
  color: inherit;
  background: var(--card);
  padding: 24px 24px 28px;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(17, 16, 19, 0.12);
  display: grid;
  gap: 16px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(17, 16, 19, 0.16);
}

.project-card h3 {
  font-size: 1.4rem;
}

.project-card p {
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--accent-soft);
  color: #b33b1f;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 28px 24px;
  }

  .page {
    padding: 56px 20px 80px;
  }
}
