/* ============================================================
   ABOUT PAGE + TIMELINE + LEADERSHIP TEAM
   Extracted from the main style.css to cut unused CSS weight on
   every OTHER page - this file now loads ONLY on its own template,
   enqueued conditionally in functions.php. See that file's comment
   for the full explanation (PageSpeed Insights 'Reduce unused CSS'
   finding).
   ============================================================ */

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-page { --about-max: 1440px; --about-pad: 40px; }
.about-page .container { max-width: var(--about-max); padding-inline: var(--about-pad); }

/* Green band holds the text + extra space below where the image overlaps */
.about-hero { position: relative; background: linear-gradient(180deg, #EFF5F0 0%, #E8F1EA 100%); padding: 46px 0 170px; text-align: center; overflow: hidden; margin-bottom: 80px; }
.about-wheat { position: absolute; bottom: 0px; width: auto; height: auto; opacity: 0.5; z-index: 0; pointer-events: none; }
.about-wheat-left  { left: 10%; }
.about-wheat-right { right: 10%; transform: scaleX(-1); }
.about-hero .container { position: relative; z-index: 1; }
.about-eyebrow { font-size: 17px; font-weight: 600; color: var(--gold); margin-bottom: 12px; }
.about-title { font-family: var(--font-heading); font-size: clamp(30px, 3.6vw, 35px); font-weight: 500; color: var(--text-dark); line-height: 1.25; margin-bottom: 16px; }
.about-title .text-green { color: var(--green-mid); font-weight: 700; }
.about-lead { font-size: 18px; color: var(--text-body); max-width: 640px; margin: 0 auto; line-height: 1.7; }

/* Image sits on white and is pulled up into the band so the band cuts across its top */
.about-hero-media { margin-top: -190px; position: relative; z-index: 2; }
.about-hero-img { border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px -20px rgba(12,40,24,0.30); aspect-ratio: 1200 / 560; max-width: 825px; margin:auto}
.about-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.about-content { padding: 80px 0; background: var(--white); }
.about-content-inner { max-width: 820px; margin-inline: auto; }
.about-content-inner p { color: var(--text-body); line-height: 1.9; margin-bottom: 18px; }
.about-content-inner h2, .about-content-inner h3 { font-family: var(--font-heading); color: var(--text-dark); margin: 28px 0 14px; }

/* Why We Exist */
.about-purpose { padding: 70px 0 90px; background: var(--white); }
.about-purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ap-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.ap-dash { width: 30px; height: 1.5px; background: currentColor; display: inline-block; }
.ap-title { font-family: var(--font-heading); font-size: clamp(28px, 2.8vw, 35px); font-weight: 700; color: var(--text-dark); margin-bottom: 22px; }
.ap-text .ap-eyebrow {color: var(--gold); font-size: 11px;}
.ap-text p { font-size: 18px; font-weight: 300; color: var(--text-body); line-height: 1.85; margin-bottom: 18px; }
.ap-text p:last-child { margin-bottom: 0; }
.ap-text p b, .ap-text p strong { color: var(--text-dark); font-weight: 600; }

/* Promise card */
.ap-card { position: relative; overflow: hidden; background: #0A5634; color: #fff; border-radius: 22px; padding: 44px 44px 40px; height: 100%; }
.ap-quote-mark { font-family: var(--font-heading); font-size: 62px; font-weight: 700; color: var(--gold-light); line-height: 0.6; display: block; margin-bottom: 20px; }
.ap-leaf { position: absolute; right: 8px; bottom: 0; width: 120px; pointer-events: none; }
.ap-leaf svg { width: 100%; height: auto; }
.ap-quote { position: relative; z-index: 1; font-size: clamp(22px, 2.2vw, 26px); font-weight: 400; line-height: 1.5; color: #fff; margin-bottom: 54px; }
.ap-tag { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); }
.ap-tag .ap-dash { background: var(--gold-light); width: 30px; }

/* ============================================================
   ABOUT TIMELINE (Our Journey)
   ============================================================ */
.about-timeline { position: relative; padding: 70px 0 90px; background: var(--white); }
/* Bottom-corner plants: FIXED to the viewport corners, shown only while the
   timeline is on screen (toggled via .is-active by JS). Only the timeline scrolls. */
.tl-plant { position: fixed; bottom: 0; width: 150px; height: 150px; z-index: 5; pointer-events: none; user-select: none; opacity: 0; transition: opacity 0.4s ease; }
.tl-plant-left  { left: 0; }
.tl-plant-right { right: 0; transform: scaleX(-1); }
.about-timeline.is-active .tl-plant { opacity: 1; }
.about-timeline .container { position: relative; z-index: 2; }

.tl-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.tl-eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--green-mid); margin-bottom: 16px; }
.tl-dash { width: 30px; height: 1.5px; background: currentColor; display: inline-block; }
.tl-title { font-family: var(--font-heading); font-size: clamp(28px, 3.2vw, 40px); font-weight: 500; color: var(--text-dark); line-height: 1.25; margin-bottom: 16px; }
.tl-title .text-green { color: var(--green-mid); font-weight: 700; }
.tl-lead { font-size: 17px; color: var(--text-body); line-height: 1.7; }

/* Track with the center line */
.tl-track { position: relative; }
.tl-line { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 2px; background: #D4D4D4; z-index: 0; }
.tl-progress { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 2px; height: 0; background: #1C8A59; z-index: 1; }

.tl-item { position: relative; width: 50%; box-sizing: border-box; margin-bottom: 40px; }
.tl-item-left  { padding-right: 56px; }
.tl-item-right { padding-left: 56px; margin-left: 50%; }

/* Node dot on the center line */
.tl-dot { position: absolute; top: 40px; width: 16px; height: 16px; border-radius: 50%; background: #D99A2B; border: 4px solid var(--white); box-shadow: 0 0 0 3px var(--green-mid); z-index: 1; }
.tl-item-left  .tl-dot { right: -8px; }
.tl-item-right .tl-dot { left: -8px; }

/* Card */
.tl-card { position: relative; overflow: hidden; background: #FBFCFA; border-radius: 16px; border:1px solid #DDE6DD; padding: 28px 30px; max-width: 430px; }
/* Left cards hug the center line (mirror the right side) */
.tl-item-left  .tl-card { margin-left: auto; }
.tl-item-right .tl-card { margin-right: auto; }
.tl-ghost { position: absolute; top: 10px; right: 20px; font-family: var(--font-heading); font-size: 62px; font-weight: 700; color: rgba(20,64,31,0.05); line-height: 1; pointer-events: none; }
.tl-item-left  .tl-ghost { font-size: 62px; }
.tl-item-right .tl-ghost { font-size: 52px; }
.tl-year { font-size: 18px; font-weight: 600; color: var(--gold); }
.tl-card-title { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--green-mid); margin: 0px 0 14px; line-height: 1.3; }
.tl-card-text { font-size: 16px; color: var(--text-body); line-height: 1.4; }
.tl-card-text strong { color: var(--text-dark); font-weight: 700; }

@media (max-width: 768px) {
	.about-timeline { padding: 50px 0 70px; }
	.tl-plant { display: none; } /* fixed-position corner art overlaps the timeline cards on narrow screens */
	.tl-line { left: 8px; } 
	.tl-progress { left: 8px; }
	.tl-item, .tl-item-left, .tl-item-right { width: 100%; margin-left: 0; padding-left: 34px; padding-right: 0; }
	.tl-item-left .tl-dot, .tl-item-right .tl-dot { left: 1px; right: auto; }
	.tl-ghost { font-size: 46px; }
	/* .stats-desc's rule that used to be here moved to the main style.css -
	   it's used on the home page (front-page.php's STATS section), not
	   the About page; it had been swept in here by mistake. */
}

@media (max-width: 900px) {
	.about-wheat { width: 44px; top: 100px; opacity: 0.4; }
	.about-wheat-left  { left: 3%; }
	.about-wheat-right { right: 3%; }
}

/* ============================================================
   LEADERSHIP TEAM
   ============================================================ */
.about-team { padding: 80px 0 90px; background: #F4F8F4; }
.team-head { text-align: center; max-width: 820px; margin: 0 auto 44px; }
.team-eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--green-mid); margin-bottom: 14px; }
.team-title { font-family: var(--font-heading); font-size: clamp(28px, 3.2vw, 35px); font-weight: 500; color: var(--text-dark); margin-bottom: 16px; }
.team-title .text-green { color: var(--green-mid); font-weight: 700; }
.team-lead { font-size: 18px; color: var(--text-body); line-height: 1.7; }

.team-grid { display: grid; gap: 28px; }
.team-grid-leaders { grid-template-columns: repeat(3, 1fr); }
.team-grid-members { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }

.team-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 18px; overflow: hidden; box-shadow: 0 12px 34px -20px rgba(12,40,24,0.20); transition: var(--transition); }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -20px rgba(12,40,24,0.30); }
.team-card-img { aspect-ratio: 1 / 0.92; overflow: hidden; background: #EAF3EC; }
.team-card-sm .team-card-img { aspect-ratio: 1 / 0.78; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card-body { padding: 20px 22px 24px; }
.team-badge-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.team-badge { display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase; color: var(--gold); background: #FBF3E4; border-radius: 6px; padding: 4px 10px; }
.team-badge-grey { color: var(--green-mid); background: var(--green-pale); }
.team-linkedin { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding:2px; border-radius: 10px; background: #fff; border: 1.5px solid #0A66C2; flex-shrink: 0; transition: var(--transition); }
.team-linkedin-badge { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 7px; background: #0A66C2; transition: var(--transition); }
.team-linkedin-badge svg { width: 14px; height: 14px; }
.team-linkedin:hover { border-color: #004182; }
.team-linkedin:hover .team-linkedin-badge { background: #004182; }
.team-name { font-family: var(--font-heading); font-size: 22px; font-weight: 600; color: var(--green-dark); margin-bottom: 10px; }
.team-name-sm { font-size: 22px; margin-bottom: 8px; }
.team-text { font-size: 16px; color: var(--text-body); line-height: 1.5; }
.team-sub { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--gray-600); }
.team-sub-dash { width: 16px; height: 1.5px; background: var(--gold); display: inline-block; flex-shrink: 0; }

/* Sub-heading divider row */
.team-subhead { display: flex; align-items: center; gap: 20px; margin: 54px 0 4px; }
.team-subhead h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--green-mid); white-space: nowrap; }
.team-subhead-line { flex: 1; height: 1px; background: var(--gray-200); }
.team-subhead-tag { font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); white-space: nowrap; }

@media (max-width: 900px) {
	.team-grid-leaders, .team-grid-members { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.about-team { padding: 56px 0 64px; }
	.team-grid-leaders, .team-grid-members { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
	.team-subhead { flex-wrap: wrap; gap: 10px; }
	.team-subhead-line { order: 3; width: 100%; flex: none; }
}

