:root {
  --ink: #141313;
  --ink-2: #211F1E;
  --ink-soft: #55504B;
  --concrete: #F8F6F4;
  --concrete-deep: #EFEBE7;
  --signal: #FF3D24;
  --signal-ink: #C42A16;
  --signal-tint: #FFE4DE;
  --paper: #FFFFFF;
  --rule: #DDD6CE;
  --rule-dark: #34302D;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--concrete);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 720px; }

/* ---------- Nav ---------- */

.nav {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}
.brand {
  font-family: "Poppins", "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--signal); }
.navlinks {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}
.navlinks a {
  font-family: "Poppins", "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 3px 0;
  border-bottom: 2px solid transparent;
}
.navlinks a:hover, .navlinks a:focus { color: var(--ink); border-bottom-color: var(--signal); }
.navlinks a.on { color: var(--ink); border-bottom-color: var(--signal); }
.navlinks a.cta {
  color: var(--ink);
  background: var(--signal);
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
}
.navlinks a.cta:hover, .navlinks a.cta:focus { background: var(--ink); color: var(--paper); }

/* ---------- Hero ---------- */

.hero { background: var(--ink); color: var(--paper); padding: 64px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: max(2vw, calc((100vw - 1060px) / 2)); bottom: -6px; width: 360px; height: 310px; background: url(bars.svg) no-repeat right bottom / contain; opacity: 0.9; pointer-events: none; }
@media (max-width: 880px) { .hero::after { width: 180px; height: 155px; opacity: 0.35; } }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-family: "Poppins", "DM Sans", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 7.5vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  max-width: 16ch;
}
.hero p { color: #C9C3BD; font-size: 1.16rem; max-width: 54ch; margin: 0 0 26px; }
.hero .rule { width: 72px; height: 5px; background: var(--signal); margin-bottom: 26px; }

.hero-sub { background: var(--ink); color: var(--paper); padding: 40px 0 54px; }

/* ---------- Sections ---------- */

section { padding: 48px 0; }
section + section { border-top: 1px solid var(--rule); }
section.dark { background: var(--ink); color: var(--paper); border-top: none; }
section.dark h2 { color: var(--paper); }
section.dark p { color: #C9C3BD; }
section.deep { background: var(--concrete-deep); border-top: none; }

h2::before { content: ""; display: block; width: 44px; height: 5px; background: var(--signal); margin-bottom: 14px; }
h2 {
  font-family: "Poppins", "DM Sans", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.85rem;
  line-height: 1.1;
  margin: 0 0 20px;
}
h3 {
  font-family: "Poppins", "DM Sans", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  margin: 0 0 6px;
}
p { margin: 0 0 15px; max-width: 64ch; }
p:last-child { margin-bottom: 0; }
.lede { font-size: 1.14rem; }

/* ---------- Grid ---------- */

.grid { display: grid; gap: 2px; background: var(--rule); margin-top: 26px; }
@media (min-width: 720px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 620px) { .grid.two { grid-template-columns: repeat(2, 1fr); } }
.grid > div { background: var(--concrete); padding: 24px 22px; }
section.deep .grid { background: var(--rule); }
section.deep .grid > div { background: var(--concrete-deep); }
section.dark .grid { background: var(--rule-dark); }
section.dark .grid > div { background: var(--ink); }
.grid p { font-size: 0.99rem; color: var(--ink-soft); margin: 0; }
.grid > div { border-top: 3px solid transparent; }
.grid > div:hover { border-top-color: var(--signal); }
section.dark .grid p { color: #B3ADA7; }

/* ---------- Lists ---------- */

.rows { list-style: none; margin: 24px 0 0; padding: 0; }
.rows li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.rows li:first-child { border-top: 2px solid var(--ink); }
.rows b {
  font-family: "Poppins", "DM Sans", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 2px;
}

.markers { list-style: none; padding: 0; margin: 22px 0 0; border-top: 2px solid var(--ink); }
.markers li {
  padding: 13px 0 13px 32px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  font-weight: 500;
}
.markers li::before {
  content: ""; position: absolute; left: 3px; top: 50%;
  width: 14px; height: 2px; background: var(--ink); transform: translateY(-50%);
}

/* ---------- Stat strip ---------- */

.stats { display: grid; gap: 2px; background: var(--rule-dark); margin-top: 30px; }
@media (min-width: 620px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats > div { background: var(--ink); padding: 22px; }
.stats .fig {
  font-family: "Poppins", "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--signal);
  display: block;
  margin-bottom: 6px;
}
.stats .cap { font-size: 0.95rem; color: #B3ADA7; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--signal);
  color: var(--ink);
  font-family: "Poppins", "DM Sans", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.06em;
  padding: 15px 32px;
  border-radius: 4px;
  text-decoration: none;
  border: 3px solid var(--signal);
}
.btn:hover, .btn:focus { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }
.btn.light { border-color: var(--ink); }
.btn.light:hover, .btn.light:focus { color: var(--ink); background: transparent; }

a { color: inherit; }
section.dark a { color: var(--signal); }

/* ---------- Contact ---------- */

.contactrows { list-style: none; padding: 0; margin: 26px 0 0; }
.contactrows li { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.contactrows li:first-child { border-top: 2px solid var(--ink); }
.contactrows b {
  font-family: "Poppins", "DM Sans", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 3px;
}
.contactrows a { font-size: 1.1rem; }

/* ---------- Footer ---------- */

footer {
  background: var(--ink);
  color: #9A938C;
  font-size: 0.9rem;
  padding: 34px 0 44px;
  border-top: 1px solid var(--rule-dark);
}
footer p { margin: 0 0 5px; }
footer a { color: #C9C3BD; }
footer .fmark { height: 34px; width: auto; margin-bottom: 12px; display: block; }

@media (min-width: 640px) {
  body { font-size: 18px; }
  .wrap { padding: 0 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- Careers page specifics ---------- */

.hero .mark {
  font-family: "Poppins", "DM Sans", sans-serif;
  font-weight: 600; font-size: 15px; letter-spacing: 0.09em;
  color: var(--signal); text-transform: uppercase;
}
.hero .where { font-size: 1.05rem; color: #C9C3BD; margin: 16px 0 34px; }

.payblock {
  background: var(--signal); color: var(--ink); border-radius: 6px; position: relative; z-index: 1;
  margin: 0 -22px; padding: 26px 22px;
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.payblock .amount {
  font-family: "Poppins", "DM Sans", sans-serif; font-weight: 800;
  font-size: clamp(3.2rem, 15vw, 4.6rem); line-height: 0.9; letter-spacing: -0.02em;
}
.payblock .per {
  font-family: "Poppins", "DM Sans", sans-serif; font-weight: 600;
  font-size: 1.2rem; line-height: 1.1; text-transform: uppercase;
}
.payblock .note { flex-basis: 100%; font-size: 0.95rem; font-weight: 500; margin-top: 10px; }

.not { list-style: none; padding: 0; margin: 20px 0 0; border-top: 2px solid var(--ink); }
.not li { padding: 13px 0 13px 34px; border-bottom: 1px solid var(--rule); position: relative; font-weight: 500; }
.not li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 15px; height: 2px; background: var(--ink); transform: translateY(-50%); }

.board { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-top: 6px; }
.board th {
  font-family: "Poppins", "DM Sans", sans-serif; font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.06em; text-transform: uppercase; text-align: left;
  padding: 9px 12px; background: var(--ink); color: var(--paper);
}
.board th:last-child { text-align: right; }
.board td { padding: 11px 12px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.board td:last-child { text-align: right; font-weight: 600; font-family: "Poppins", "DM Sans", sans-serif; font-size: 1.25rem; }
.board tr.peak td { background: var(--signal-tint); font-weight: 600; }
.after-board { margin-top: 16px; font-size: 0.97rem; color: var(--ink-soft); }

.provided { margin: 0; padding: 0; list-style: none; }
.provided li { padding: 15px 0; border-bottom: 1px solid var(--rule); }
.provided li:first-child { border-top: 1px solid var(--rule); }
.provided b {
  font-family: "Poppins", "DM Sans", sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: 1.12rem; letter-spacing: 0.02em; display: block; margin-bottom: 2px;
}

.track { margin-top: 4px; }
.step { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.step:first-child { border-top: 2px solid var(--ink); }
.step h3 { margin: 0 0 4px; font-size: 1.4rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.99rem; }

.honest { background: var(--concrete-deep); margin: 0 -22px; padding: 40px 22px; }
.honest ul { margin: 0; padding-left: 20px; }
.honest li { margin-bottom: 11px; max-width: 60ch; }
.honest li:last-child { margin-bottom: 0; }

.apply { background: var(--ink); color: var(--paper); padding: 52px 0; }
.apply h2 { color: var(--paper); }
.apply p { color: #C9C3BD; margin-bottom: 26px; }
.direct { margin-top: 28px; font-size: 0.97rem; color: #C9C3BD; }
.direct a { color: var(--signal); }

@media (min-width: 640px) {
  .payblock, .honest { margin: 0 -34px; padding-left: 34px; padding-right: 34px; }
}

/* ---------- Brand ---------- */
.brand img { height: 34px; width: auto; display: block; }
.eyebrow { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); margin: 0 0 14px; }
.hero h1 { text-shadow: 4px 4px 0 rgba(255, 61, 36, 0.28); }
.creds { display: grid; gap: 2px; background: var(--rule); margin-top: 24px; }
@media (min-width: 620px) { .creds { grid-template-columns: repeat(3, 1fr); } }
.creds > div { background: var(--paper); padding: 22px; }
.creds .fig { font-family: "Poppins", sans-serif; font-weight: 800; font-size: 2rem; line-height: 1; color: var(--signal-ink); display: block; margin-bottom: 6px; }
.creds .cap { font-size: 0.93rem; color: var(--ink-soft); }
.bio-title { font-size: 0.86rem; color: var(--signal-ink); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; display: block; margin: -2px 0 6px; }
section.dark a.btn, .apply a.btn { color: var(--ink); }
section.dark a.btn:hover, .apply a.btn:hover { color: var(--ink); }
.creds { margin-bottom: 26px; }
@media (min-width: 881px) { .hero p { max-width: 46ch; } .hero h1 { max-width: 14ch; } }
.hero:has(.payblock)::after { display: none; }
