/* ============================================================
   FruitLink+ public site — mirrors act.or.ke
   Roboto · #1D1C1C text · #575757 meta · #F8F9F3 on dark
   ACT scale: hero 40/600 · sections 25-28/400-500 · body 16-18
   ACT buttons: Roboto 14px 600 uppercase ls1.2, square, 12x35
   ============================================================ */

:root {
  --s-ink: #1D1C1C;
  --s-body: #1D1C1C;
  --s-muted: #575757;
  --s-cream: #F8F9F3;
  --s-line: #e7e7e2;
  --s-bg: #ffffff;
  --s-bg-2: #f8f9f3;
  --s-bg-3: #fcf8f1;
  --s-yellow: #FEE8B5;
  --s-green: #2A9818;
  --s-green-700: #22810f;
  --s-green-100: #eaf6e6;
  --s-amber: #E5950B;
  --s-red: #D83A34;
  --s-blue: #3675B6;
  --s-radius: 16px;
  --s-radius-sm: 10px;
  --s-shadow: 0 2px 8px rgba(29, 28, 28, .05), 0 14px 34px -18px rgba(29, 28, 28, .18);
  --s-shadow-lg: 0 30px 60px -30px rgba(29, 28, 28, .4);
  --s-font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --s-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.s-page {
  margin: 0;
  font-family: var(--s-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--s-body);
  background: var(--s-bg);
  -webkit-font-smoothing: antialiased;
}

body.s-page a { color: inherit; text-decoration: none; }
body.s-page h1, body.s-page h2, body.s-page h3, body.s-page h4, body.s-page h5 { color: var(--s-ink); }
/* light-on-dark headings — must beat the global ink rule above */
body.s-page .s-hero h1,
body.s-page .s-banner h2,
body.s-page .s-cta-in h2,
body.s-page .s-tile h3 { color: #FFFFFF; }
body.s-page .s-hero h1 strong { color: var(--s-yellow); }

/* ---------- buttons (ACT: 14px 600 uppercase ls1.2, square) ---------- */
.s-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 35px; border-radius: 0;
  font: 600 14px/1.4 var(--s-font);
  letter-spacing: 1.2px; text-transform: uppercase;
  border: 2px solid transparent; cursor: pointer;
  transition: .18s;
  white-space: nowrap;
}
.s-btn .lucide { width: 16px; height: 16px; }
.s-btn--primary { background: var(--s-green); color: var(--s-cream); }
.s-btn--primary:hover { background: var(--s-green-700); }
.s-btn--ghost { background: transparent; color: var(--s-ink); border-color: var(--s-ink); }
.s-btn--ghost:hover { background: var(--s-ink); color: var(--s-cream); }
.s-btn--light { background: var(--s-cream); color: var(--s-ink); }
.s-btn--light:hover { background: var(--s-yellow); }
.s-btn--lg { padding: 14px 40px; }
.s-btn--block { width: 100%; }

/* ---------- header ---------- */
.s-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--s-line);
}
.s-header-in {
  max-width: 1180px; margin: 0 auto;
  padding: 12px 24px;
  display: flex; align-items: center; gap: 24px;
}
.s-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--s-ink); }
.s-logo-mark {
  width: 36px; height: 36px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--s-green); color: #fff;
  font-size: 15px; font-weight: 700;
}
.s-logo em { font-style: normal; color: var(--s-green); }
.s-nav { display: flex; gap: 2px; margin-left: 8px; }
.s-nav a {
  padding: 8px 13px; border-radius: 0;
  font-size: 15px; font-weight: 400; color: var(--s-ink);
  transition: .15s;
}
.s-nav a:hover { color: var(--s-green-700); }
.s-nav a.is-active { color: var(--s-green-700); font-weight: 700; }
.s-nav-auth { display: none; }
.s-head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* burger (mobile) */
.s-burger {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0;
  background: transparent; border: 1.5px solid var(--s-line);
  border-radius: 6px; color: var(--s-ink); cursor: pointer;
}
.s-burger .lucide { width: 20px; height: 20px; }

