/* Rebirth Web3 Jobs Program - /web3-jobs, and the Apply Now page /apply.
   Loaded after partner.css, scholarship.css and site.css. Only what those
   sheets do not already have lives here. */

.hero h1 { max-width: 980px; }

/* hero facts */
.facts { margin: 64px auto 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; background: var(--cyan-light); border-radius: 28px; padding: 18px; text-align: left; }
.facts li { background: #fff; border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.facts span { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #0090b3; }
.facts b { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.35; }

/* who */
.who-list { max-width: 820px; }
.gets li span { flex: 1; }
#who .gets li { background: var(--cream); }

/* careers */
.paths-list { display: flex; flex-wrap: wrap; gap: 12px; }
.paths-list li { padding: 12px 22px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; font-size: 17px; color: var(--ink); }
.fine-note { margin-top: 18px; font-size: 15px; color: var(--muted); }

/* learn */
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.area { background: var(--cream); border-radius: 28px; padding: 26px 24px; }
.area-ic { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.area-ic.c { background: var(--cyan-chip); }
.area-ic.o { background: var(--orange-chip); }
.area-ic svg { width: 26px; height: 26px; }
.area h3 { margin-top: 18px; font-size: 19px; }
.area p { margin-top: 8px; font-size: 16px; }

/* format */
.format-title { font-size: clamp(26px, 3vw, 34px); margin-bottom: 24px; }
.format-kpis li { border-color: var(--line); }

/* impact */
.impact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.imp { border-radius: 22px; padding: 24px; background: #000; color: #fff; display: flex; flex-direction: column; gap: 6px; }
.imp:nth-child(2) { background: var(--orange); }
.imp:nth-child(3) { background: #00bce8; }
.imp:nth-child(4) { background: var(--ink); }
.imp b { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.imp span { font-size: 16px; color: rgba(255,255,255,.9); }
.adeleke { margin-top: 28px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--cream); border-radius: 32px; overflow: hidden; }
.adeleke img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; filter: grayscale(1) contrast(1.08); }
.adeleke-copy { padding: clamp(26px, 4vw, 44px); }
.role-dept { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #0090b3; }
.adeleke-copy h3 { margin: 10px 0 12px; font-size: clamp(24px, 2.8vw, 32px); }
.adeleke-copy p { font-size: 17px; }
.stories-h { margin: 48px 0 18px; font-size: 24px; }
.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.story { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1.5px solid var(--line); border-radius: 26px; overflow: hidden; }
.story-img { position: relative; display: block; aspect-ratio: 16 / 9; background: #111; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: var(--cyan); color: #fff; display: flex; align-items: center; justify-content: center; }
.story-play svg { width: 24px; height: 24px; margin-left: 3px; }
.story-q { padding: 18px 20px 4px; font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.story-by { padding: 0 20px 20px; font-size: 15px; color: var(--muted); }
.story:hover { border-color: var(--cyan); }

/* enrol */
.process { counter-reset: p; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.process li { counter-increment: p; position: relative; padding-left: 34px; font-size: 16px; }
.process li::before { content: counter(p); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--orange); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.path .path-sub { flex: 0 1 auto; }
.path .process { flex: 1; }
#enrol .path-sub { flex: 1; }
.more a { color: var(--ink); }

/* cta */
.cta-band { background: var(--black); color: #fff; border-radius: 36px; padding: clamp(32px, 5vw, 56px); text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); }
.cta-band p { margin: 12px 0 26px; font-size: 18px; color: rgba(255,255,255,.85); }

/* apply */
.hero-apply { padding-bottom: 8px; }

@media (max-width: 960px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .impact { grid-template-columns: 1fr 1fr; }
  .stories { grid-template-columns: 1fr; }
  .adeleke { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .facts { grid-template-columns: 1fr; margin-top: 44px; }
  .paths { grid-template-columns: 1fr; }
  .paths-list li { font-size: 15.5px; padding: 10px 18px; }
}

/* /apply is short, so the swooshes stop at the end of the page instead of
   stretching it to their full 3600px. */
body[data-page="apply"] .swoosh { height: 100%; }

/* who: the list beside a collage of students we interviewed */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.who-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.who-photos img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; filter: grayscale(1) contrast(1.08); }
.who-photos img:nth-child(3n+2) { transform: translateY(18px); }
@media (max-width: 960px) {
  .who-grid { grid-template-columns: 1fr; }
  .who-photos { max-width: 560px; }
}
