@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/poppins-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/poppins-semibold.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/poppins-bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/poppins-extrabold.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/open-sans-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/open-sans-semibold.woff2') format('woff2');
}

:root {
  --primary: #0062cc;
  --primary-dark: #004a99;
  --primary-light: #e7f1ff;
  --accent: #f39c12;
  --accent-dark: #d35400;
  --dark: #1a202c;
  --dark-muted: #2d3748;
  --light: #f7fafc;
  --white: #ffffff;
  --text-main: #2d3748;
  --text-muted: #718096;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all .2s ease-in-out;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--white);
  overflow-x: hidden;
  height: auto;
}

h1, h2, h3, h4, .logo {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sticky-top {
  position: sticky;
  top: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: .75rem 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  color: var(--dark);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
  transition: var(--transition);
}

.logo a:hover {
  color: var(--primary);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
}

nav a:hover {
  color: var(--primary);
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--dark);
  margin: 4px 0;
  transition: var(--transition);
}

.hero, .resume-header {
  padding: 2rem 0;
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero h1, .resume-header h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--dark);
}

.hero p, .resume-intro {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 2.5rem;
}

.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  margin-left: 1rem;
}

.btn-outline:hover {
  background-color: var(--primary-light);
}

.btn-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  margin-top: auto;
  padding-top: 1rem;
  transition: var(--transition);
}

.btn-link:hover {
  color: var(--dark);
  text-decoration: underline;
}

section {
  padding: 1.5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--dark);
  font-weight: 700;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin: .75rem auto 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.resume-header {
  text-align: center;
  margin-bottom: 2rem;
}

.resume-intro {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.resume-container {
  max-width: 850px;
  margin: 0 auto;
}

.resume-item {
  position: relative;
  padding: 2rem;
  margin-bottom: 2rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.resume-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.resume-item.current {
  border-left: 5px solid var(--accent);
}

.resume-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.resume-date {
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

.resume-status {
  background: var(--accent);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.resume-role {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 .25rem 0;
  color: var(--dark);
}

.resume-company {
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: block;
}

.resume-details {
  color: var(--text-main);
  font-size: .95rem;
}

.resume-list {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

.resume-list li {
  margin-bottom: .5rem;
}

.quote {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  position: relative;
}

.quote::before {
  content: '“';
  font-size: 3rem;
  color: var(--primary-light);
  position: absolute;
  top: -20px;
  left: -10px;
  z-index: -1;
}

.author {
  font-weight: 700;
  color: var(--dark);
  text-align: right;
  font-size: .9rem;
}

.date {
  font-weight: 400;
  color: var(--text-muted);
  font-size: .8rem;
}

.logo-section {
  padding: 3rem 0 1rem 0;
  background-color: var(--white);
  overflow: hidden;
  position: relative;
}

.logo-carousel {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
  align-items: center;
  gap: 4rem;
}

.logo-placeholder {
  height: 40.5px;
  padding: 5px 45px;
  background-color: #808080;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 4px;
  opacity: .7;
  transition: var(--transition);
  white-space: nowrap;
}

.logo-placeholder:hover {
  opacity: 1;
  background-color: #696969;
}

.featured-in-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.metrics {
  background-color: var(--light);
  padding: 1rem 0 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.metric-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
}

.metric-label {
  display: block;
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.featured-testimonial {
  padding: 3rem 0;
  background-color: var(--white);
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  border-left: 4px solid var(--primary);
  background-color: var(--light);
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow-sm);
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.testimonial-author {
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
}

.ai-landscape {
  padding: 4rem 0;
  background-color: var(--white);
}

.landscape-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.8;
  color: var(--text-main);
}

.landscape-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.landscape-content strong {
  color: var(--dark);
  font-weight: 700;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-socials a {
  color: rgba(255, 255, 255, .6);
  font-size: 1.5rem;
  transition: var(--transition);
  display: inline-block;
}

.footer-socials a:hover {
  color: var(--white);
  transform: translateY(-3px);
}

footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 0;
  text-align: center;
  font-size: .9rem;
}

.footer-spacer {
  height: 400px;
  background-color: var(--white);
  width: 100%;
}

.about-legacy-wrapper {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.about-text {
  flex: 1;
}

.desktop-only-image {
  flex: 0 0 300px;
}

.headshot {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: block;
}

.headshot:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.mobile-only-image {
  display: none;
  margin: 2rem 0;
  text-align: center;
}

@media (max-width: 768px) {
  .about-legacy-wrapper {
    flex-direction: column;
  }
  .desktop-only-image {
    display: none;
  }
  .mobile-only-image {
    display: block;
  }
  .headshot {
    max-width: 100%;
    margin: 0 auto;
  }
  .container {
    padding: 0 1.25rem;
  }
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--white);
    padding: 1.5rem 0;
    gap: 1rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-color);
  }
  nav ul.show {
    display: flex;
  }
  nav a {
    color: var(--dark);
  }
  .hamburger-menu {
    display: block;
  }
  .bar {
    background-color: var(--dark);
  }
  .hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .hero {
    padding: 3rem 0;
  }
  .btn-outline {
    margin-left: 0;
    margin-top: 1rem;
    display: block;
    text-align: center;
  }
}