/* About page-specific styles. */

/* ===== Hero ===== */
.ab-hero { padding: 96px 0 88px; background: linear-gradient(180deg, #FDFDFE, var(--off-white-60)); border-bottom: 1px solid var(--color-border); position: relative; overflow: hidden; }
.ab-hero::before { content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 1200px; height: 600px; background: radial-gradient(ellipse at center, rgba(30, 122, 43, 0.08), transparent 60%); pointer-events: none; }
.ab-hero-inner { position: relative; text-align: center; max-width: 840px; margin: 0 auto; }
.ab-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: 64px; line-height: 1.03; letter-spacing: -0.025em; margin: 20px 0; }
.ab-hero p.lead { font-size: 20px; color: var(--color-text-muted); line-height: 1.5; margin-bottom: 14px; max-width: 680px; margin-left: auto; margin-right: auto; }
.ab-hero p.supp { font-size: 15px; color: var(--color-text-subtle); line-height: 1.55; }

.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border: 1px solid var(--color-border); border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 1px 3px rgba(10,20,40,0.04); }
.ab-stats > div { padding: 28px 24px; border-right: 1px solid var(--color-border-subtle); text-align: left; }
.ab-stats > div:last-child { border-right: none; }
.ab-stats .n { font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; color: var(--color-text); line-height: 1; margin-bottom: 10px; }
.ab-stats .l { font-size: 13.5px; color: var(--color-text-muted); line-height: 1.4; }

.section-head { margin-bottom: 48px; max-width: 740px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 40px; letter-spacing: -0.02em; line-height: 1.1; margin-top: 16px; margin-bottom: 14px; }
.section-head p.lead { font-size: 17px; color: var(--color-text-muted); line-height: 1.55; }
.kicker.green { color: var(--green-text); }

