/* ══════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════ */
.anim-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.25,0.46,0.45,0.94);
}

.anim-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.25,0.46,0.45,0.94);
}

.anim-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.25,0.46,0.45,0.94);
}

.anim-scale {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.25,0.46,0.45,0.94);
}

.anim-up.in, .anim-left.in, .anim-right.in, .anim-scale.in {
  opacity: 1;
  transform: none;
}

.d1 { transition-delay: 0.05s; }
.d2 { transition-delay: 0.12s; }
.d3 { transition-delay: 0.19s; }
.d4 { transition-delay: 0.26s; }
.d5 { transition-delay: 0.33s; }

/* ── Eyebrow dot pulse ── */
.eyebrow::before {
  animation: dotPulse 2.4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.5; }
}

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(249,248,245,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  height: 68px;
  transition: box-shadow 0.3s;
}

nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.nav-logo span { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* ══════════════════════════════════════════
   PAGE HERO — text only, dark with blobs
══════════════════════════════════════════ */
#page-hero {
  position: relative;
  min-height: 72vh;
  background: #006f1e;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}

.ph-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.ph-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 70%);
  top: -180px; right: -100px;
  animation: blobFloat 16s ease-in-out infinite;
}

.ph-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,0,0,0.12), transparent 70%);
  bottom: -80px; left: 5%;
  animation: blobFloat 20s ease-in-out infinite;
  animation-delay: -6s;
}

@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(28px,-18px) scale(1.06); }
  66% { transform: translate(-18px,14px) scale(0.95); }
}

.ph-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.ph-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 48px;
}

.ph-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.90);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  opacity: 0;
  animation: heroUp 0.8s ease forwards 0.2s;
}

.ph-eyebrow::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.ph-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 24px;
  max-width: 700px;
  opacity: 0;
  animation: heroUp 0.8s ease forwards 0.38s;
}

.ph-headline em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold) 0%, #ff9a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ph-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  max-width: 540px;
  line-height: 1.8;
  opacity: 0;
  animation: heroUp 0.8s ease forwards 0.55s;
}

@keyframes heroUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════
   MISSION SECTION
══════════════════════════════════════════ */
#mission {
  background: var(--bg-alt);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.01em;
  position: relative;
  padding-top: 28px;
}

.mission-quote::before {
  content: '\201C';
  position: absolute;
  top: -8px; left: 0;
  font-size: 80px;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--gold);
  opacity: 0.4;
  pointer-events: none;
}

.mission-quote em {
  font-style: italic;
  color: var(--green);
}

.mission-pillars {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.mission-pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}

.mission-pillar:hover {
  border-color: rgba(0,184,46,0.22);
  box-shadow: inset 3px 0 0 var(--green), 0 4px 18px rgba(0,184,46,0.08);
  transform: translateX(5px);
}

.mp-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(0,184,46,0.13), rgba(0,184,46,0.05));
  border: 1px solid rgba(0,184,46,0.20);
  box-shadow: 0 2px 8px rgba(0,184,46,0.08), inset 0 1px 0 rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
}

.mission-pillar:hover .mp-icon {
  transform: scale(1.18) rotate(-6deg);
  box-shadow: 0 6px 20px rgba(0,184,46,0.20), inset 0 1px 0 rgba(255,255,255,0.85);
}

.mp-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.mp-text span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   STORY / TIMELINE
══════════════════════════════════════════ */
#story {
  background: var(--bg);
}

.story-header {
  max-width: 640px;
  margin-bottom: 72px;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green) 0%, rgba(0,184,46,0.1) 100%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding-bottom: 52px;
  position: relative;
}

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

.tl-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 0 0 5px var(--bg);
  transition: box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.timeline-item:hover .tl-dot {
  transform: scale(1.15);
  box-shadow: 0 0 0 5px var(--bg), 0 4px 20px rgba(0,184,46,0.28);
}

.tl-year {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tl-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.tl-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
}

/* ══════════════════════════════════════════
   LEADERSHIP TEAM
══════════════════════════════════════════ */
#team {
  background: var(--bg-alt);
}

.team-header {
  text-align: center;
  margin-bottom: 64px;
}

.team-header .section-body { margin: 0 auto; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.38s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.38s ease, border-color 0.3s;
  position: relative;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--gold) 50%, var(--green) 100%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.35s;
  animation: shimmerGrad 3s linear infinite paused;
}

.team-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes shimmerGrad {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.team-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 52px rgba(0,0,0,0.09), 0 4px 16px rgba(0,184,46,0.09);
  border-color: rgba(0,184,46,0.16);
}

