:root {
  color-scheme: only light;
  --bg: #f7f1eb;
  --bg-deep: #efe5dd;
  --text: #1d1713;
  --muted: #6c5f55;
  --accent: #e06b4f;
  --accent-strong: #cb5439;
  --surface: #fffaf6;
  --surface-strong: #ffffff;
  --border: #e2d6ce;
  --shadow: 0 18px 50px rgba(29, 23, 19, 0.12);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 80% -10%, #fde8d6, transparent),
    radial-gradient(900px 500px at -10% 30%, #f7e2d8, transparent),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "Roboto", "Segoe UI", sans-serif;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

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

h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.12;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.3;
}

p {
  margin: 0 0 14px;
  line-height: 1.7;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 241, 235, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 214, 206, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.brand-dot {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(224, 107, 79, 0.15);
}

.brand-name {
  font-size: 1rem;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a {
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav a:hover::after {
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 12px 30px rgba(224, 107, 79, 0.25);
}

.button:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
}

.button.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}

.button.ghost:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.hero {
  padding: 90px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 18px;
}

.lead {
  font-size: 1.08rem;
  color: var(--text);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 26px;
}

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

.meta-title {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
}

.meta-sub {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  background: var(--surface-strong);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.card-label {
  font-size: 0.9rem;
  color: var(--muted);
}

.chip {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(224, 107, 79, 0.1);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 600;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  color: var(--muted);
}

.checklist li {
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.status {
  color: var(--accent-strong);
  font-weight: 600;
}

.section {
  padding: 70px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
}

.surface {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 40px rgba(29, 23, 19, 0.08);
}

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

.project-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-bottom {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.skill-group h3 {
  margin-bottom: 12px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.timeline {
  display: grid;
  gap: 20px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}

.timeline-meta {
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.95rem;
}

.timeline-body p {
  margin-bottom: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  display: grid;
  gap: 10px;
}

.link-list a {
  color: var(--text);
  border-bottom: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.link-list a:hover {
  border-bottom-color: var(--accent);
}

.availability {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2f9d63;
  box-shadow: 0 0 0 6px rgba(47, 157, 99, 0.15);
}

.site-footer {
  padding: 32px 0 50px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .hero {
    padding-top: 60px;
  }

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

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

  .header-inner {
    flex-wrap: wrap;
  }
}
