/* ============================================================
   PROVEN — Youth League (deep page)
   Distinct "where the data starts" layout with its own navy +
   vivid-green identity (sampled from the PYL brochure). Shell
   inherited from homepage.css. All selectors namespaced .yl-*.
   ============================================================ */

.yl-page {
  --yl-navy: #19224D;
  --yl-navy-deep: #121A3C;
  --yl-green: #0AA84A;
  --yl-green-bright: #18C95E;
  --yl-orange: #F6701A;
  --yl-cyan: #20C0E0;
  background: var(--bg);
  color: var(--fg1);
}
.yl-wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.yl-wrap--narrow { max-width: 760px; }

/* ---------- Accent helpers ---------- */
.yl-page .accent { color: var(--yl-green); }
.yl-page .accent-o { color: var(--yl-orange); }

/* ---------- Hero ---------- */
.yl-hero {
  position: relative;
  background: linear-gradient(108deg, rgba(18,26,60,0.96) 0%, rgba(25,34,77,0.88) 42%, rgba(10,168,74,0.72) 100%),
              url("/proven-web/assets/hero-bg-athletes.jpg") center/cover no-repeat;
  color: #fff;
}
.yl-hero-inner { position: relative; max-width: 1080px; margin: 0 auto; padding: clamp(48px,8vw,96px) 32px clamp(48px,8vw,88px); }
.yl-crumb { display: inline-flex; align-items: center; min-height: 44px; touch-action: manipulation; color: var(--yl-green-bright); text-decoration: none; font-family: var(--font-body); font-size: 14px; margin-bottom: 14px; }
.yl-crumb:hover { text-decoration: underline; }
.yl-eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--yl-green-bright); margin-bottom: 14px; }
.yl-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px,5vw,56px); line-height: 1.02; letter-spacing: var(--tracking-display); text-transform: uppercase; margin: 0 0 16px; max-width: 18ch; text-wrap: balance; }
.yl-subtitle { font-family: var(--font-body); font-size: clamp(17px,2.2vw,21px); line-height: 1.55; color: rgba(255,255,255,0.88); margin: 0 0 28px; max-width: 60ch; text-wrap: pretty; }
.yl-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.yl-hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.yl-pill { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,0.10); border: 1px solid rgba(10,168,74,0.5); border-radius: var(--radius-pill); padding: 7px 14px; }

/* CTA: make primary buttons green throughout the hero and page body
   (nav button stays brand orange as shared chrome) */
.yl-hero-actions .btn-primary, .yl-main .btn-primary { background: var(--yl-green); border-color: var(--yl-green); }
.yl-hero-actions .btn-primary:hover, .yl-main .btn-primary:hover { background: var(--yl-green-bright); border-color: var(--yl-green-bright); }

/* ---------- Sections ---------- */
.yl-section { padding: clamp(48px,8vw,88px) 0; border-bottom: 1px solid var(--border); }
.yl-section--navy { background: var(--yl-navy); color: #fff; border-bottom: 0; position: relative; overflow: hidden; }
.yl-section--navy::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 10%, rgba(32,192,224,0.16), transparent 60%), radial-gradient(50% 60% at 5% 95%, rgba(10,168,74,0.18), transparent 60%); pointer-events: none; }
.yl-section--navy > .yl-wrap { position: relative; }
.yl-section--tint { background: #EFF6F1; border-bottom-color: #DDEBE2; }
.yl-section--slim { padding: clamp(28px,4.5vw,52px) 0; }

.yl-kicker { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--yl-green); margin-bottom: 14px; }
.yl-kicker--center { text-align: center; }
.yl-section--navy .yl-kicker { color: var(--yl-green-bright); }
.yl-h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(26px,4.2vw,42px); line-height: 1.08; letter-spacing: var(--tracking-display); text-transform: uppercase; color: var(--fg1); margin: 0 0 16px; max-width: 22ch; text-wrap: balance; }
.yl-h2--center { text-align: center; max-width: 26ch; margin-left: auto; margin-right: auto; }
.yl-section--navy .yl-h2 { color: #fff; }
.yl-lede { font-family: var(--font-body); font-size: 18px; line-height: 1.6; color: var(--fg2); margin: 0 0 32px; max-width: 64ch; text-wrap: pretty; }
.yl-lede--center { text-align: center; margin-left: auto; margin-right: auto; }
.yl-section--navy .yl-lede { color: rgba(255,255,255,0.82); }

/* ---------- Intro band ---------- */
.yl-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px,5vw,56px); align-items: center; }
.yl-intro-stat { display: flex; flex-direction: column; gap: 10px; }
.yl-intro-stat li { list-style: none; display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; font-family: var(--font-body); font-size: 16px; color: rgba(255,255,255,0.9); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.yl-intro-stat ul { margin: 0; padding: 0; }
.yl-tick { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: var(--radius-pill); background: rgba(10,168,74,0.18); color: var(--yl-green-bright); font-weight: 800; font-size: 13px; }

/* ---------- Core features (2x2) ---------- */
.yl-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.yl-feature { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 26px; border-top: 3px solid var(--yl-green); }
.yl-feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(10,168,74,0.12); color: var(--yl-green); font-size: 22px; margin-bottom: 16px; }
.yl-feature-h { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--fg1); margin: 0 0 10px; text-wrap: balance; }
.yl-feature-p { font-family: var(--font-body); font-size: 15.5px; line-height: 1.6; color: var(--fg2); margin: 0; text-wrap: pretty; }

