:root {
  --ink: #1b1b1b;
  --paper: #f8f5f1;
  --accent: #d9815f;
  --accent-2: #3f6d6a;
  --muted: #6c6a67;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, #f8f5f1 0%, #f1e7dc 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.5px;
}

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  z-index: -1;
}

.orb-a {
  background: #f6c7a7;
  top: -120px;
  left: -80px;
}

.orb-b {
  background: #9fc8c5;
  bottom: -160px;
  right: -120px;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(248, 245, 241, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 10;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-weight: 700;
  font-size: 20px;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

.nav a {
  position: relative;
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  font-size: 12px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  margin: 10px 0 12px;
}

.lead {
  font-size: 18px;
  max-width: 520px;
}

.cta-row {
  margin: 24px 0 18px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow);
}

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

.btn:hover {
  transform: translateY(-2px);
}

.meta {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.hero-card {
  display: grid;
  gap: 16px;
}

.card {
  background: var(--card);
  padding: 22px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.card.accent {
  background: linear-gradient(135deg, #f9e6d8 0%, #f3c9b3 100%);
}

.section {
  padding: 70px 0;
}

.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skills-intro {
  color: var(--muted);
  margin-bottom: 18px;
}

.skills-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.skill-group {
  --group-color: var(--accent-2);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--group-color);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.skill-head {
  margin-bottom: 10px;
}

.skill-label {
  font-weight: 700;
  color: var(--group-color);
}

.tone-languages {
  --group-color: #2b6cb0;
}

.tone-web {
  --group-color: #b45309;
}

.tone-tools {
  --group-color: #0f766e;
}

.tone-concepts {
  --group-color: #9f1239;
}

#skills .chip {
  background: rgba(27, 27, 27, 0.08);
  color: #2b2b2b;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(63, 109, 106, 0.12);
  color: var(--accent-2);
  font-weight: 600;
  font-size: 14px;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
}

.time {
  font-weight: 700;
  color: var(--accent-2);
}

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

.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0;
  font-size: 13px;
  color: var(--muted);
}

.link {
  color: var(--accent-2);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 6px;
  list-style: none;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-2);
  flex-shrink: 0;
}

.contact-list a {
  color: var(--accent-2);
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 12px;
}

input, textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: inherit;
}

.footer {
  padding: 30px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .skills-groups {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .nav {
    position: absolute;
    right: 4%;
    top: 64px;
    background: var(--card);
    box-shadow: var(--shadow);
    padding: 14px 18px;
    border-radius: 12px;
    flex-direction: column;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}
.demo-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #222;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease;
  margin-top: 15px;
  align-self: flex-start;
}

.demo-btn:hover {
  background: #222;
  color: white;
}

.project-action {
  margin-top: 8px;
}
