/* The Gym — careers page styles.
   Restyled in The Gym's monochrome system. Imports the shared design system
   (root styles.css = tokens + component layer) so it stays in sync with the
   teaser and website kits. */
@import url('../styles.css');

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--fg-1);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: min(1120px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(48px, 9vw, 120px) 0; }

/* ---- header ---- */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: clamp(20px, 4vw, 36px) 0; }
.site-header__brand { display: inline-flex; }
.site-header .wordmark { width: 150px; }
.site-header__nav { display: inline-flex; flex-wrap: wrap; gap: clamp(16px, 2vw, 26px); }
.site-header__nav a { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); text-decoration: none; }
.site-header__nav a:hover { color: var(--fg-1); }
.site-header__right { display: inline-flex; align-items: center; gap: clamp(14px, 2vw, 22px); }

/* tagline centered under the header — shared treatment with the teaser (home) */
.t-eyebrow {
  text-align: center;
  margin: clamp(14px, 3vw, 30px) 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-2);
  text-wrap: balance;
}

/* ---- hero ---- */
.c-hero {
  padding-top: clamp(64px, 10vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.c-hero__logo { display: flex; flex-direction: column; align-items: center; }
.c-hero__wordmark { width: min(560px, 82%); }
.c-hero__copy { min-width: 0; }
.c-hero .eyebrow { margin: 0 0 18px; }
.c-hero h1 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); line-height: 1.06; letter-spacing: 0; overflow-wrap: break-word; hyphens: auto; }
.c-hero .lede { margin: clamp(18px, 3vw, 28px) 0 0; max-width: 52ch; }
.c-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 4vw, 34px); }
.c-hero__visual { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; border-top: var(--hairline); border-bottom: var(--hairline); padding: clamp(24px, 4vw, 44px); background: var(--surface-raised); }
.c-hero__mark { width: min(220px, 58vw); }
.c-hero__visual-kicker { margin: clamp(40px, 8vw, 90px) 0 18px; font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 3.4rem); line-height: 1.0; color: var(--fg-1); overflow-wrap: anywhere; hyphens: auto; }
.c-facts { margin: 0; display: grid; gap: 0; border-top: var(--hairline-soft); }
.c-facts div { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 16px 0; border-bottom: var(--hairline-soft); }
.c-facts dt { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-2); }
.c-facts dd { margin: 0; color: var(--fg-1); font-size: var(--text-sm); }

/* ---- section heads ---- */
.section-head { margin-bottom: clamp(24px, 4vw, 44px); }
.section-head .eyebrow { margin: 0 0 12px; }
.section-head h2 { margin: 0; font-size: var(--text-xl); }
.section-head .quote { margin: 14px 0 0; max-width: 48ch; color: var(--fg-2); }

/* ---- why / profiles ---- */
.why-section, .jobs-section { border-top: var(--hairline-soft); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 4vw, 44px); }
.why-item { border-top: var(--hairline); padding-top: 18px; }
.why-item__kicker { margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-2); }
.why-item h3 { margin: 0; font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.08; letter-spacing: 0; }
.why-item p:not(.why-item__kicker) { margin: 14px 0 0; color: var(--fg-2); }
.profile-strip { margin-top: clamp(34px, 6vw, 64px); padding-top: clamp(22px, 4vw, 34px); border-top: var(--hairline-soft); }
.profile-strip .eyebrow { margin: 0 0 14px; }
.profile-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: var(--hairline-soft); }
.profile-strip li { padding: 18px 22px 18px 0; border-bottom: var(--hairline-soft); }
.profile-strip span { display: block; margin-bottom: 8px; font-family: var(--font-display); font-size: var(--text-lg); color: var(--fg-1); }
.profile-strip p { margin: 0; color: var(--fg-2); font-size: var(--text-sm); }

/* ---- jobs list (Recruitee widget) ---- */
.jobs-shell { margin-top: 8px; }
.jobs-fallback { color: var(--fg-3); font-size: var(--text-sm); }
.jobs-empty { padding: clamp(28px, 5vw, 56px) 0; }
.jobs-empty-title { font-family: var(--font-display); font-size: var(--text-xl); color: var(--fg-1); margin: 0 0 8px; }
.jobs-empty-sub { color: var(--fg-2); margin: 0 0 22px; max-width: 46ch; }

/* ---- pitch CTA ---- */
.c-cta { border-top: var(--hairline-soft); text-align: center; }
.c-cta .eyebrow { margin: 0 0 14px; }
.c-cta h2 { margin: 0 auto; max-width: 18ch; font-size: var(--text-xl); }
.c-cta p { margin: 16px auto 26px; max-width: 50ch; color: var(--fg-2); }

/* ---- footer: full-width white band (light theme inverts the tokens) ---- */
.site-footer { background: var(--paper); color: var(--fg-1); padding: clamp(24px, 3vw, 40px) 0; }
.site-footer__inner { width: 100%; max-width: min(1120px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.site-footer__legal { margin: 0; font-size: 12px; letter-spacing: 0.02em; color: var(--fg-3); }

@media (max-width: 560px) {
  .c-hero h1 { font-size: var(--text-3xl); }
  .c-actions { flex-direction: column; align-items: stretch; }
  .c-actions .btn { width: 100%; }
  .c-facts div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 900px) {
  .c-hero { grid-template-columns: 1fr; }
  .c-hero__visual { min-height: auto; }
  .why-grid, .profile-strip ul { grid-template-columns: 1fr; }
  .profile-strip li { padding-right: 0; }
}