/* ---------- Data starts (3 col) ---------- */
.yl-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px,3vw,32px); }
.yl-data-item { text-align: center; padding: 8px; }
.yl-data-num { font-family: var(--font-display); font-weight: 900; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yl-green-bright); margin-bottom: 14px; }
.yl-data-h { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: 0.03em; text-transform: uppercase; color: #fff; margin: 0 0 10px; text-wrap: balance; }
.yl-data-p { font-family: var(--font-body); font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,0.8); margin: 0; text-wrap: pretty; }

/* ---------- Roles ---------- */
.yl-roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.yl-role { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 26px; }
.yl-role-mark { font-family: var(--font-display); font-weight: 900; font-size: 26px; line-height: 1; color: var(--yl-green); }
.yl-role-tag { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg1); margin: 0 0 8px; }
.yl-role-p { font-family: var(--font-body); font-size: 15.5px; line-height: 1.55; color: var(--fg2); margin: 0; text-wrap: pretty; }

/* ---------- Journey rail ---------- */
.yl-journey { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 10px; margin-top: 8px; }
.yl-journey-step { flex: 1 1 0; min-width: 150px; text-align: center; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 22px 16px; }
.yl-journey-step--final { background: var(--yl-green); border-color: var(--yl-green); }
.yl-journey-num { font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: 0.12em; color: var(--yl-green-bright); margin-bottom: 10px; }
.yl-journey-step--final .yl-journey-num { color: rgba(255,255,255,0.85); }
.yl-journey-label { font-family: var(--font-display); font-weight: 900; font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.yl-journey-arrow { align-self: center; color: var(--yl-green); font-weight: 800; font-size: 20px; flex: 0 0 auto; }

/* ---------- Workflow: field to future ---------- */
.yl-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.yl-flow-step { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 22px; }
.yl-flow-num { font-family: var(--font-display); font-weight: 900; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yl-green); margin-bottom: 12px; }
.yl-flow-h { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--fg1); margin: 0 0 8px; text-wrap: balance; }
.yl-flow-p { font-family: var(--font-body); font-size: 14.5px; line-height: 1.55; color: var(--fg2); margin: 0; text-wrap: pretty; }
.yl-flow-result { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--yl-navy); color: #fff; border-radius: var(--radius-lg); padding: 26px 30px; }
.yl-flow-result-h { font-family: var(--font-display); font-weight: 900; font-size: clamp(20px,3vw,28px); letter-spacing: 0.02em; text-transform: uppercase; margin: 0; }
.yl-flow-result-h .accent { color: var(--yl-green-bright); }
.yl-flow-result-p { font-family: var(--font-body); font-size: 15px; color: rgba(255,255,255,0.82); margin: 6px 0 0; max-width: 46ch; text-wrap: pretty; }
.yl-flow-foot { text-align: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(15px,2.2vw,20px); letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg1); margin: 32px 0 0; text-wrap: balance; }
.yl-flow-foot .accent { color: var(--yl-green); }

/* ---------- Closing ---------- */
.yl-closing { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,5vw,56px); align-items: center; }
.yl-closing-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px,4.6vw,48px); line-height: 1.02; letter-spacing: var(--tracking-display); text-transform: uppercase; color: #fff; margin: 0; text-wrap: balance; }
.yl-closing-title .accent { color: var(--yl-green-bright); }
.yl-closing-p { font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.82); margin: 0; text-wrap: pretty; }

/* ---------- Contact card ---------- */
.yl-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; max-width: 880px; margin: 0 auto; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 28px 32px; border-left: 4px solid var(--yl-green); }
.yl-contact-name { font-family: var(--font-display); font-weight: 900; font-size: 20px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--fg1); margin: 0; }
.yl-contact-role { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--yl-green); margin: 4px 0 14px; }
.yl-contact-lines { font-family: var(--font-body); font-size: 15px; line-height: 1.7; color: var(--fg2); }
.yl-contact-lines a { color: var(--link); text-decoration: none; }
.yl-contact-lines a:hover { text-decoration: underline; }

/* CTA band: green primary button on this page */
.yl-page .cta-band .btn-primary { background: var(--yl-green); border-color: var(--yl-green); }
.yl-page .cta-band .btn-primary:hover { background: var(--yl-green-bright); border-color: var(--yl-green-bright); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .yl-intro, .yl-closing { grid-template-columns: 1fr; }
  .yl-flow { grid-template-columns: 1fr 1fr; }
  /* Journey rail: stack vertically with downward arrows so step
     labels never collide or overflow on narrow screens. */
  .yl-journey { flex-direction: column; align-items: stretch; gap: 8px; }
  .yl-journey-step { width: 100%; min-width: 0; padding: 18px 20px; }
  .yl-journey-arrow { transform: rotate(90deg); align-self: center; line-height: 1; }
}
@media (max-width: 760px) {
  .yl-wrap, .yl-hero-inner { padding-left: 20px; padding-right: 20px; }
  .yl-features, .yl-roles, .yl-data { grid-template-columns: 1fr; }
  .yl-flow { grid-template-columns: 1fr; }
  .yl-flow-result { padding: 22px 22px; }
  .yl-flow-result .btn { width: 100%; }
  .yl-contact { padding: 24px 22px; }
  .yl-contact .btn { width: 100%; }
}

/* ---------- Typography polish — no widows/orphans ---------- */
.yl-title, .yl-h2, .yl-feature-h, .yl-data-h, .yl-flow-h,
.yl-flow-foot, .yl-closing-title, .yl-page .cta-band h2 { text-wrap: balance; }
.yl-subtitle, .yl-lede, .yl-feature-p, .yl-data-p, .yl-role-p,
.yl-flow-p, .yl-flow-result-p, .yl-closing-p, .yl-page .cta-band p { text-wrap: pretty; }
