:root {
  --bg: #ece7e1;
  --bg-deep: #d7d2cc;
  --panel: #ffffff;
  --ink: #1b232b;
  --muted: #5f6a76;
  --accent: #0f4c5c;
  --accent-2: #1b6a7a;
  --line: #e2e6eb;
  --shadow: 0 18px 45px rgba(16, 30, 42, 0.14);
}

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

body {
  margin: 0;
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(120deg, #efeae4 0%, #e5e0da 35%, #d8d3cd 100%);
  color: var(--ink);
  line-height: 1.65;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.resume-shell {
  max-width: 1040px;
  margin: 48px auto 72px;
  padding: 0 20px;
  position: relative;
}

.resume-shell::before,
.resume-shell::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(0);
  opacity: 0.55;
  z-index: -1;
}

.resume-shell::before {
  top: -80px;
  right: -80px;
  background: radial-gradient(circle, rgba(27, 106, 122, 0.35), transparent 70%);
}

.resume-shell::after {
  bottom: 60px;
  left: -120px;
  background: radial-gradient(circle, rgba(15, 76, 92, 0.2), transparent 70%);
}

.hero {
  margin-bottom: 26px;
  animation: rise 0.8s ease both;
}

.hero-card {
  background: linear-gradient(135deg, #0f4c5c 0%, #1b6a7a 100%);
  border-radius: 18px;
  padding: 30px;
  color: #ffffff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.75);
}

.hero-title {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 1.7rem;
  line-height: 1.35;
  margin: 0 0 12px;
}

.hero-meta {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 0.85rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.hero-photo-wrap {
  display: flex;
  justify-content: center;
}

.hero-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  border: 4px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 35px rgba(7, 18, 24, 0.35);
}

.section {
  margin-top: 28px;
  animation: rise 0.6s ease both;
}

.section:nth-of-type(2) {
  animation-delay: 0.1s;
}

.section:nth-of-type(3) {
  animation-delay: 0.2s;
}

.section:nth-of-type(4) {
  animation-delay: 0.3s;
}

.section:nth-of-type(5) {
  animation-delay: 0.4s;
}

.section-title {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 10px;
  font-family: "Fraunces", "Georgia", serif;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  background: var(--accent-2);
  border-radius: 999px;
}

.panel {
  background: var(--panel);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 14px 30px rgba(16, 24, 32, 0.08);
  border: 1px solid var(--line);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.clean-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.clean-list li:last-child {
  margin-bottom: 0;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
}

.xp-item {
  padding-left: 16px;
  border-left: 3px solid var(--accent-2);
  margin-bottom: 22px;
}

.xp-item:last-child {
  margin-bottom: 0;
}

.xp-company {
  margin: 0 0 6px;
  font-family: "Fraunces", "Georgia", serif;
  font-size: 1.08rem;
}

.xp-role {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero,
  .section {
    animation: none;
  }
}

@media (max-width: 991.98px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    width: 170px;
    height: 170px;
  }

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

@media (max-width: 575.98px) {
  .resume-shell {
    margin: 28px auto 56px;
  }

  .hero-card {
    padding: 22px;
  }

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

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