:root {
  --red: #a20519;
  --orange: #de6907;
  --dark: #1f2937;
  --muted: #64748b;
  --light: #fff7ed;
  --card: #ffffff;
  --border: #f1d6c4;
}

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

body {
  font-family: "DM Sans", sans-serif;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 45%, #fff7ed 100%);
  color: var(--dark);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  line-height: 1.15;
}

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

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 247, 237, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--red);
}

.nav-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--red);
}

.hero {
  padding: 92px 0 76px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.page-section {
  padding: 72px 0;
}

.eyebrow {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--red);
  background: #ffeade;
  border: 1px solid var(--border);
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1,
.page-title {
  font-size: clamp(2.7rem, 7vw, 5rem);
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--red), #b12a18, #c04116, var(--orange));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-family: "Nunito", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-text,
.page-intro {
  font-size: 1.08rem;
  max-width: 760px;
  color: #334155;
  margin-bottom: 28px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  border: 2px solid transparent;
  transition: 0.2s ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: white;
  box-shadow: 0 10px 24px rgba(162, 5, 25, 0.18);
}

.button-outline {
  color: var(--red);
  border-color: var(--red);
  background: white;
}

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

.profile-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 30px;
  box-shadow: 0 18px 50px rgba(162, 5, 25, 0.12);
}

.profile-circle {
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffeade, #ffffff);
  border: 8px solid #fff1e6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Nunito", sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--red);
}

.profile-card p {
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.section-label {
  width: 58px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--orange));
  margin-bottom: 16px;
}

.grid {
  display: grid;
  gap: 22px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: 0.22s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(162, 5, 25, 0.12);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card p {
  color: #475569;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: #6c1700;
  background: #ffeade;
  border: 1px solid var(--border);
  padding: 5px 9px;
  border-radius: 999px;
}

.about-text {
  display: grid;
  gap: 18px;
  color: #334155;
  font-size: 1.05rem;
}

.mini-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
}

.mini-card h4 {
  color: var(--red);
  margin-bottom: 6px;
}

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

.timeline-item {
  background: white;
  border-left: 5px solid var(--red);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.timeline-item h3 {
  margin-bottom: 6px;
}

.timeline-item .period {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  color: var(--orange);
  margin-bottom: 10px;
}

.contact-box {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: white;
  border-radius: 30px;
  padding: 34px;
  display: grid;
  gap: 18px;
}

.contact-box h2 {
  color: white;
}

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

.contact-links a {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 11px 15px;
  border-radius: 999px;
  font-weight: 700;
}

footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  background: #fff7ed;
}

@media (max-width: 850px) {
  .hero,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 62px;
  }

  .nav-inner {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .nav-links {
    gap: 12px;
  }
}
