:root {
  color-scheme: light;
  --bg: #f7f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #3b82f6;
  --accent-dark: #1d4ed8;
  --border: #e5e7eb;
}

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

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  background: rgba(247, 247, 251, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--accent);
  color: white;
  padding: 0.45rem 0.6rem;
  border-radius: 0.6rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.cta {
  background: var(--accent-dark);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
}

.cta:hover {
  color: white;
  background: #0f3ea2;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 3vw, 3.5rem);
  margin: 0.5rem 0 1rem;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  font-weight: 600;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.primary,
.secondary {
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}

.primary {
  background: var(--accent-dark);
  color: white;
}

.secondary {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
  background: white;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-location {
  font-weight: 600;
  color: var(--text);
}

.hero-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-contacts li {
  display: flex;
}

.hero-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
}

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

.hero-media img {
  width: 100%;
  max-width: 260px;
  border-radius: 999px;
  border: 6px solid #e8f0ff;
  background: #f3f6ff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.hero-card {
  background: var(--card);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-card img {
  width: 100%;
  max-width: 220px;
  align-self: center;
  border-radius: 999px;
  border: 5px solid #e8f0ff;
  background: #f3f6ff;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.section-heading h2,
.section > h2 {
  font-size: 2rem;
}

.section-heading p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

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

.card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card ul {
  display: grid;
  gap: 0.6rem;
  list-style: none;
  color: var(--muted);
}

.card ul li {
  padding-left: 1.2rem;
  position: relative;
}

.card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-dark);
}

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

.timeline {
  display: grid;
  gap: 1.5rem;
}

.timeline-item {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 1rem;
  border-left: 4px solid var(--accent);
  border: 1px solid var(--border);
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  background: var(--card);
  border-radius: 1.2rem;
  padding: 2rem;
  border: 1px solid var(--border);
}

.availability ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.icon {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  color: var(--accent-dark);
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin-top: 0.75rem;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
}

.resume-card {
  display: grid;
  gap: 1.25rem;
}

.resume-preview {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  overflow: hidden;
  background: #f8fafc;
}

.resume-preview embed {
  width: 100%;
  height: 420px;
  display: block;
  border: none;
}

@media (max-width: 800px) {
  .resume-preview embed {
    height: 320px;
  }

  .nav-links {
    display: none;
  }

  .cta {
    display: none;
  }
}