/* ---------- eyebrow / headings (ACT scale) ---------- */
.s-eyebrow, .s-kicker {
  display: inline-block;
  font-size: 14px; font-weight: 700; line-height: 1.5;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--s-ink);
}
.s-kicker { color: var(--s-ink); }
.s-head { max-width: 680px; margin-bottom: 36px; }
.s-head.center { margin-inline: auto; text-align: center; }
.s-head h2 {
  margin: 8px 0 10px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 400; line-height: 1.3;
}
.s-head h2 strong { font-weight: 700; }
.s-head p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--s-body); }

/* ---------- hero (ACT-style background slider) ---------- */
.s-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--s-ink);
}
.s-hero-bg { position: absolute; inset: 0; z-index: -2; }
.s-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .9s ease-in-out;
  filter: brightness(.62) saturate(.92);
}
.s-slide.is-active { opacity: 1; }
.s-hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 18, 10, .94) 0%, rgba(8, 18, 10, .82) 42%, rgba(8, 18, 10, .55) 100%),
    rgba(8, 18, 10, .25);
}
.s-hero-in {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
  padding: 88px 24px 96px;
}
.s-hero-copy { max-width: 720px; }
.s-hero .s-eyebrow { color: #FFFFFF; text-shadow: 0 1px 12px rgba(0, 0, 0, .7); }
.s-hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600; line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .65), 0 1px 4px rgba(0, 0, 0, .45);
}
.s-hero h1 strong { font-weight: 700; color: var(--s-yellow); text-shadow: 0 2px 22px rgba(0, 0, 0, .65), 0 1px 4px rgba(0, 0, 0, .45); }
.s-hero p.lead { margin: 0 0 28px; font-size: 17px; line-height: 1.6; color: #FFFFFF; max-width: 54ch; text-shadow: 0 1px 14px rgba(0, 0, 0, .7); }
.s-hero .s-note { color: rgba(248, 249, 243, .75); }
.s-hero .s-note b { color: var(--s-yellow); }
.s-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.s-note { margin-top: 16px; font-size: 14px; color: var(--s-muted); }
.s-note b { color: var(--s-green-700); font-weight: 700; }
.s-btn--ghost-light { background: transparent; color: var(--s-cream); border-color: rgba(248, 249, 243, .7); }
.s-btn--ghost-light:hover { background: var(--s-cream); color: var(--s-ink); border-color: var(--s-cream); }
.s-dots {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; gap: 9px; z-index: 2;
}
.s-dots button {
  width: 9px; height: 9px; padding: 0; border: 0; cursor: pointer;
  border-radius: 50%; background: rgba(248, 249, 243, .45);
  transition: .2s;
}
.s-dots button.is-active { background: var(--s-yellow); transform: scale(1.25); }

/* ---------- stats ---------- */
.s-stats { background: var(--s-bg-3); border-bottom: 1px solid var(--s-line); }
.s-stats-in {
  max-width: 1180px; margin: 0 auto; padding: 44px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.s-stat { text-align: center; padding: 6px 4px; }
.s-stat .st-icon {
  width: 50px; height: 50px; margin: 0 auto 12px;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--s-green-100); color: var(--s-green);
}
.s-stat .st-icon .lucide { width: 23px; height: 23px; }
.s-stat b { display: block; font-size: clamp(26px, 2.4vw, 36px); font-weight: 700; line-height: 1.2; color: var(--s-ink); }
.s-stat span { font-size: 14px; color: var(--s-muted); line-height: 1.6; }

/* ---------- gallery strip ---------- */
.s-gallery { background: var(--s-bg-3); padding: 0 0 44px; }
.s-gallery-in {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.s-gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--s-radius); }
.s-gallery img {
  width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; display: block;
  transition: transform .35s;
}
.s-gallery figure:hover img { transform: scale(1.04); }
.s-gallery figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 24px 14px 10px;
  background: linear-gradient(transparent, rgba(29, 28, 28, .78));
  color: #fff; font-size: 13px; font-weight: 500; line-height: 1.5;
}
.s-gallery-cap {
  max-width: 1180px; margin: 0 auto; padding: 22px 24px 0;
  font-size: 14px; color: var(--s-muted); text-align: center;
}

