/* careers-v8.css (2026-11-19): the v8 job page sections. Loads after
   careers.css and only adds classes, so cached older pages are untouched. */

.landing { display: flex; flex-direction: column; }
.screen[hidden], .v8-section[hidden], [data-copy][hidden] { display: none !important; }
.v8-hero { padding: 6px 0 8px; }
.v8-headline { font-size: clamp(50px, 13vw, 76px); }
.v8-subline { color: var(--white); font-size: 17px; font-weight: 500; max-width: 46ch; }
.v8-step-title { font-size: clamp(44px, 12vw, 64px); }

.v8-section { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.v8-h2 {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(34px, 9vw, 46px); line-height: 0.95; letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.v8-h3 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.v8-p { color: var(--mist); font-size: 15px; margin-bottom: 12px; max-width: 60ch; }
.v8-under { margin-top: 6px; }

/* role cards */
.role-cards { display: grid; gap: 14px; margin: 18px 0 20px; }
.role-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 18px 18px;
}
.role-card .cta { margin-top: 14px; }
.role-title {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: 32px; line-height: 0.95; margin-bottom: 6px;
}
.role-meta { color: var(--gold); font-weight: 700; font-size: 13.5px; margin-bottom: 12px; }
.role-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 6px 0 2px; font-size: 13.5px; }
.role-facts dt { color: var(--faint); font-weight: 600; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; padding-top: 3px; }
.role-facts dd { color: var(--white); }
.v8-schedule { border-left: 3px solid var(--gold); padding: 2px 0 2px 14px; }

/* career path */
.path-line {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: 22px; line-height: 1.1; color: var(--gold); margin: 4px 0 14px;
}

/* how hiring works */
.how-steps { list-style: none; counter-reset: step; display: grid; gap: 16px; }
.how-step { counter-increment: step; position: relative; padding-left: 46px; }
.how-step::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: #0A0A0A; font-weight: 700; font-size: 14px;
  display: grid; place-items: center;
}
.how-title { font-weight: 700; margin-bottom: 4px; padding-top: 4px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 14px 28px 14px 0; position: relative;
  font-weight: 600; font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 10px;
  color: var(--gold); font-size: 22px; font-weight: 500;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .v8-p { margin-bottom: 12px; }

/* video blocks (hidden until a URL is set) */
.v8-video video, .v8-video iframe, .testimonial video, .testimonial iframe {
  width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000;
}
.testimonials { display: grid; gap: 18px; }
.testimonial figcaption { margin-top: 10px; }

.v8-final { text-align: left; }
.back-link { margin-top: 18px; font-size: 13px; }

/* step 3 prompt */
.prompt-card {
  background: var(--panel); border: 1px solid rgba(197, 179, 88, 0.45); border-radius: 16px;
  padding: 18px; margin: 4px 0 16px;
}
.prompt-text { font-weight: 700; font-size: 19px; line-height: 1.4; margin-bottom: 8px; }
.v8-novideo { margin-top: 12px; }

/* Desktop: the job page reads wider than the application steps. */
@media (min-width: 900px) {
  main#app:has(#s-landing:not([hidden])) { max-width: 760px; }
  .role-cards { grid-template-columns: 1fr 1fr; }
  .role-cards .role-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
