/* ============================================================
   BASE & RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:      #1e3a5f;
  --navy-dark: #142a46;
  --terra:     #b5533c;
  --terra-dk:  #963f2c;
  --cream:     #faf9f7;
  --warm-gray: #f0ede8;
  --mid-gray:  #6b7280;
  --text:      #1a1a1a;

  --font-serif: 'Lora', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --radius:    6px;
  --shadow:    0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);

  --max-w: 1100px;
  --section-pad: 5rem 1.5rem;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-pad);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--navy);
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 3px;
  background: var(--terra);
  border-radius: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  border: 2px solid transparent;
  text-decoration: none;
}

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

.btn-primary {
  background: var(--terra);
  color: #fff;
  border-color: var(--terra);
}
.btn-primary:hover {
  background: var(--terra-dk);
  border-color: var(--terra-dk);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mid-gray);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }

.nav-cta {
  background: var(--terra) !important;
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--terra-dk) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 5rem 1.5rem 4rem;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-text {
  flex: 1;
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.75rem;
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-photo {
  flex-shrink: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid rgba(255,255,255,0.2);
  box-shadow: var(--shadow-lg);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: #fff; }

.about-inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}

.about-bio p {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 1rem;
}

.about-competencies h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  background: var(--warm-gray);
  color: var(--navy);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(30,58,95,0.12);
}

/* ============================================================
   FEATURED WORK
   ============================================================ */
.featured-work { background: var(--cream); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.work-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-top: 4px solid var(--navy);
}

.work-card-tag {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terra);
}

.work-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.4;
}

.work-card p {
  font-size: 0.95rem;
  color: #555;
  flex: 1;
}

.work-card-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
}

/* Highlights */
.highlights {
  background: var(--navy);
  border-radius: 10px;
  padding: 2.5rem;
}

.highlights-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 2rem;
}

.highlights-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.highlights-list li {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.highlight-number {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--terra);
  line-height: 1;
}

.highlight-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

/* ============================================================
   EXPERIENCE TIMELINE
   ============================================================ */
.experience { background: #fff; }

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--warm-gray);
}

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

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

.timeline-marker {
  position: absolute;
  left: -2.45rem;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--terra);
  border: 2px solid #fff;
  outline: 2px solid var(--terra);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 0.3rem;
}

.timeline-org {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

.timeline-dates {
  font-size: 0.83rem;
  color: var(--mid-gray);
}

.timeline-role {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.timeline-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.timeline-content li {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.6;
}

/* ============================================================
   EDUCATION & ENGAGEMENT
   ============================================================ */
.education { background: var(--warm-gray); }

.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.edu-col h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(30,58,95,0.15);
}

.edu-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.edu-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.edu-degree {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.edu-school {
  font-size: 0.88rem;
  color: var(--mid-gray);
  line-height: 1.5;
}

.edu-school em {
  font-style: normal;
  color: #888;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: #fff; }

.contact-intro {
  max-width: 620px;
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 2.5rem;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
  transition: color 0.2s;
}
.contact-link:hover { color: var(--terra); }
.contact-link svg { flex-shrink: 0; }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30,58,95,0.1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 1.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-inner a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-inner a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root { --section-pad: 3.5rem 1.25rem; }

  /* Nav */
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow);
  }

  .nav-links.open { display: flex; }

  .nav-links a { font-size: 1rem; color: var(--navy); }

  /* Hero */
  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }
  .hero-tagline { margin: 0 auto 2rem; }

  /* About */
  .about-inner { grid-template-columns: 1fr; gap: 2rem; }

  /* Work */
  .work-grid { grid-template-columns: 1fr; }

  .highlights-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Timeline */
  .timeline { padding-left: 1.5rem; }
  .timeline-item { padding-left: 1.5rem; }
  .timeline-marker { left: -1.95rem; }

  /* Edu */
  .edu-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .highlights-list { grid-template-columns: 1fr; }
  .hero-photo { width: 150px; height: 150px; }
}
