/* ===== ABOUT.HTML PAGE STYLES ===== */

/* ===== ABOUT PAGE ===== */
body { background: #f4f0e8; }

/* ===== STACK WRAPPER ===== */
.stack-wrapper {
  position: relative;
  /* Height = num panels * 100vh to give scroll room */
  height: 400vh;
}

.stack-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  background: #f4f0e8;
  /* Each panel overlays the previous via z-index + DOM order */
}

.stack-panel:nth-child(1) { z-index: 1; }
.stack-panel:nth-child(2) { z-index: 2; }
.stack-panel:nth-child(3) { z-index: 3; }

/* Panel card containers */
.panel-card {
  width: 100%;
  max-width: 1040px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.14), 0 8px 24px rgba(0,0,0,.06);
  transition: transform .6s cubic-bezier(.22,1,.36,1), box-shadow .6s ease;
}

/* Scale down effect when being "pushed" - handled by JS */
.panel-card.scaled {
  transform: scale(0.95) translateY(-20px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}

/* ===== PANEL 1: STORY ===== */
.panel-story {
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.panel-story-left {
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-section-label {
  display: inline-block;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 50px;
  padding: .3rem 1rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: #555;
  margin-bottom: 1.5rem;
}
.about-section-label.orange { color: var(--orange); border-color: rgba(232,103,26,.3); background: #fff5f0; }
.panel-story-left h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.2rem;
}
.panel-story-left p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 400px;
}
.btn-story {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--dark);
  color: #fff;
  padding: .8rem 1.8rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s;
  width: fit-content;
}
.btn-story:hover { background: var(--green); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(45,106,63,.25); }
.panel-story-right {
  position: relative;
  overflow: hidden;
  border-radius: 0 28px 28px 0;
}
.panel-story-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founding-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: #fff;
  border-radius: 14px;
  padding: .8rem 1.3rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.founding-year {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.founding-label { font-size: .72rem; color: var(--muted); margin-top: .2rem; }

/* ===== PANEL 2: MISSION ===== */
.panel-mission {
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.panel-mission-left {
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.panel-mission-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
}
.panel-mission-left p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 400px;
}
.mission-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}
.mstat {
  background: #f8f8f8;
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
}
.mstat strong {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: .25rem;
}
.mstat span { font-size: .75rem; color: var(--muted); }
.panel-mission-right {
  position: relative;
  overflow: hidden;
  border-radius: 0 28px 28px 0;
}
.panel-mission-right img { width: 100%; height: 100%; object-fit: cover; }

/* ===== PANEL 3: VALUES ===== */
.panel-values {
  background: #1f4d2a;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  min-height: 520px;
  align-items: center;
  border-radius: 28px;
}
.panel-values-left {
  padding: 4rem 3rem;
}
.panel-values-label {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .3rem 1rem;
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.5rem;
}
.panel-values-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.panel-values-left p {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
}
.panel-values-right {
  padding: 2.5rem 2.5rem 2.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.value-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 1.4rem;
  transition: all .3s;
  cursor: default;
}
.value-card:hover {
  background: rgba(255,255,255,.13);
  transform: translateY(-3px);
}
.value-icon { margin-bottom: .8rem; }
.value-icon svg { color: var(--orange); }
.value-card h4 { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.value-card p { font-size: .78rem; color: rgba(255,255,255,.65); line-height: 1.6; }

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  align-items: center;
}
.scroll-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,.15);
  cursor: pointer;
  transition: all .3s;
}
.scroll-dot.active { background: var(--dark); transform: scale(1.3); }

/* ===== BELOW STACK: Rest of about page ===== */
.about-rest {
  background: #f4f0e8;
  position: relative;
  z-index: 10;
}

/* ===== TEAM SECTION ===== */
.team-section {
  padding: 6rem 0;
  background: #fff;
}
.team-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; text-align: center; }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3rem; }
.team-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #f0f0f0;
  transition: all .3s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.team-img { height: 260px; overflow: hidden; }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-info { padding: 1.3rem; text-align: left; }
.team-info h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: .2rem; }
.team-role { font-size: .82rem; color: var(--green); font-weight: 600; margin-bottom: .5rem; }
.team-bio { font-size: .8rem; color: var(--muted); line-height: 1.6; }

/* ===== CTA SECTION ===== */
.cta-section { padding: 5rem 2rem; background: var(--green-pale); display: flex; justify-content: center; }
.cta-section { padding: 5rem 0; background: var(--green-pale); display: flex; justify-content: center; }
.cta-box { background: #1f4d2a; border-radius: 24px; padding: 3.5rem 3rem; max-width: 600px; width: 100%; text-align: center; position: relative; overflow: hidden; }
.cta-tag { display: inline-block; background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50px; padding: 0.35rem 1rem; font-size: 0.78rem; font-weight: 600; margin-bottom: 1.2rem; }
.cta-box h2 { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 0.8rem; }
.cta-orange { color: var(--orange); }
.cta-box > p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 1.8rem; line-height: 1.6; position: relative; z-index: 1; }
.cta-form { display: flex; gap: 0.75rem; max-width: 420px; margin: 0 auto 1rem; position: relative; z-index: 1; }
.cta-form input { flex: 1; padding: 0.75rem 1.2rem; border-radius: 50px; border: none; background: rgba(255, 255, 255, 0.15); color: #fff; font-size: 0.9rem; font-family: inherit; outline: none; }
.cta-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.cta-form input:focus { background: rgba(255, 255, 255, 0.2); }
.btn-orange { background: var(--orange); color: #fff; border: none; padding: 0.75rem 1.5rem; border-radius: 50px; font-size: 0.9rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all 0.2s; font-family: inherit; }
.btn-orange:hover { background: #d45a12; transform: translateY(-1px); }
.cta-note { font-size: 0.72rem; color: rgba(255, 255, 255, 0.45); position: relative; z-index: 1; }
.cb { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.04); pointer-events: none; }
.cb1 { width: 280px; height: 280px; bottom: -80px; left: -60px; }
.cb2 { width: 200px; height: 200px; top: -60px; right: -40px; }