/* ═══════════════════════════════════════════════════════════════
   ABOUT — Project identity page
   Extends youthworkai.css — import that first
   Light paper throughout, single dark exception: supported-by strip
   ═══════════════════════════════════════════════════════════════ */

/* ── Shared section wrapper ── */
.about-section {
  padding: var(--section-pad-v) var(--section-pad-h);
  border-bottom: 1px solid var(--rule);
}
.about-section--alt {
  padding: var(--section-pad-v) var(--section-pad-h);
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
}
.about-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 1 — PROJECT IDENTITY
   ═══════════════════════════════════════════════════════════════ */
.identity-section {
  padding: 120px var(--section-pad-h) 96px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.identity-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--teal);
  text-transform: uppercase;
  display: block;
  margin-bottom: 28px;
}
.identity-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  max-width: 820px;
  margin: 0 auto 20px;
}
.identity-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--ink-40);
  margin-bottom: 52px;
}

/* Country strip */
.country-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 640px;
}
.country-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.country-item + .country-item {
  border-left: 1px solid var(--rule);
}
.country-flag {
  font-size: 20px;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 2 — ABOUT THE PROJECT
   ═══════════════════════════════════════════════════════════════ */
.about-project-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 5rem;
  align-items: start;
}
.about-project-sticky {
  position: sticky;
  top: 88px;
}
.about-pull {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 38px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--teal);
}
.about-prose p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 1.6rem;
}
.about-prose p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════
   SECTION 3 — OBJECTIVES
   ═══════════════════════════════════════════════════════════════ */
.obj-header {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 48px;
}
.obj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.obj-card {
  padding: 36px 32px;
  border-top: 3px solid transparent;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: border-top-color 0.2s ease;
  cursor: default;
}
.obj-card:nth-child(3),
.obj-card:nth-child(6) { border-right: none; }
.obj-card:nth-child(4),
.obj-card:nth-child(5),
.obj-card:nth-child(6) { border-bottom: none; }
.obj-card:hover { border-top-color: var(--teal); }

.obj-num {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 700;
  color: rgba(20,18,16,0.07);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.obj-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 12px;
}
.obj-body {
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-40);
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 4 — PARTNERS
   ═══════════════════════════════════════════════════════════════ */
.partners-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4.5rem;
  align-items: start;
}
.partners-left-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--teal);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.partners-left-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.28;
  margin-bottom: 16px;
}
.partners-left-body {
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-40);
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.partner-card {
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 20px 22px;
  position: relative;
  transition: border-color 0.2s;
}
.partner-card:hover { border-color: rgba(14,138,104,0.25); }
.partner-card--lead {
  border-color: var(--teal);
}
.partner-lead-badge {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--teal);
  background: var(--teal-bg);
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
}
.partner-flag {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}
.partner-name {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 4px;
}
.partner-country {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.07em;
  color: var(--ink-40);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   BACK TO TOP LINK
   ═══════════════════════════════════════════════════════════════ */
.back-to-top {
  text-align: center;
  padding: 48px var(--section-pad-h) 0;
  background: var(--paper);
}
.back-to-top a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-40);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
.back-to-top a:hover { color: var(--teal); }

/* ═══════════════════════════════════════════════════════════════
   SECTION 5 — SUPPORTED BY (dark exception)
   ═══════════════════════════════════════════════════════════════ */
.supported-section {
  padding: 64px var(--section-pad-h);
  background: var(--ink);
  text-align: center;
}
.supported-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  display: block;
  margin-bottom: 40px;
}

/* Logo row */
.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
/* Logos with white backgrounds (1.jpg, 4.jpeg) — wrap in white pill */
.logo-box--light {
  background: #ffffff;
  padding: 14px 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* White logos (2.png, 3.png) — show directly on dark, add subtle border */
.logo-box--dark {
  background: rgba(255,255,255,0.06);
  padding: 14px 24px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-box--light img,
.logo-box--dark img {
  height: 48px;
  width: auto;
  display: block;
}

/* Disclaimer */
.supported-disclaimer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.22);
  max-width: 640px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-project-layout { grid-template-columns: 1fr; gap: 0; }
  .about-project-sticky {
    position: static;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--rule);
  }
  .partners-layout { grid-template-columns: 1fr; gap: 0; }
  .partners-left-wrap {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--rule);
  }
}
@media (max-width: 860px) {
  .obj-grid { grid-template-columns: repeat(2, 1fr); }
  .obj-card:nth-child(3) { border-right: 1px solid var(--rule); }
  .obj-card:nth-child(6) { border-right: none; }
  .obj-card:nth-child(2),
  .obj-card:nth-child(4),
  .obj-card:nth-child(6) { border-right: none; }
  .obj-card:nth-child(5),
  .obj-card:nth-child(6) { border-bottom: 1px solid var(--rule); }
  .obj-card:last-child { border-bottom: none; }
}
@media (max-width: 640px) {
  .identity-section { padding: 80px 24px 72px; }
  .about-section, .about-section--alt { padding: 72px 24px; }
  .supported-section { padding: 52px 24px; }
  .country-strip { gap: 8px; flex-direction: column; }
  .country-item { border-left: none !important; padding: 6px 0; }
  .obj-grid { grid-template-columns: 1fr; }
  .obj-card { border-right: none !important; border-bottom: 1px solid var(--rule) !important; }
  .obj-card:last-child { border-bottom: none !important; }
  .partner-grid { grid-template-columns: 1fr; }
  .logo-row { gap: 20px; }
  .back-to-top { padding: 40px 24px 0; }
}