/* ---------- sections ---------- */
.s-section { padding: 62px 24px; }
.s-section.alt { background: var(--s-bg-2); }
.s-section.alt2 { background: var(--s-bg-3); }
.s-section-in { max-width: 1180px; margin: 0 auto; }

/* ---------- cards / grids ---------- */
.s-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.s-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.s-card {
  background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius);
  padding: 26px; box-shadow: var(--s-shadow);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.s-card:hover { transform: translateY(-3px); border-color: rgba(42, 152, 24, .4); }
.s-card h3 { margin: 14px 0 6px; font-size: 20px; font-weight: 500; line-height: 1.4; }
.s-card p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--s-body); }
.s-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--s-green-100); color: var(--s-green);
}
.s-icon .lucide, .s-icon svg { width: 23px; height: 23px; }
.s-icon--amber { background: #fef3dd; color: var(--s-amber); }
.s-icon--blue { background: #e8f1fa; color: var(--s-blue); }
.s-icon--red { background: #fbeceb; color: var(--s-red); }

/* image cards */
.s-card--media { padding: 0; overflow: hidden; }
.s-card--media .card-img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; display: block; }
.s-card--media .card-body { padding: 22px 26px 26px; }

/* ---------- steps ---------- */
.s-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.s-step {
  position: relative; background: #fff; border: 1px solid var(--s-line);
  border-radius: var(--s-radius); padding: 26px 22px 22px;
}
.s-step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -15px; left: 20px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--s-green); color: #fff;
  font-weight: 700; font-size: 15px;
}
.s-step h3 { margin: 10px 0 6px; font-size: 18px; font-weight: 500; line-height: 1.4; }
.s-step p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--s-body); }
.s-step .tag {
  display: inline-block; margin-top: 12px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--s-green-700); background: var(--s-green-100);
  border-radius: 2px; padding: 4px 12px;
}

/* ---------- testimonials ---------- */
.s-quote {
  background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius);
  padding: 26px; box-shadow: var(--s-shadow);
  display: flex; flex-direction: column; gap: 14px;
}
.s-quote .q-mark { color: var(--s-green); }
.s-quote .q-mark .lucide { width: 26px; height: 26px; }
.s-quote p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--s-ink); }
.s-quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.s-quote .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.s-quote .who b { display: block; font-size: 15px; font-weight: 500; color: var(--s-ink); line-height: 1.4; }
.s-quote .who span { font-size: 13px; color: var(--s-muted); }

/* ---------- split rows ---------- */
.s-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  padding: 40px 0; border-bottom: 1px dashed var(--s-line);
}
.s-split:last-child { border-bottom: 0; }
.s-split h3 { margin: 8px 0 10px; font-size: clamp(22px, 2vw, 27px); font-weight: 400; line-height: 1.35; }
.s-split h3 strong { font-weight: 700; color: inherit; }
.s-split p { margin: 0; color: var(--s-body); font-size: 16px; line-height: 1.75; }
.s-split ul { margin: 14px 0 0; padding: 0; list-style: none; }
.s-split li { position: relative; padding: 6px 0 6px 30px; font-size: 15px; color: var(--s-ink); line-height: 1.65; }
.s-split li .lucide {
  position: absolute; left: 0; top: 10px;
  width: 17px; height: 17px; color: var(--s-green);
}
.s-split-photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--s-radius); box-shadow: var(--s-shadow-lg); display: block;
}
.s-panel {
  background: var(--s-ink); color: #e9e9e6;
  border-radius: var(--s-radius); padding: 28px;
  box-shadow: var(--s-shadow-lg);
  font-family: var(--s-mono); font-size: 13px; line-height: 1.75;
}
.s-panel .pl { color: #a9a9a4; }
.s-panel .pg { color: #7ed56f; font-weight: 700; }
.s-panel .pa { color: var(--s-yellow); }
.s-panel h4 {
  margin: 0 0 12px; font: 700 12px/1 var(--s-font);
  letter-spacing: 1.4px; text-transform: uppercase; color: #9fd694;
}

/* ---------- pipeline ---------- */
.s-pipe { display: grid; gap: 12px; }
.s-pipe-row {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius-sm);
  padding: 15px 20px;
  transition: border-color .15s;
}
.s-pipe-row:hover { border-color: rgba(42, 152, 24, .45); }
.s-pipe-row .n {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--s-green-100); color: var(--s-green-700);
  font-weight: 700; font-size: 15px;
}
.s-pipe-row b { display: block; font-size: 16px; font-weight: 500; color: var(--s-ink); line-height: 1.5; }
.s-pipe-row span { font-size: 14px; color: var(--s-muted); line-height: 1.6; }
.s-pipe-row .st {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: var(--s-green-700); background: var(--s-green-100);
  padding: 5px 12px; border-radius: 2px; white-space: nowrap;
}