/* ===== What we do ===== */
.whatwedo { padding: 104px 0 96px; }
.ww-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.ww-grid h2 { font-family: var(--font-display); font-weight: 600; font-size: 44px; letter-spacing: -0.02em; line-height: 1.08; margin-top: 16px; }
.ww-grid p.body { font-size: 17px; color: var(--color-text); line-height: 1.6; margin-bottom: 18px; }
.ww-grid p.supp { font-size: 15.5px; color: var(--color-text-muted); line-height: 1.6; }
.ww-visual { aspect-ratio: 5/4; border-radius: 18px; background: linear-gradient(135deg, #1E7A2B 0%, #0E3B2E 100%); position: relative; overflow: hidden; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr 1fr; gap: 10px; box-shadow: var(--shadow-lg); }
.ww-visual::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 28px, transparent 28px 56px); pointer-events: none; }
.ww-tile { border-radius: 10px; padding: 14px 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 6px; justify-content: center; position: relative; z-index: 1; }
.ww-tile .ic { width: 28px; height: 28px; border-radius: 8px; background: rgba(127,212,142,0.15); color: #7FD48E; display: flex; align-items: center; justify-content: center; }
.ww-tile .ic svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.ww-tile span { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: #fff; line-height: 1.25; }
.ww-tile.wide { grid-column: span 2; background: rgba(127,212,142,0.1); border-color: rgba(127,212,142,0.25); }

/* ===== Mission / Vision ===== */
.mv { padding: 0; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.mv-card { padding: 88px 72px; display: flex; flex-direction: column; gap: 20px; }
.mv-card.mission { background: var(--gradient-deep); color: #fff; position: relative; overflow: hidden; }
.mv-card.mission::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(700px 300px at 100% 0%, rgba(97,206,112,0.12), transparent 55%); pointer-events: none; }
.mv-card.mission > * { position: relative; z-index: 1; }
.mv-card.vision { background: var(--off-white-60); }
.mv-card .kicker { letter-spacing: 0.1em; }
.mv-card.mission .kicker { color: var(--green-text); }
.mv-card h2 { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.12; letter-spacing: -0.015em; margin-top: 4px; }
.mv-card.mission h2 { color: #fff; }
.mv-card p { font-size: 16.5px; line-height: 1.6; }
.mv-card.mission p { color: rgba(255,255,255,0.78); }
.mv-card.vision p { color: var(--color-text); }
.mv-card .mark { margin-top: auto; padding-top: 32px; display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.mv-card.mission .mark { color: rgba(255,255,255,0.5); border-top: 1px solid rgba(255,255,255,0.12); }
.mv-card.vision .mark { color: var(--color-text-subtle); border-top: 1px solid var(--color-border); }
.mv-card .mark svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ===== Leadership ===== */
.lead-sec { padding: 104px 0; }
.lead-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.lead-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 40px; letter-spacing: -0.02em; line-height: 1.1; margin-top: 16px; }
.lead-head p.lead { font-size: 16px; color: var(--color-text-muted); line-height: 1.55; max-width: 480px; }
.lead-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.lead-grid .leader.hero-card { grid-column: span 2; grid-row: span 2; }
.leader { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: all var(--motion-base) var(--ease-standard); }
.leader:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.leader .avatar { aspect-ratio: 1/1; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.leader.hero-card .avatar { aspect-ratio: 4/3; }
.leader .avatar::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 22px, transparent 22px 44px); pointer-events: none; }
.leader .avatar .initials { font-family: var(--font-display); font-weight: 700; font-size: 38px; color: #fff; letter-spacing: -0.02em; position: relative; z-index: 1; }
.leader.hero-card .avatar .initials { font-size: 56px; }
/* When the avatar holds a real photo (img child), drop the angled-stripe
 * overlay so the photo reads cleanly. The template renders either
 * <img> OR <span class="initials">, never both, so no extra hide rule
 * is needed for the initials. */
.leader .avatar.has-photo { background: var(--off-white-80); }
.leader .avatar.has-photo::after { display: none; }
.leader .avatar.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leader .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.leader.hero-card .body { padding: 24px 26px 26px; }
.leader h4 { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.25; letter-spacing: -0.005em; }
.leader.hero-card h4 { font-size: 22px; }
.leader .role { font-size: 13px; color: var(--green-100); font-weight: 600; letter-spacing: 0.02em; margin-bottom: 8px; }
.leader.hero-card .role { font-size: 14px; }
.leader p { font-size: 13px; color: var(--color-text-muted); line-height: 1.5; }
.leader.hero-card p { font-size: 15px; }
.leader .linkedin { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--color-text-muted); padding-top: 14px; border-top: 1px solid var(--color-border-subtle); margin-top: 14px; }
.leader:hover .linkedin { color: var(--green-100); }
.leader .linkedin svg { width: 14px; height: 14px; fill: currentColor; }

.av-a { background: linear-gradient(135deg, #1E7A2B, #0E3B2E); }
.av-b { background: linear-gradient(135deg, #D8C9B0, #A89076); }
.av-c { background: linear-gradient(135deg, #4E6D54, #2E4735); }
.av-d { background: linear-gradient(135deg, #BDC9D6, #6B7889); }
.av-e { background: linear-gradient(135deg, #9BB59F, #4E6D54); }
.av-f { background: linear-gradient(135deg, #6E7E95, #3A4557); }
.av-g { background: linear-gradient(135deg, #B08968, #70442E); }
.av-h { background: linear-gradient(135deg, #7D8E9A, #3F4D59); }
.av-i { background: linear-gradient(135deg, #DCC6B1, #A88A6F); }
.av-j { background: linear-gradient(135deg, #486D58, #1E3A29); }

/* ===== Values ===== */
.values { padding: 104px 0; background: var(--off-white-60); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.val-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.val-card { padding: 30px 26px 28px; background: #fff; border: 1px solid var(--color-border); border-radius: 16px; display: flex; flex-direction: column; gap: 14px; min-height: 240px; transition: all var(--motion-base) var(--ease-standard); position: relative; overflow: hidden; }
.val-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.val-card .num { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--green-100); letter-spacing: 0.1em; }
.val-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green-20); color: #1E7A2B; display: flex; align-items: center; justify-content: center; }
.val-card .ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.val-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.25; letter-spacing: -0.005em; }
.val-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; }

/* ===== Scale ===== */
.scale-sec { padding: 104px 0; }
.scale-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.scale-grid h2 { font-family: var(--font-display); font-weight: 600; font-size: 40px; letter-spacing: -0.02em; line-height: 1.1; margin-top: 16px; margin-bottom: 14px; }
.scale-grid p.lead { font-size: 16px; color: var(--color-text-muted); line-height: 1.55; margin-bottom: 28px; max-width: 460px; }
.scale-points { list-style: none; display: flex; flex-direction: column; gap: 14px; padding: 0; }
.scale-points li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 18px 22px; background: var(--off-white-40); border: 1px solid var(--color-border-subtle); border-radius: 12px; font-size: 15px; line-height: 1.5; color: var(--color-text); }
.scale-points .ic { width: 32px; height: 32px; border-radius: 8px; background: var(--green-20); color: #1E7A2B; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.scale-points .ic svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.25; }
.scale-visual { aspect-ratio: 5/4; border-radius: 18px; background: linear-gradient(180deg, #0E3B2E, #071A12); position: relative; overflow: hidden; padding: 36px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; justify-content: space-between; }
.scale-visual::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(500px 200px at 30% 60%, rgba(97,206,112,0.1), transparent 55%),
  radial-gradient(300px 150px at 80% 40%, rgba(97,206,112,0.08), transparent 55%);
  pointer-events: none; }
.scale-visual .sv-label { color: rgba(255,255,255,0.55); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; position: relative; z-index: 1; }
.scale-visual .sv-nums { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.scale-visual .sv-num .n { font-family: var(--font-display); font-weight: 700; font-size: 36px; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.scale-visual .sv-num .l { font-size: 12.5px; color: rgba(255,255,255,0.65); margin-top: 6px; line-height: 1.4; }
.scale-visual .dots { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.scale-visual .dots span { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #7FD48E; box-shadow: 0 0 12px rgba(127,212,142,0.5); }
.scale-visual .dots span::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(127,212,142,0.3); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(3.5); opacity: 0; } }
.scale-visual .dots span:nth-child(1) { top: 32%; left: 22%; }
.scale-visual .dots span:nth-child(2) { top: 40%; left: 46%; animation-delay: 0.4s; }
.scale-visual .dots span:nth-child(3) { top: 28%; left: 68%; }
.scale-visual .dots span:nth-child(4) { top: 55%; left: 32%; animation-delay: 0.8s; }
.scale-visual .dots span:nth-child(5) { top: 48%; left: 80%; animation-delay: 1.2s; }
.scale-visual .dots span:nth-child(6) { top: 62%; left: 58%; animation-delay: 1.6s; }

/* ===== Customers ===== */
.cust-sec { padding: 104px 0; background: var(--off-white-60); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.cust-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 56px; }
.cust-logos .logo { aspect-ratio: 5/2; background: #fff; border: 1px solid var(--color-border-subtle); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--color-text-muted); letter-spacing: -0.005em; }
.cust-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cust-quote { padding: 32px; background: #fff; border: 1px solid var(--color-border); border-radius: 16px; display: flex; flex-direction: column; gap: 16px; }
.cust-quote q { font-family: var(--font-display); font-weight: 500; font-size: 19px; line-height: 1.45; color: var(--color-text); letter-spacing: -0.005em; quotes: '"' '"'; }
.cust-quote .who { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--color-border-subtle); }
.cust-quote .who .av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #1E7A2B, #0E3B2E); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.cust-quote .who strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.cust-quote .who span { font-size: 12px; color: var(--color-text-subtle); }

/* ===== Company info ===== */
.company-sec { padding: 96px 0; }
.company-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.company-grid h2 { font-family: var(--font-display); font-weight: 600; font-size: 36px; letter-spacing: -0.02em; line-height: 1.1; margin-top: 16px; }
.company-grid p { font-size: 16px; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 16px; }
.company-timeline { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0; border-left: 2px solid var(--color-border); padding-left: 32px; position: relative; }
.company-timeline li { position: relative; padding: 6px 0 28px; }
.company-timeline li:last-child { padding-bottom: 0; }
.company-timeline li::before { content: ''; position: absolute; left: -40px; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--green-100); }
.company-timeline .year { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--green-100); letter-spacing: 0.08em; margin-bottom: 4px; }
.company-timeline h5 { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.company-timeline p { font-size: 14.5px; color: var(--color-text-muted); line-height: 1.55; margin: 0; }

/* ===== Careers ===== */
.careers-sec { padding: 104px 0; background: var(--gradient-deep); color: #fff; position: relative; overflow: hidden; }
.careers-sec::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(900px 400px at 80% 0%, rgba(97,206,112,0.12), transparent 55%),
  radial-gradient(700px 320px at 10% 100%, rgba(97,206,112,0.06), transparent 55%);
  pointer-events: none; }
.careers-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.careers-grid h2 { font-family: var(--font-display); font-weight: 600; font-size: 44px; letter-spacing: -0.02em; line-height: 1.08; color: #fff; margin-top: 16px; margin-bottom: 18px; }
.careers-grid p.lead { font-size: 17px; color: rgba(255,255,255,0.78); line-height: 1.55; margin-bottom: 12px; }
.careers-grid p.supp { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.55; margin-bottom: 32px; }
.careers-grid .ctas { display: flex; gap: 12px; }
.careers-grid .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.04); }
.careers-grid .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.careers-grid .kicker.on-dark { color: var(--green-100); }
.careers-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.careers-bit { padding: 22px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; display: flex; flex-direction: column; gap: 8px; }
.careers-bit .ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(127,212,142,0.15); color: #7FD48E; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.careers-bit .ic svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.careers-bit strong { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #fff; }
.careers-bit span { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.45; }

/* ===== Final CTA ===== */
.final-cta { padding: 104px 0; background: #fff; border-top: 1px solid var(--color-border); }
.final-cta .inner { text-align: center; max-width: 680px; margin: 0 auto; }
.final-cta h2 { font-family: var(--font-display); font-weight: 600; font-size: 44px; line-height: 1.08; letter-spacing: -0.025em; margin: 20px 0 18px; }
.final-cta p { font-size: 17px; color: var(--color-text-muted); line-height: 1.55; margin-bottom: 32px; }
.final-cta .ctas { display: inline-flex; gap: 12px; }

@media (max-width: 1020px) {
  .ab-hero h1 { font-size: 48px; }
  .ww-grid, .mv-grid, .scale-grid, .company-grid, .careers-grid { grid-template-columns: 1fr; gap: 48px; }
  .ab-stats { grid-template-columns: repeat(2, 1fr); }
  .ab-stats > div:nth-child(2) { border-right: none; }
  .ab-stats > div:nth-child(1), .ab-stats > div:nth-child(2) { border-bottom: 1px solid var(--color-border-subtle); }
  .mv-card { padding: 56px 36px; }
  .lead-head { grid-template-columns: 1fr; gap: 16px; }
  .lead-grid { grid-template-columns: repeat(3, 1fr); }
  .lead-grid .leader.hero-card { grid-column: span 3; grid-row: auto; }
  .lead-grid .leader.hero-card .avatar { aspect-ratio: 16/9; }
  .val-grid { grid-template-columns: repeat(2, 1fr); }
  .cust-logos { grid-template-columns: repeat(3, 1fr); }
  .cust-quotes { grid-template-columns: 1fr; }
  .careers-visual { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ab-hero h1, .ww-grid h2, .scale-grid h2 { font-size: 34px; }
  .ab-stats { grid-template-columns: 1fr; }
  .ab-stats > div { border-right: none; border-bottom: 1px solid var(--color-border-subtle); }
  .ab-stats > div:last-child { border-bottom: none; }
  .lead-grid, .val-grid { grid-template-columns: 1fr; }
  /* Reset .hero-card (was span 3 cols at the 1020px breakpoint) — without
   * this it tries to span 3 cols inside a 1-col grid, which forces CSS
   * Grid to create 2 implicit columns. Cards in those implicit columns
   * end up off-screen on phones, hiding several leaders. */
  .lead-grid .leader.hero-card { grid-column: span 1; }
  .cust-logos { grid-template-columns: repeat(2, 1fr); }
}
