/* Resume / Portfolio — warm light theme (Sarah Blazek–style palette) */
:root {
  --bg: #F8EDE9;
  --bg-elevated: #FFFBF9;
  --bg-warm: #E8D5D0;
  --text: #4A3C4B;
  --text-muted: #6B5D6C;
  --accent: #E38870;
  --accent-soft: rgba(227, 136, 112, 0.18);
  --border: #E8D5D0;
  --font-serif: "DM Serif Display", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-script: "Great Vibes", cursive;
  --space: 1.5rem;
  --container: min(90vw, 1100px);
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #c96d54;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space);
}

/* Header — white bar, script logo, centered nav, coral CTA */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem var(--space);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  font-family: var(--font-script);
  font-size: 1.75rem;
  font-weight: 400;
  color: #5a5a5a;
  justify-self: start;
}
.nav-logo:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-self: center;
}

.nav-links a {
  color: #646464;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  justify-self: end;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  justify-self: end;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
}

@media (max-width: 768px) {
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-cta {
    display: none;
  }
  .nav-links {
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: var(--space);
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 6rem var(--space) 4rem;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg) 55%, var(--bg-warm) 100%);
  overflow: hidden;
}

/* Diagonal accent in top-right (reference style) */
.hero-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 70%;
  background: linear-gradient(165deg, rgba(227, 136, 112, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

.hero-inner {
  max-width: 720px;
}

.hero-photo {
  flex-shrink: 0;
}

/* White card frame around headshot (reference style) */
.hero-photo-card {
  background: #fff;
  padding: 0.75rem;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(74, 60, 75, 0.14);
  max-width: 560px;
}

.hero-photo-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-inner { margin: 0 auto; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-photo {
    order: -1;
    margin: 0 auto;
  }
  .hero-photo-card { max-width: 360px; margin: 0 auto; }
}

.hero-label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}
.btn-primary:hover {
  background: #c96d54;
  border-color: #c96d54;
  color: #fff;
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-secondary:hover {
  background: var(--accent-soft);
  border-color: #c96d54;
  color: #c96d54;
}

/* Trust bar */
.trust-bar {
  padding: 2rem var(--space);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.section-subtitle {
  margin: 0 0 2.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Skills grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.skill-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}

.skill-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.skill-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid var(--border);
  margin-left: 0.5rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 2.25rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -1.5rem;
  top: 0.35rem;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-elevated);
}

.timeline-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--text);
}

.timeline-company {
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 0.15rem;
}

.timeline-date {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.timeline-content p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Education */
.education-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.education-entry {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.education-entry:last-child {
  border-bottom: none;
}

.edu-logo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.edu-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.edu-logo img[src=""],
.edu-logo img:not([src]) {
  display: none;
}

.edu-details {
  flex: 1;
  min-width: 0;
}

.edu-school {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.25rem;
}

.edu-degree {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin: 0 0 0.15rem;
}

.edu-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Career & Education — two-column layout */
.career-education {
  background: #fff;
}

.career-education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.career-col .section-title,
.education-col .section-title {
  margin-bottom: 1.5rem;
}

.entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.entry-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e8e6e6;
}

.entry-item:last-child {
  border-bottom: none;
}

.entry-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.entry-icon-lsu { background: #5c3317; }
.entry-icon-deloitte { background: #2d2d2d; }
.entry-icon-uhg { background: #0072ce; }
.entry-icon-ull { background: #8b1538; }

.entry-icon-img {
  padding: 0;
  overflow: hidden;
  background: var(--bg-elevated);
}

.entry-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.entry-icon-img.entry-icon-fallback {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--border);
}

.entry-body {
  flex: 1;
  min-width: 0;
}

.entry-org {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin: 0 0 0.2rem;
}

.entry-role {
  font-size: 0.95rem;
  color: #646464;
  margin: 0 0 0.2rem;
}

.entry-meta {
  font-size: 0.88rem;
  color: #888;
  margin: 0;
}

.entry-arrow {
  flex-shrink: 0;
  font-size: 0.9rem;
  color: #aaa;
  margin-left: auto;
}

@media (max-width: 768px) {
  .career-education-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Certifications */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.cert-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s;
}

.cert-card:hover {
  border-color: var(--accent);
}

.cert-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--text);
  line-height: 1.35;
}

.cert-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* Work grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.work-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.work-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}

.work-card-inner {
  padding: 1.75rem;
}

.work-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.work-card p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.work-link {
  font-weight: 500;
  font-size: 0.95rem;
}

/* About */
.about-content {
  max-width: 640px;
}

.about-content p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Contact */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem var(--space);
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer a {
  color: var(--text);
}
.site-footer a:hover {
  color: var(--accent);
}

.footer-copy {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
