@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700;800;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --green: #2d6a4f;
  --green-light: #52b788;
  --green-pale: #d8f3dc;
  --cream: #f8f4ee;
  --dark: #1a1a1a;
  --mid: #4a4a4a;
  --accent: #95d5b2;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: rgba(248,244,238,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45,106,79,0.12);
}

.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--green); }
.nav-links a.active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
}

/* ── SHARED HELPERS ── */
.kicker {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.kicker::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--green);
}

.kicker.light { color: var(--accent); }
.kicker.light::before { background: var(--accent); }

.kicker.center {
  justify-content: center;
}
.kicker.center::before { display: none; }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag {
  background: var(--green-pale);
  border: 1px solid var(--accent);
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 40px;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 48px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo img {
  height: 32px;
}

.footer-text {
  font-size: 13px;
  opacity: 0.4;
  text-align: right;
  line-height: 1.7;
}

/* ════════════════════════════
   HOME
════════════════════════════ */
.hero {
  min-height: calc(100vh - 80px);
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 60px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(82,183,136,0.13) 0%, transparent 70%);
  pointer-events: none;
}

.hero-text { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(52px, 5.5vw, 84px);
  font-weight: 900;
  line-height: 1.0;
  color: var(--dark);
  margin-bottom: 28px;
}

.hero h1 span { color: var(--green); }

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--mid);
  max-width: 460px;
  margin-bottom: 36px;
}

.brophy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-pale);
  border: 1px solid var(--accent);
  border-radius: 40px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
}

.hero-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.hero-img-main {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(45,106,79,0.16);
  aspect-ratio: 4/3;
  transform: rotate(1deg);
  transition: transform 0.4s ease;
}

.hero-img-main:hover { transform: rotate(0deg) scale(1.01); }

.hero-img-main img,
.hero-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-img-secondary {
  width: 62%;
  align-self: flex-end;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(45,106,79,0.13);
  aspect-ratio: 4/3;
  transform: rotate(-1.5deg);
  margin-top: -44px;
  transition: transform 0.4s ease;
}

.hero-img-secondary:hover { transform: rotate(0deg) scale(1.01); }

.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--green);
  padding: 52px 60px;
}

.stat { text-align: center; color: var(--white); padding: 16px 20px; }

.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  opacity: 0.82;
  max-width: 200px;
  margin: 0 auto;
}

.mission {
  padding: 100px 60px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.mission h2 {
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.mission p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--mid);
}

/* ════════════════════════════
   ABOUT
════════════════════════════ */
.about-hero {
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.about-hero-img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0; left: 0;
}

.about-hero-overlay {
  position: relative;
  z-index: 1;
  padding: 100px 60px 120px;
  background: linear-gradient(to bottom, rgba(20,50,35,0.62) 0%, rgba(20,50,35,0.72) 100%);
}

.about-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 2;
}

.about-hero h2 {
  font-size: clamp(38px, 4.5vw, 66px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 22px;
  max-width: 700px;
}

.about-hero p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.88;
  max-width: 580px;
}

.about-body { padding: 80px 60px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.about-grid.reverse {
  direction: rtl;
}
.about-grid.reverse > * { direction: ltr; }

.about-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(45,106,79,0.13);
  aspect-ratio: 4/3;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.about-text p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 14px;
}

.tech-section {
  background: var(--dark);
  border-radius: 24px;
  padding: 60px;
  color: var(--white);
  margin-bottom: 80px;
}

.tech-section h3 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 36px;
  color: var(--accent);
}

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

.tech-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.tech-item p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.58);
}

.impact-section {
  text-align: center;
  padding: 60px 0 20px;
}

.impact-section h3 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
}

.impact-section p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--mid);
  max-width: 680px;
  margin: 0 auto;
}

/* ════════════════════════════
   FOUNDERS
════════════════════════════ */
.founders-hero {
  margin-top: 80px;
  padding: 80px 60px 48px;
  border-bottom: 1px solid rgba(45,106,79,0.1);
}

