/* adcrew.net
 *
 * Same world as the workspace: a prospect who clicks through should land
 * somewhere that looks like where they just were. The two semantic colours
 * carry over exactly —
 *
 *   teal = on duty, a worker is live
 *   gold = money is at stake. Nothing else is ever gold.
 */

:root {
  --ink-900: #12181e;
  --ink-800: #171f26;
  --ink-700: #1e2831;
  --ink-600: #2c3742;
  --ink-500: #3d4a57;

  --cream: #f4f2ee;
  --cream-dim: #9fa9b3;
  --cream-faint: #6b7681;

  --teal: #2fa39c;
  --teal-deep: #1f6f6b;
  --gold: #d9a33c;
  --sand: #e7d3ac;

  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-cond: 'IBM Plex Sans Condensed', 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --page: 68rem;
  --radius: 3px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--teal-deep);
  padding: 0.5rem 0.9rem;
  z-index: 10;
}

.inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.inner.narrow {
  max-width: 46rem;
}

/* --- top bar --------------------------------------------------------------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--page);
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
}

.wordmark span {
  color: var(--teal);
}

.wordmark.small {
  font-size: 1rem;
}

.topbar nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.92rem;
}

.topbar nav a {
  color: var(--cream-dim);
  text-decoration: none;
}

.topbar nav a:hover {
  color: var(--cream);
}

.cta-small {
  color: var(--teal) !important;
  font-weight: 500;
}

/* --- hero ------------------------------------------------------------------ */

.hero {
  max-width: var(--page);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4.5rem;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: start;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin: 0 0 1.1rem;
}

h1 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 1.3rem;
}

.lede {
  color: var(--cream-dim);
  font-size: 1.08rem;
  max-width: 40ch;
  margin: 0 0 1.9rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 0 0 2rem;
}

.button {
  display: inline-block;
  background: var(--teal-deep);
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
}

.button:hover {
  background: var(--teal);
}

.button.ghost {
  background: none;
  border: 1px solid var(--ink-500);
  color: var(--cream-dim);
}

.button.ghost:hover {
  border-color: var(--teal);
  color: var(--cream);
}

.chips {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.chips li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cream-dim);
  border: 1px solid var(--ink-600);
  border-radius: var(--radius);
  padding: 0.25rem 0.6rem;
}

/* --- the shift board ------------------------------------------------------- */

.board {
  background: var(--ink-800);
  border: 1px solid var(--ink-600);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.1rem;
}

.board-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--ink-600);
  padding-bottom: 0.6rem;
  margin-bottom: 0.4rem;
}

.board-title,
.board-time {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.board-title {
  color: var(--cream-dim);
}

.board-time {
  color: var(--cream-faint);
}

.board-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.board-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: baseline;
  padding: 0.42rem 0;
  border-bottom: 1px solid rgb(44 55 66 / 0.5);
}

.board-list li b {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.95rem;
}

.board-list li span:last-child {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--cream-faint);
}

.duty {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgb(47 163 156 / 0.16);
  grid-row: span 2;
  margin-top: 0.42rem;
}

.duty.off {
  background: var(--ink-500);
  box-shadow: none;
}

.board-foot {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cream-dim);
  margin: 0.8rem 0 0;
}

/* Money is the thing a person is here to check, so it never blends in. */
.money {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--gold);
}

/* --- bands ----------------------------------------------------------------- */

.band {
  padding: 4rem 0;
  border-top: 1px solid var(--ink-600);
}

h2 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.12;
  margin: 0 0 1.1rem;
}

h3 {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
}

.big {
  font-size: 1.2rem;
  color: var(--cream);
  max-width: 48ch;
  margin: 0 0 1.2rem;
}

.band p {
  color: var(--cream-dim);
  max-width: 60ch;
}

.section-lede {
  max-width: 52ch;
  margin-bottom: 2.2rem;
}

.aside-note {
  border-left: 2px solid var(--teal-deep);
  padding-left: 1rem;
  margin-top: 2rem;
  font-size: 0.95rem;
}

.source {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--cream-faint);
  margin-top: 0.3rem;
}

/* --- roster ---------------------------------------------------------------- */

.roster {
  list-style: none;
  counter-reset: crew;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink-600);
}

.roster li {
  counter-increment: crew;
  border-bottom: 1px solid var(--ink-600);
  padding: 1.1rem 1.2rem 1.1rem 0;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.2rem 0.6rem;
}

.roster li::before {
  content: counter(crew, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cream-faint);
  padding-top: 0.3rem;
}

.role {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 1.05rem;
}

.roster p {
  grid-column: 2;
  margin: 0;
  font-size: 0.92rem;
}

/* --- steps ----------------------------------------------------------------- */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.8rem;
}

.steps li {
  counter-increment: step;
  border-top: 2px solid var(--teal-deep);
  padding-top: 0.9rem;
}

.steps li::before {
  content: 'Step ' counter(step);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-bottom: 0.5rem;
}

.steps p {
  font-size: 0.92rem;
  margin: 0;
}

/* --- the approval moment --------------------------------------------------- */

.approval {
  background: var(--ink-800);
  border: 1px solid var(--ink-600);
  border-left: 2px solid var(--teal-deep);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  max-width: 46rem;
}

.approval-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin: 0 0 0.7rem;
}

.approval-msg {
  color: var(--cream) !important;
  margin: 0 0 0.9rem;
  max-width: none;
}

.approval-msg b {
  font-family: var(--font-cond);
}

.approval-note {
  font-size: 0.85rem;
  margin: 0;
}

/* --- honest list ----------------------------------------------------------- */

.honest {
  margin: 0;
}

.honest dt {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 1.08rem;
  margin-top: 1.6rem;
}

.honest dd {
  margin: 0.3rem 0 0;
  color: var(--cream-dim);
  max-width: 58ch;
}

/* --- closing + footer ------------------------------------------------------ */

.closing .hero-actions {
  margin-top: 1.8rem;
}

.footer {
  border-top: 1px solid var(--ink-600);
  padding: 2rem 0 3rem;
}

.footer .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cream-faint);
}

/* --- narrow ---------------------------------------------------------------- */

@media (max-width: 54rem) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 2rem;
  }

  .band {
    padding: 3rem 0;
  }
}
