/* Role cards on the main page, and the full-time role detail pages. Loaded after styles.css. */

/* Full-time role cards link to their detail pages, so they look and act like buttons */
.card-link {
  display: flex; flex-direction: column; align-items: flex-start;
  text-decoration: none; color: inherit; border: 2px solid var(--ink);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card-link:hover, .card-link:focus-visible {
  transform: translateY(-3px); border-color: var(--accent);
  box-shadow: 0 14px 30px rgba(0,0,0,.12); outline: none;
}
.card-link p { flex: 1; }
.card-cta {
  margin-top: 16px; background: var(--accent); color: var(--ink);
  font: 400 19px/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 18px 8px; border-radius: 999px; transition: background .15s;
}
.card-link:hover .card-cta { background: var(--accent-dark); }
/* Part-time cards: same shape, quieter, and not clickable */
.card-quiet { background: var(--bg-soft); border-color: transparent; }

/* ---------- Role detail pages ---------- */
.role-hero h1 { font-size: clamp(48px, 12vw, 88px); max-width: 16ch; }
.back-link {
  display: inline-block; margin-bottom: 18px; color: #a0a0a8;
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.back-link:hover { color: #fff; }

.role-body { display: grid; gap: 40px; }
@media (min-width: 900px) { .role-body { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.role-body h2 { font-size: clamp(32px, 7vw, 44px); margin: 0 0 16px; }
.role-body .checklist { margin-bottom: 36px; }
.prose p { margin: 0 0 14px; font-size: 17px; color: var(--ink-2); }
.prose { margin-bottom: 36px; }

.aside-card { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; }
@media (min-width: 900px) { .aside-card { position: sticky; top: 24px; } }
.aside-card h3 { font-size: 28px; margin-bottom: 16px; }
.aside-card .btn { width: 100%; margin-top: 22px; }
.glance { margin: 0; display: grid; gap: 14px; }
.glance dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.glance dd { margin: 2px 0 0; font-weight: 600; }

/* Where the role fits: the member journey, with this page's role highlighted */
.journey { display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 640px) { .journey { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .journey { grid-template-columns: repeat(4, 1fr); } }
.journey .step { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.journey .step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 12px;
  border-radius: 50%; background: var(--ink); color: #fff; font: 400 20px/1 var(--display);
}
.journey .step h3 { font-size: 24px; margin-bottom: 6px; }
.journey .step p { margin: 0; font-size: 15px; color: var(--muted); }
.journey .step.you { border: 2px solid var(--accent); box-shadow: 0 10px 24px rgba(0,177,225,.18); }
.journey .step.you::before { background: var(--accent); color: var(--ink); }
/* Sits on its own line above the title so it never covers long role names */
.you-tag {
  display: inline-block; margin-bottom: 10px; background: var(--yellow); color: var(--ink);
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}

.role-cta { background: var(--ink); color: #fff; text-align: center; }
.role-cta h2 { font-size: clamp(40px, 9vw, 58px); margin-bottom: 12px; }
.role-cta p { color: #b4b4bc; margin: 0 auto 26px; max-width: 520px; }
.other-roles { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.other-roles a {
  color: #d4d4da; font-size: 14px; font-weight: 600; text-decoration: none;
  border: 1px solid rgba(255,255,255,.2); padding: 8px 14px; border-radius: 999px;
}
.other-roles a:hover { border-color: var(--accent); color: #fff; }

/* ---------- Long-form role pages (the owner's full job descriptions) ---------- */
.narrow { max-width: 780px; }
.tight-top { padding-top: 24px; }
.glance-section { padding: 28px 0 0; }
.glance-strip {
  margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 900px) { .glance-strip { grid-template-columns: repeat(4, 1fr); } }
.glance-strip div { background: var(--bg); padding: 16px 18px; }
.glance-strip dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.glance-strip dd { margin: 4px 0 0; font-weight: 700; font-size: 15px; }

.pullquote {
  margin: 0 0 22px; padding: 22px 24px; background: var(--bg-soft);
  border-left: 6px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
  font: 400 clamp(26px, 5.5vw, 34px)/1.12 var(--display); letter-spacing: .02em; text-transform: uppercase;
}
.own-line { margin: 0; font-size: 18px; font-weight: 600; }
.run-it {
  display: inline-block; margin-left: 6px; vertical-align: middle;
  background: var(--yellow); color: var(--ink); border-radius: 10px; padding: 8px 16px 4px;
  font: 400 44px/1 var(--display); text-transform: uppercase;
}

.leaders { display: grid; gap: 14px; }
@media (min-width: 900px) { .leaders { grid-template-columns: repeat(3, 1fr); } }
.leader {
  position: relative; display: block; background: var(--bg); color: inherit; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  transition: border-color .15s;
}
a.leader:hover { border-color: var(--accent); }
.leader h3 { font-size: 26px; margin-bottom: 6px; }
.leader p { margin: 0; color: var(--muted); font-size: 15px; }
.leader.you { border: 2px solid var(--accent); box-shadow: 0 10px 24px rgba(0,177,225,.18); }
.leader .leader-own { margin: 0 0 8px; font: 400 34px/1 var(--display); text-transform: uppercase; color: var(--accent-dark); }
.leader-link { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 14px; color: var(--accent-dark); }
.aside-note { margin: 22px 0 0; font-size: 17px; font-weight: 600; }

.own-grid .card h3 { margin-bottom: 14px; }
.own-grid .checklist li { font-size: 15px; }
.card .card-intro { margin: 0 0 12px; color: var(--ink-2); }
.card .card-note { margin: 14px 0 0; font-size: 14px; }

.train-callout { display: grid; gap: 28px; align-items: center; }
@media (min-width: 760px) { .train-callout { grid-template-columns: auto 1fr; } }
.big-stat {
  justify-self: start; background: var(--ink); color: #fff; border-radius: 20px; padding: 24px 34px;
  text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.big-stat span { display: block; font: 400 88px/1 var(--display); letter-spacing: .02em; color: var(--accent); }
.train-callout h2 { font-size: clamp(36px, 8vw, 50px); margin-bottom: 12px; }
.train-callout p { margin: 0; font-size: 17px; color: var(--ink-2); max-width: 640px; }

.seats { display: grid; gap: 14px; }
@media (min-width: 760px) { .seats { grid-template-columns: 1fr 1fr; align-items: start; } }
.seat { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; }
.seat h3 { font-size: 30px; margin-bottom: 8px; }
.seat p { margin: 0 0 12px; color: var(--ink-2); }
.no-titles { margin-top: 28px; display: grid; gap: 6px; font: 400 clamp(24px, 5vw, 32px)/1.15 var(--display); text-transform: uppercase; }
.no-titles span { color: var(--accent-dark); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.schedule { width: 100%; border-collapse: collapse; background: var(--bg); font-size: 15px; }
.schedule th, .schedule td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.schedule th { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.schedule tr:last-child td { border-bottom: 0; font-weight: 700; background: #fffbe0; }
.small-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.chips-light li { background: var(--bg); border: 1px solid var(--line); color: var(--ink); }
.prose-p { margin: 0; font-size: 17px; color: var(--ink-2); }

@media (min-width: 760px) { .checklist.two-col { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.not-for { margin-top: 26px; padding: 18px 20px; border-radius: var(--radius); background: #fff6d6; border: 1px solid #f3dc7a; font-size: 16px; }
.growth-list { margin: 4px 0 20px; }
.disclaimer { margin: 0 0 20px; font-size: 15px; font-style: italic; color: var(--muted); }

/* Growth: the Lead → Member pipeline */
.pipeline { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pipeline li {
  background: var(--ink); color: #fff; border-radius: 10px; padding: 12px 16px 9px;
  font: 400 22px/1 var(--display); letter-spacing: .04em; text-transform: uppercase;
}
.pipeline li:last-child { background: var(--accent); color: var(--ink); }
.pipeline li.arrow { background: none; color: var(--muted); padding: 0 2px; }

/* Success: the "You should know" questions */
.questions { display: grid; gap: 10px; }
@media (min-width: 640px) { .questions { grid-template-columns: 1fr 1fr; } }
.questions div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 600; }

.seat-white { background: var(--bg); border: 1px solid var(--line); }
.own-line + .chips, .chips-light { margin-bottom: 22px; }

.simple-lead { margin: 6px 0 0 !important; font-size: 18px; }
.run-it-xl { display: block; margin: 4px 0 18px; font: 400 clamp(72px, 20vw, 140px)/.9 var(--display); text-transform: uppercase; color: var(--yellow); }
.simple-list { list-style: none; padding: 0; margin: 0 auto 22px; max-width: 560px; display: grid; gap: 6px; font-size: 18px; color: #e4e4e8; }