.founders-hero h2 {
  font-size: clamp(44px, 5vw, 74px);
  font-weight: 900;
  line-height: 1.05;
}

.founders-hero h2 em {
  font-style: italic;
  color: var(--green);
}

.founders-hero p {
  font-size: 17px;
  font-weight: 300;
  color: var(--mid);
  max-width: 520px;
  line-height: 1.7;
  margin-top: 20px;
}

.founders-grid {
  padding: 72px 60px 80px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.founder-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(45,106,79,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(45,106,79,0.14);
}

.founder-img {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--green-pale);
}

.founder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.founder-card:hover .founder-img img { transform: scale(1.04); }

.founder-info {
  padding: 28px 32px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.founder-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}

.founder-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--dark);
}

.founder-class {
  font-size: 13px;
  color: var(--mid);
  font-weight: 400;
  margin-bottom: 16px;
  opacity: 0.65;
}

.founder-bio {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--mid);
}

/* ════════════════════════════
   CONTACT
════════════════════════════ */
.contact-hero {
  margin-top: 80px;
  background: var(--green);
  padding: 100px 60px 100px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.contact-hero h2 {
  font-size: clamp(38px, 4.5vw, 66px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.contact-hero p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.87;
  max-width: 540px;
}

.contact-body {
  padding: 80px 60px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-team h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 32px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 18px rgba(45,106,79,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(45,106,79,0.13);
}

.contact-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--green-pale);
}

.contact-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.contact-card-info { flex: 1; }

.contact-card-name {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 3px;
}

.contact-card-role {
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-card-email {
  font-size: 14px;
  font-weight: 300;
  color: var(--mid);
}

.contact-arrow {
  font-size: 18px;
  color: var(--green-light);
  opacity: 0.6;
}

.contact-info-panel h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-info-panel p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-detail-text span {
  font-size: 14px;
  font-weight: 300;
  color: var(--mid);
}

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { gap: 20px; }

  .hero { grid-template-columns: 1fr; padding: 40px 24px 60px; margin-top: 80px; }
  .hero-img-secondary { display: none; }

  .stats-bar { grid-template-columns: 1fr; padding: 40px 24px; }
  .mission { padding: 60px 24px; }

  .about-hero-overlay { padding: 80px 24px 90px; }
  .about-body { padding: 48px 24px; }
  .about-grid, .about-grid.reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; }
  .tech-section { padding: 40px 24px; }
  .tech-grid { grid-template-columns: 1fr; }

  .founders-hero { padding: 60px 24px 32px; }
  .founders-grid { grid-template-columns: 1fr; padding: 40px 24px; }

  .contact-hero { padding: 80px 24px 90px; }
  .contact-body { grid-template-columns: 1fr; padding: 48px 24px 80px; gap: 48px; }

  footer { flex-direction: column; gap: 20px; padding: 40px 24px; text-align: center; }
  .footer-text { text-align: center; }
}

/* ════════════════════════════
   BLOG
════════════════════════════ */
.blog-hero {
  margin-top: 80px;
  background: var(--green);
  padding: 100px 60px 100px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.blog-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.blog-hero h2 {
  font-size: clamp(38px, 4.5vw, 66px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.blog-hero p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.87;
  max-width: 540px;
}

.blog-body {
  padding: 80px 60px 100px;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.blog-post {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 6px 28px rgba(45,106,79,0.08);
}

.blog-post-locked {
  opacity: 0.6;
  pointer-events: none;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.blog-date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.blog-post-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--dark);
  line-height: 1.2;
}

.blog-post-body p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--mid);
  margin-bottom: 18px;
}

.blog-post-body p:last-child { margin-bottom: 0; }

.blog-post-authors {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(45,106,79,0.1);
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
}

.blog-post-preview p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 20px;
}

.blog-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  background: var(--green-pale);
  border: 1px solid var(--accent);
  padding: 8px 16px;
  border-radius: 40px;
}

@media (max-width: 900px) {
  .blog-hero { padding: 80px 24px 90px; }
  .blog-body { padding: 48px 24px 80px; }
  .blog-post { padding: 32px 24px; }
}