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

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

:root {
  --green:       #355e3b;
  --green-dark:  #1e3d23;
  --green-light: #4a7850;
  --cream:       #f2f5f2;
  --white:       #ffffff;
  --text:        #1a2e1c;
  --text-muted:  #4a6350;
  --nav-h:       60px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}

/* === LAYOUT === */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: var(--green-dark);
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: stretch;
  gap:1.5rem;
}

.nav-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  list-style: none;
  flex: 1;
  display: flex;
  align-items: stretch;
  height: 100%;
  justify-content: flex-end;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links li { display: flex; align-items: stretch; }

.nav-link {
  display: flex;
  align-items: center;
  padding: 0 0.9rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover { color: rgba(255,255,255,0.9); }

.nav-login-btn {
  display: flex-end;
  align-items: center;
  align-self: center;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 3px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}

.nav-login-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}

/* === NAV HAMBURGER === */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav--open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav-hamburger span:nth-child(2) { opacity: 0; }
.nav--open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 600px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    background: var(--green-dark);
    padding: 0.5rem 0 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    overflow-x: visible;
  }

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

  .nav-links li { width: 100%; }

  .nav-link {
    padding: 0.75rem 1.5rem;
    justify-content: flex-start;
    border-bottom: none;
    border-left: 3px solid transparent;
  }

  .nav-link:hover { border-left-color: rgba(255,255,255,0.4); }

  .nav-links li:last-child { padding: 0.5rem 1.5rem 0; }

  .nav-login-btn {
    display: inline-flex;
    margin: 0 1.5rem;
    align-self: flex-start;
  }
}

/* === HERO === */
.hero {
  min-height: 50vh;
  padding-top: 30px;
}

.hero-text {
  flex: 1;
  background: radial-gradient(ellipse at 40% 60%, var(--green-light) 0%, var(--green) 50%, var(--green-dark) 100%);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  padding: 4rem 5%;
  position: relative;
  overflow: hidden;
}

.hero-text::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.018) 60px,
    rgba(255,255,255,0.018) 120px
  );
  pointer-events: none;
}

.hero-copy {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4rem;
}

.hero-summary-box {
  background: rgba(255,255,255,0.0);
  border: 1px solid rgba(255,255,255,0.0);
  border-radius: 6px;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 420px;
}

.hero-summary {
  font-size: 1rem;
  line-height: 1.8;
  justify-content: right;
  color: rgba(255,255,255,0.8);
}

.hero-image {
  width: 340px;
  max-width: 100%;
  max-height: 400px;
  height: auto;
  align-self: center;
  flex-shrink: 0;
}

.hero-logo {
  height: 240px;
  width: auto;
  object-fit: contain;
}

.hero-headline {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  color: var(--white);
  letter-spacing: 0.1em;
  font-weight: 400;
  white-space: nowrap;
}

.hero-sub {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.75;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  max-width: 420px;
  text-align: center;
  align-self: center;
}

@media (max-width: 768px) {
  .hero-text { flex-direction: column; padding: 3rem 2rem; gap: 2rem; }
  .hero-copy { width: 100%; justify-content: center; align-items: center; }
  .hero-image { width: 220px; }
  .hero-summary-box { max-width: 100%; padding: 1.5rem; text-align: center; }
}

/* === BUTTON === */
.btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--white);
  color: var(--white);
  text-decoration: none;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--white);
  color: var(--green);
}

.btn--green {
  border-color: var(--green);
  color: var(--green);
}

.btn--green:hover {
  background: var(--green);
  color: var(--white);
}

/* === SECTIONS === */
.section {
  padding: 3rem 0;
  background: var(--cream);
}

.section--green {
  background: var(--green);
}

.section--green .section-title,
.section--green .section-body {
  color: var(--white);
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.04em;
  text-align: center;
  font-weight: 400;
  color: var(--green-dark);
}

.section-body {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.divider {
  width: 48px;
  height: 2px;
  background: var(--green);
  margin: 1.25rem auto 2.5rem;
}

.divider--light {
  background: rgba(255,255,255,0.5);
}

/* === CARDS === */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
  align-self: center;
}

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid #d0dbd0;
  border-radius: 4px;
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--text);
}

.card-icon {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--green);
}

.card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  color: var(--green-dark);
}

.card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* === TEAM === */
.team-grid {
  display: grid;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.team-card {
  background: var(--white);
  border: 1px solid #d0dbd0;
  border-radius: 4px;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 350px;
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.team-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
  color: var(--green-dark);
}

.team-title {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.team-headshot {
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  border: 3px solid var(--green);
  margin: 0 auto 1.25rem;
  display: block;
}

.team-headline {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.team-bio-link {
  display: inline-block;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid var(--green-light);
  transition: color 0.2s, border-color 0.2s;
}

.team-bio-link:hover { color: var(--green-dark); border-color: var(--green-dark); }

.team-full-bio {
  margin-top: 1rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-muted);
  text-align: left;
  border-top: 1px solid #d0dbd0;
  padding-top: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--green);
  transition: color 0.2s, transform 0.2s;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  color: var(--green-dark);
  transform: translateY(-2px);
}

/* === RESEARCH === */
.research-more {
  text-align: center;
  margin-top: 2.5rem;
}

.research-more-link {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--green-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.research-more-link:hover { color: var(--green); border-color: var(--green-light); }

.section--green .research-more-link {
  color: rgba(255,255,255,0.8);
  border-bottom-color: rgba(255,255,255,0.4);
}

.section--green .research-more-link:hover {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.8);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.research-item {
  background: var(--white);
  border: 1px solid #d0dbd0;
  border-radius: 4px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.research-tag {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
}

.research-item h3 {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--green-dark);
}

.research-item p {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
  flex: 1;
}

.research-link {
  margin-top: 0.5rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid var(--green-light);
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}

.research-link span {
  font-size: 0.72rem;
  opacity: 0.7;
}

.research-link:hover { color: var(--green-dark); border-color: var(--green-dark); }

/* === CONTACT === */
#contact {
  padding: 0;
}

.contact-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
}

.contact-image {
  overflow: hidden;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.contact-right {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 5%;
}

.contact-content .section-body {
  margin-bottom: 2rem;
}

.contact-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 5%;
}

.contact-about .team-grid {
  margin-top: 0;
}

@media (max-width: 768px) {
  .contact-two-col { grid-template-columns: 1fr; }
  .contact-image { position: relative; height: auto; min-height: 260px; }
}

/* === FOOTER === */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 2.5rem 1rem;
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.footer p {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .nav-links { gap: 1.25rem; }
  .nav-links a { font-size: 0.75rem; }
  .hero-logo { width: 160px; }
  .section { padding: 4rem 0; }
}