.team-avatar {
  height: 220px;
  background: linear-gradient(135deg, #0A1828 0%, #1e2d42 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,14,20,0.6), transparent 60%);
}

.team-avatar-initials {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 56px;
  font-weight: 600;
  color: rgba(255,255,255,0.18);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.team-avatar-ring {
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(0,184,46,0.25);
  z-index: 1;
}

.team-body {
  padding: 24px 24px 28px;
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.team-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.team-bio {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 18px;
}

.team-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: rgba(10,14,20,0.45);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.team-location::before {
  content: '📍';
  font-size: 12px;
}

/* ══════════════════════════════════════════
   VALUES
══════════════════════════════════════════ */
#values {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#values .ph-blob-1, #values .ph-blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.values-inner {
  position: relative;
  z-index: 2;
}

.values-header {
  text-align: center;
  margin-bottom: 64px;
}

.values-header .eyebrow {
  color: var(--gold);
  background: rgba(255,204,51,0.12);
  border-color: rgba(255,204,51,0.28);
}

.values-header .section-heading { color: #fff; }

.values-header .section-body { color: rgba(255,255,255,0.55); margin: 0 auto; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 36px 28px;
  transition: background 0.3s, border-color 0.3s, transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  position: relative;
  overflow: hidden;
}

.value-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--green), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.value-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(0,184,46,0.28);
  transform: translateY(-5px);
}

.value-card:hover::after { transform: scaleX(1); }

.value-icon {
  font-size: 32px;
  margin-bottom: 20px;
  display: block;
}

.value-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.value-body {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.78;
}

/* ══════════════════════════════════════════
   OFFICES
══════════════════════════════════════════ */
#offices {
  background: var(--bg);
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.office-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}

.office-card:hover {
  border-color: rgba(0,184,46,0.22);
  box-shadow: 0 8px 32px rgba(0,184,46,0.08);
  transform: translateY(-4px);
}

.office-flag {
  font-size: 36px;
  margin-bottom: 20px;
  display: block;
}

.office-city {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.office-region {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 18px;
}

.office-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.office-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.office-detail-list li {
  font-size: 13px;
  color: rgba(10,14,20,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.office-detail-list li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════ */
#cta-banner {
  background: var(--green);
  padding: 80px 0;
}

.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-text h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.cta-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

.btn-white {
  background: #fff;
  color: var(--green);
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(0,0,0,0.14);
  padding: 14px 28px;
  border-radius: 8px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.btn-white::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,184,46,0.10), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
}

.btn-white:hover::before { left: 140%; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.18); }

.btn-ghost-white {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-ghost-white:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.55);
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: var(--green);
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.16);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.footer-logo span { color: rgba(255,255,255,0.65); }

.footer-links { display: flex; gap: 28px; list-style: none; }

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.48);
}

/* ══════════════════════════════════════════
   HAMBURGER BUTTON
══════════════════════════════════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════
   TABLET — 1024px
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  section { padding: 80px 0; }

  /* Mission */
  .mission-grid { grid-template-columns: 1fr; gap: 48px; }

  /* Team */
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  /* Values */
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  /* Offices */
  .offices-grid { grid-template-columns: repeat(2, 1fr); }

  /* CTA */
  .cta-inner { flex-direction: column; gap: 32px; align-items: flex-start; }
  .cta-actions { flex-shrink: unset; }
}

/* ══════════════════════════════════════════
   MOBILE — 768px
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  section { padding: 60px 0; }

  /* Nav */
  .nav-inner { padding: 0 18px; }
  .nav-cta-btn { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(249,248,245,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 20px;
    border-bottom: 1px solid rgba(10,14,20,0.08);
    z-index: 999;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 13px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(10,14,20,0.08);
  }
  .nav-links li:last-child a { border-bottom: none; }

  /* Page hero */
  .ph-content { padding: 52px 18px 48px; }
  .ph-headline { font-size: clamp(28px, 8vw, 48px); }

  /* Mission */
  .mission-grid { gap: 36px; }
  .mission-image { height: 240px; }

  /* Timeline */
  .timeline-item { grid-template-columns: 44px 1fr; gap: 16px; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; }

  /* Offices */
  .offices-grid { grid-template-columns: 1fr; }

  /* CTA inner */
  .cta-inner { padding: 0 18px; gap: 24px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; text-align: center; justify-content: center; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 0 18px; }
  .footer-links { flex-wrap: wrap; gap: 14px; }
}

/* ══════════════════════════════════════════
   SMALL MOBILE — 480px
══════════════════════════════════════════ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .footer-inner { padding: 0 16px; }
  .ph-content { padding: 40px 16px 36px; }
}
