@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --color-navy: #0B1F3A;
  --color-forest: #094d36;
  --color-cream: #F5F3EE;
  --color-charcoal: #1a1a1a;
  --color-gray: #6B7280;
  --color-border: #e2e0da;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-cream);
  color: var(--color-charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 243, 238, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

nav.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 60px;
  /* Adjust height as needed */
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--color-charcoal);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.nav-links a.btn {
  color: white;
  opacity: 1;
}

.nav-links a:hover {
  opacity: 1;
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: white;
  color: var(--color-charcoal);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
  background: var(--color-forest);
  color: white;
  border-color: var(--color-forest);
}

.btn-pill-dark {
  background-color: var(--color-forest);
  color: white;
}

.btn-pill-dark:hover {
  background-color: #0a5e42;
  color: white;
  transform: translateY(-1px);
}

.btn-arrow {
  background: var(--color-forest);
  color: white;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ─── HERO ─────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 40px;
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center top;
  will-change: transform;
}

.layer-bg {
  z-index: 1;
}

.layer-overlay {
  z-index: 2;
  background: linear-gradient(to bottom,
      rgba(245, 243, 238, 0.15) 0%,
      rgba(245, 243, 238, 0.0) 40%,
      rgba(245, 243, 238, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 780px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-forest);
  margin-bottom: 28px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.08;
  font-weight: 400;
  color: var(--color-navy);
  margin-bottom: 24px;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--color-forest);
}

.hero-content .hero-sub {
  font-size: 1.05rem;
  color: var(--color-charcoal);
  opacity: 0.75;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── LAYOUT HELPERS ──────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 100px 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-forest);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--color-navy);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-body {
  font-size: 1rem;
  color: var(--color-gray);
  line-height: 1.7;
  max-width: 540px;
}

/* ─── VALUE GRID ──────────────────────────────────── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background-color: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 60px;
}

.value-card {
  background: var(--color-cream);
  padding: 40px 32px;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.value-card:hover {
  background: white;
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.value-icon {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-forest);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.value-icon svg {
  width: 24px;
  height: 24px;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--color-gray);
  line-height: 1.6;
}

/* ─── CRITERIA SECTION ───────────────────────────── */
#criteria {
  background-color: var(--color-navy);
  color: white;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.criteria-item h4 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7aae96;
  margin-bottom: 10px;
}

.criteria-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}

/* ─── PROCESS VERTICAL ────────────────────────────── */
.process-vertical {
  max-width: 900px;
  margin: 60px auto 0;
  position: relative;
  padding-left: 40px;
}

.process-vertical::before {
  content: '';
  position: absolute;
  left: 59px;
  /* Center of 40px number (at padding-left: 40px) */
  top: 10px;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.process-step {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step .step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--color-cream);
  border: 2px solid var(--color-forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-forest);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 8px var(--color-cream);
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.step-content p {
  font-size: 1rem;
  color: var(--color-gray);
  line-height: 1.6;
}

/* ─── TEAM SECTION ────────────────────────────────── */
#about {
  background-color: white;
}

.team-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: center;
  margin-bottom: 80px;
}

.team-subheader {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--color-navy);
  margin-bottom: 24px;
  line-height: 1.2;
}

.team-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-gray);
}

.team-hero-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.team-capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 60px;
  background: white;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  margin-bottom: 100px;
  /* Increased spacing to portraits */
}

.capability-block .section-label {
  margin-bottom: 32px;
  display: block;
}

.capabilities-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.capabilities-list li {
  display: flex;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  line-height: 1.6;
}

.cap-icon {
  color: var(--color-forest);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.founder-card {
  display: flex;
  flex-direction: column;
}

.founder-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.founder-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  flex-shrink: 0;
  filter: none;
  /* Removed grayscale */
}

.founder-header-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.founder-header-info .founder-role {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5a708a;
  /* Specialized slate/gray color from image */
  margin-bottom: 0;
}

.founder-bio {
  font-size: 0.95rem;
  color: var(--color-gray);
  line-height: 1.6;
  text-align: justify;
  hyphens: auto;
  margin-bottom: 20px;
}

.founder-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.founder-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-charcoal);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.founder-contact-item:hover {
  opacity: 1;
  color: var(--color-forest);
}

.founder-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ─── FINAL CTA ──────────────────────────────────── */
#contact {
  background-color: var(--color-navy);
  text-align: center;
  color: white;
}

#contact .section-title {
  color: white;
}

#contact .section-body {
  color: rgba(255, 255, 255, 0.65);
  margin: 0 auto 40px;
}

/* ─── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--color-cream);
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .foot-links {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--color-gray);
}

footer .foot-links a {
  text-decoration: none;
  color: inherit;
}

footer .foot-links a:hover {
  color: var(--color-charcoal);
}

/* ─── MOBILE TOGGLE ────────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--color-navy);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

/* ─── MEDIA QUERIES ────────────────────────────────── */
@media screen and (max-width: 992px) {
  .team-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media screen and (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  nav.container {
    padding: 15px 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--color-cream);
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    transition: 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links .btn {
    width: 100%;
    justify-content: center;
  }

  .value-grid,
  .criteria-grid {
    grid-template-columns: 1fr !important;
    margin-top: 30px;
  }

  .process-vertical {
    padding-left: 0;
    margin-top: 40px;
  }

  .process-vertical::before {
    left: 19px;
  }

  .process-step {
    gap: 20px;
  }

  .team-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-intro-content {
    order: 2;
  }

  .team-intro-image-wrapper {
    order: 1;
  }

  .team-capabilities-grid {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 40px;
  }

  .capability-block .section-label {
    margin-bottom: 20px;
  }

  .logo img {
    height: 45px;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
  }
}

@media screen and (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.5rem !important;
  }

  .section-title {
    font-size: 1.8rem !important;
  }

  .founder-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeUp 0.9s ease both;
}