/* ---------- CTA band ---------- */
.s-cta { max-width: 1180px; margin: 0 auto; }
.s-cta-in {
  position: relative; overflow: hidden;
  border-radius: var(--s-radius); padding: 58px 40px; text-align: center;
  background-size: cover; background-position: center;
  isolation: isolate;
}
.s-cta-in::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(34, 129, 15, .94), rgba(42, 152, 24, .86));
}
.s-cta-in h2 { margin: 0 0 10px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; line-height: 1.3; color: var(--s-cream); }
.s-cta-in p { margin: 0 auto 24px; max-width: 54ch; color: rgba(248, 249, 243, .9); font-size: 16px; line-height: 1.7; }

/* ---------- footer ---------- */
.s-footer { background: var(--s-ink); color: #b3b3ae; }
.s-footer-in {
  max-width: 1180px; margin: 0 auto; padding: 54px 24px 28px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px;
}
.s-footer h5 {
  margin: 0 0 14px; color: #fff;
  font-size: 15px; font-weight: 700; line-height: 1.5;
  text-transform: uppercase; letter-spacing: 1px;
}
.s-footer a { display: block; padding: 5px 0; font-size: 14.5px; color: #b3b3ae; line-height: 1.7; }
.s-footer a:hover { color: #7ed56f; }
.s-footer .about { font-size: 14.5px; line-height: 1.8; max-width: 36ch; }
.s-footer .about .s-logo { color: #fff; margin-bottom: 12px; }
.s-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  max-width: 1180px; margin: 0 auto; padding: 16px 24px 26px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px;
}

/* ---------- flash ---------- */
.s-flash { max-width: 1180px; margin: 16px auto 0; padding: 0 24px; }
.s-flash > div {
  display: flex; align-items: center; gap: 10px;
  border-radius: var(--s-radius-sm);
  padding: 12px 18px; font-size: 15px; font-weight: 500; line-height: 1.6;
  background: var(--s-green-100); border: 1px solid rgba(42, 152, 24, .4);
  color: var(--s-green-700);
}
.s-flash > div.error {
  background: #fbeceb; border-color: rgba(216, 58, 52, .4); color: var(--s-red);
}

/* ---------- auth ---------- */
.s-auth-wrap {
  min-height: calc(100vh - 65px);
  display: grid; grid-template-columns: .9fr 1.1fr;
  background: var(--s-bg-2);
}
.s-auth-photo { position: relative; overflow: hidden; }
.s-auth-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-auth-photo .ap-copy {
  position: absolute; inset: auto 0 0 0;
  padding: 80px 40px 40px;
  background: linear-gradient(transparent, rgba(29, 28, 28, .86));
  color: #fff;
}
.s-auth-photo .ap-copy strong { display: block; font-size: 22px; font-weight: 600; line-height: 1.4; margin-bottom: 6px; }
.s-auth-photo .ap-copy span { font-size: 14.5px; color: #e2e2dd; line-height: 1.7; }
.s-auth {
  display: flex; align-items: center; justify-content: center;
  padding: 48px 36px;
}
.s-auth-card { width: 100%; max-width: 450px; }
.s-auth-card .s-logo { justify-content: center; margin-bottom: 16px; }
.s-auth-card h1 { margin: 0 0 6px; text-align: center; font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; line-height: 1.3; }
.s-auth-card .sub { text-align: center; color: var(--s-muted); font-size: 15.5px; margin: 0 0 24px; line-height: 1.6; }

.s-field { margin-bottom: 15px; }
.s-field label {
  display: block; font-size: 14.5px; font-weight: 500;
  margin-bottom: 6px; color: var(--s-ink); line-height: 1.5;
}
.s-field label .req { color: var(--s-red); }
.s-field input, .s-field select, .s-field textarea {
  width: 100%; padding: 12px 15px;
  font: 400 15.5px/1.5 var(--s-font);
  border: 1.5px solid var(--s-line); border-radius: 8px;
  background: #fff; color: var(--s-ink); outline: none; transition: .15s;
}
.s-field input:focus, .s-field select:focus, .s-field textarea:focus {
  border-color: var(--s-green); box-shadow: 0 0 0 4px rgba(42, 152, 24, .14);
}
.s-field .hint { font-size: 13px; color: var(--s-muted); margin-top: 5px; line-height: 1.6; }
.s-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.s-auth-foot { margin-top: 18px; text-align: center; font-size: 15px; color: var(--s-muted); }
.s-auth-foot a { color: var(--s-green-700); font-weight: 500; }
.s-demo {
  margin-top: 20px;
  border: 1.5px dashed rgba(42, 152, 24, .5);
  background: var(--s-green-100);
  border-radius: var(--s-radius-sm);
  padding: 12px 16px; font-size: 13.5px; line-height: 1.9; color: var(--s-ink);
}
.s-demo b {
  display: block; font-size: 12px; letter-spacing: 1.2px;
  text-transform: uppercase; margin-bottom: 4px; color: var(--s-green-700);
}
.s-demo code {
  font-family: var(--s-mono); background: #fff;
  border: 1px solid var(--s-line); border-radius: 4px; padding: 1px 7px;
}
.s-terms { font-size: 13px; color: var(--s-muted); text-align: center; margin-top: 14px; line-height: 1.7; }

/* ---------- contact ---------- */
.s-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
.s-info-list { display: grid; gap: 14px; }
.s-info {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--s-line);
  border-radius: var(--s-radius-sm); padding: 18px;
}
.s-info b { display: block; font-size: 15.5px; font-weight: 500; color: var(--s-ink); line-height: 1.5; }
.s-info span { font-size: 14px; color: var(--s-muted); line-height: 1.7; }
.s-form-card {
  background: #fff; border: 1px solid var(--s-line);
  border-radius: var(--s-radius); padding: 30px;
  box-shadow: var(--s-shadow);
}

/* ---------- inner page hero ---------- */
/* ---------- ACT inner-page banner (program-areas pattern) ---------- */
.s-banner {
  position: relative; isolation: isolate;
  background-size: cover; background-position: center;
  padding: 64px 24px 58px;
}
.s-banner::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(12, 24, 15, .85) 0%, rgba(12, 24, 15, .55) 60%, rgba(12, 24, 15, .35) 100%);
}
.s-banner-in { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; }
.s-crumbs {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  color: rgba(248, 249, 243, .85);
  margin-bottom: 14px;
}
.s-crumbs a { color: inherit; }
.s-crumbs a:hover { color: var(--s-yellow); }
.s-crumbs span { color: rgba(248, 249, 243, .5); }
.s-banner h2 {
  margin: 0;
  font-size: 30px; font-weight: 600; line-height: 1.2;
  color: var(--s-cream);
  text-shadow: 0 2px 16px rgba(0, 0, 0, .45);
}

/* intro row (dark heading left · lead paragraph right) */
.s-intro { background: var(--s-bg-3); border-bottom: 1px solid var(--s-line); }
.s-intro-in {
  max-width: 1180px; margin: 0 auto; padding: 42px 24px;
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 30px; align-items: end;
}
.s-intro h1 {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600; line-height: 1.25;
}
.s-intro p {
  margin: 0;
  font-size: 18px; line-height: 1.65; color: var(--s-ink);
  padding-left: 30px;
}

/* photo tiles (program-areas cards) */
.s-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.s-tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 290px; padding: 30px 28px;
  border-radius: var(--s-radius);
  background-size: cover; background-position: center;
  transition: transform .2s;
}
.s-tile:hover { transform: translateY(-3px); }
.s-tile::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(12, 24, 15, .9) 0%, rgba(12, 24, 15, .42) 65%, rgba(12, 24, 15, .2) 100%);
  transition: background .25s;
}
.s-tile:hover::before {
  background: linear-gradient(to top, rgba(34, 129, 15, .92) 0%, rgba(12, 24, 15, .5) 100%);
}
.s-tile > div { position: relative; z-index: 1; width: 100%; }
.s-tile h3 { margin: 0 0 14px; font-size: 24px; font-weight: 400; line-height: 1.35; color: var(--s-cream); }
.s-tile h3 strong { font-weight: 700; }
.s-tile-line { display: block; height: 1px; background: rgba(248, 245, 239, .45); margin-bottom: 18px; }
.s-link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 600 14px/1.4 var(--s-font);
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--s-cream);
  transition: color .2s;
}
.s-link-arrow .lucide { width: 16px; height: 16px; }
.s-tile:hover .s-link-arrow { color: var(--s-yellow); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .s-hero-in { padding: 72px 24px 84px; }
  .s-grid-3, .s-steps { grid-template-columns: repeat(2, 1fr); }
  .s-split { grid-template-columns: 1fr; gap: 26px; }
  .s-stats-in { grid-template-columns: repeat(2, 1fr); }
  .s-gallery-in { grid-template-columns: repeat(2, 1fr); }
  .s-footer-in { grid-template-columns: 1fr 1fr; }
  .s-contact-grid { grid-template-columns: 1fr; }
  .s-tiles { grid-template-columns: 1fr 1fr; }
  .s-intro-in { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .s-intro p { padding-left: 0; }
  .s-auth-wrap { grid-template-columns: 1fr; }
  .s-auth-photo { display: none; }
}
@media (max-width: 640px) {
  .s-burger { display: inline-flex; }
  .s-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--s-line);
    box-shadow: var(--s-shadow); padding: 8px;
  }
  .s-header.is-open .s-nav { display: flex; }
  .s-nav a { padding: 12px 14px; font-size: 15.5px; }
  .s-nav-auth {
    display: flex; flex-direction: column; gap: 10px;
    padding: 12px 8px 8px; margin-top: 6px;
    border-top: 1px solid var(--s-line);
  }
  .s-nav-auth .s-btn { width: 100%; }
  .s-nav-auth form { display: block; }
  .s-head-actions .s-btn, .s-head-actions form { display: none; }
  .s-grid-3, .s-grid-2, .s-steps, .s-gallery-in, .s-tiles { grid-template-columns: 1fr; }
  .s-banner { padding: 48px 20px 44px; }
  .s-banner h2 { font-size: 25px; }
  .s-intro-in { padding: 34px 20px; }
  .s-row-2 { grid-template-columns: 1fr; }
  .s-section { padding: 48px 20px; }
  .s-cta-in { padding: 44px 24px; }
  .s-auth { padding: 40px 20px; }
  .s-pipe-row { grid-template-columns: 42px 1fr; }
  .s-pipe-row .st { display: none; }
  .s-stat b { font-size: 26px; }
  .s-hero-in { padding: 60px 22px 76px; }
  .s-hero h1 { font-size: clamp(28px, 7vw, 34px); }
}
