:root {
  --ink: #16211f;
  --muted: #62706c;
  --line: #dde4df;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --accent: #0d7f70;
  --accent-dark: #07594f;
  --coral: #e36d5a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: var(--accent);
}

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

.navbar {
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid rgba(22, 33, 31, 0.08);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(22, 33, 31, 0.08);
}

.navbar-brand {
  color: var(--ink) !important;
  font-weight: 800;
}

.nav-link {
  color: var(--ink) !important;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-link.active,
.nav-link:hover {
  color: var(--accent) !important;
}

.btn {
  border-radius: 4px;
  font-weight: 700;
}

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

.btn-primary:hover,
.btn-primary:focus {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
}

.nav-cta {
  min-width: 104px;
}

.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding: 8rem 0 5rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 20, 18, 0.88), rgba(11, 20, 18, 0.5), rgba(11, 20, 18, 0.28)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}

.hero-section h1 {
  max-width: 740px;
  font-size: clamp(2.7rem, 7vw, 5.9rem);
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.hero-section .lead {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.profile-panel {
  width: min(100%, 360px);
  margin-left: auto;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.profile-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.status-dot {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  margin-right: 0.45rem;
  background: #40e69a;
  border-radius: 50%;
}

.section {
  padding: 6rem 0;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
}

.large-copy,
.skills-section p,
.contact-section p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}

.stats-row div {
  padding-top: 1.25rem;
  border-top: 2px solid var(--line);
}

.stats-row strong {
  display: block;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 800;
}

.stats-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.work-section,
.experience-section {
  background: #fff;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.project-card {
  height: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(22, 33, 31, 0.12);
}

.project-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.project-body {
  padding: 1.5rem;
}

.project-body span,
.timeline-item span {
  color: var(--accent);
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.project-body h3,
.skill-item h3,
.timeline-item h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.project-body p,
.skill-item p,
.timeline-item p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.skill-list {
  display: grid;
  gap: 1rem;
}

.skill-item {
  display: flex;
  gap: 1rem;
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.skill-item i {
  flex: 0 0 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
  font-size: 1.15rem;
}

.timeline {
  border-left: 2px solid var(--line);
  margin-left: 0.6rem;
}

.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -0.48rem;
  top: 0.3rem;
  width: 0.88rem;
  height: 0.88rem;
  background: var(--coral);
  border: 3px solid #fff;
  border-radius: 50%;
}

.contact-section {
  background: var(--ink);
  color: #fff;
}

.contact-section .section-kicker {
  color: #f0a193;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-links {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.contact-links a {
  color: #fff;
  font-weight: 700;
}

.contact-links i {
  color: #f0a193;
  margin-right: 0.55rem;
}

.contact-form {
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
}

.contact-form label {
  color: var(--ink);
  font-weight: 700;
}

.form-control {
  min-height: 48px;
  border-color: var(--line);
  border-radius: 4px;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(13, 127, 112, 0.15);
}

.site-footer {
  padding: 1.5rem 0;
  background: #111916;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer p {
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  .footer-social {
    margin-top: 0;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0;
  }

  .profile-panel {
    margin: 3rem 0 0;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 4rem 0;
  }

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

  .skill-item {
    align-items: flex-start;
  }
}
