/* Durable Careers — style.css */
/* https://durablecareers.com */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --white: #fafaf8;
  --gray: #888;
  --gray-light: #bbb;
  --rule: rgba(0,0,0,0.11);
  --rule-mid: rgba(0,0,0,0.18);
  --text-secondary: #555;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ─── NAVIGATION ──────────────────────────────────── */

.nav {
  border-bottom: 1px solid var(--rule);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--black);
}

.logo-mark {
  width: 34px; height: 34px;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
}

.logo-mark span {
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-links a:hover { color: var(--black); }

.nav-cta {
  font-size: 11px;
  font-weight: 700;
  background: var(--black);
  color: #fff;
  padding: 7px 14px;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-cta:hover { background: #333; }

/* ─── TICKER ──────────────────────────────────────── */

.ticker {
  border-bottom: 1px solid var(--rule);
  height: 34px;
  display: flex;
  align-items: stretch;
}

.ticker-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--black);
  color: #fff;
  padding: 0 14px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  z-index: 2;
}

.ticker-viewport {
  overflow: hidden;
  flex: 1;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  animation: tick 36s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.ticker-item {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--gray);
  padding: 0 20px;
  border-right: 1px solid var(--rule);
  height: 34px;
  line-height: 34px;
  white-space: nowrap;
}

@keyframes tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SHARED SECTION UTILITIES ────────────────────── */

.section { padding: 48px 32px; border-bottom: 1px solid var(--rule); }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: '';
  display: block;
  width: 16px; height: 1px;
  background: var(--black);
}

.section-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray);
  text-decoration: none;
}

.section-link:hover { color: var(--black); }

/* ─── HOMEPAGE HERO ───────────────────────────────── */

.hero {
  border-bottom: 1px solid var(--rule);
  padding: 64px 32px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 260px;
}

.hero-left {
  border-right: 1px solid var(--rule);
  padding-right: 48px;
}

.hero-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--gray);
}

.hero-headline {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: normal;
  border-bottom: 2px solid var(--black);
}

.hero-sub {
  font-size: 14px;
  font-weight: 400;
  color: #444;
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; align-items: center; gap: 16px; }

.btn-primary {
  font-size: 11px;
  font-weight: 700;
  background: var(--black);
  color: #fff;
  padding: 10px 20px;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-primary:hover { background: #333; }

.btn-ghost {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray);
  text-decoration: none;
}

.btn-ghost:hover { color: var(--black); }

.hero-right {
  padding-left: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-stat { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.hero-stat:last-child { border-bottom: none; }

.stat-number {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  line-height: 1.5;
}

/* ─── ARTICLE GRID ────────────────────────────────── */

.articles-primary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
}

.article-card {
  padding: 28px;
  border-right: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background 0.15s;
}

.article-card:last-child { border-right: none; }
.article-card:hover { background: rgba(0,0,0,0.025); }

.articles-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
}

.article-card-sm {
  padding: 20px 22px;
  border-right: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background 0.15s;
}

.article-card-sm:last-child { border-right: none; }
.article-card-sm:hover { background: rgba(0,0,0,0.025); }

.article-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-tag .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--black);
  flex-shrink: 0;
}

.article-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.article-excerpt {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.article-meta {
  font-size: 11px;
  color: var(--gray);
  font-weight: 500;
}

.article-title-sm {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.article-meta-sm { font-size: 11px; color: var(--gray); }

/* ─── ABOUT STRIP ─────────────────────────────────── */

.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--rule);
}

.about-cell {
  padding: 32px;
  border-right: 1px solid var(--rule);
}

.about-cell:last-child { border-right: none; }

.about-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.about-copy {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── NEWSLETTER ──────────────────────────────────── */

.newsletter {
  background: var(--black);
  color: #fff;
  padding: 56px 32px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.nl-left {
  border-right: 1px solid rgba(255,255,255,0.12);
  padding-right: 48px;
}

.nl-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.nl-headline {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.nl-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.nl-right {
  padding-left: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nl-form { display: flex; flex-direction: column; gap: 10px; }

.nl-input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  padding: 11px 14px;
  border-radius: 3px;
  outline: none;
}

.nl-input::placeholder { color: rgba(255,255,255,0.35); }
.nl-input:focus { border-color: rgba(255,255,255,0.5); }

.nl-btn {
  background: #fff;
  color: var(--black);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
}

.nl-btn:hover { background: #eee; }

.nl-terms {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
}

/* ─── FOOTER ──────────────────────────────────────── */

.site-footer {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--gray);
  border-top: 1px solid var(--rule);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo-mark {
  width: 18px; height: 18px;
  background: var(--black);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
}

.footer-logo-mark span {
  color: #fff;
  font-weight: 900;
  font-size: 7px;
}

.footer-nav { display: flex; gap: 20px; }

.footer-nav a {
  color: var(--gray);
  text-decoration: none;
}

.footer-nav a:hover { color: var(--black); }

/* ─── ARTICLE PAGE ────────────────────────────────── */

.article-header {
  border-bottom: 1px solid var(--rule);
  padding: 56px 32px 48px;
  max-width: 740px;
}

.article-header .article-tag { margin-bottom: 20px; }

.article-header h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.article-header .article-dek {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 620px;
}

.article-header .article-byline {
  font-size: 11px;
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-header .article-byline span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-body {
  padding: 48px 32px;
  display: grid;
  grid-template-columns: minmax(0, 660px) 1fr;
  gap: 0;
}

.article-content { padding-right: 48px; border-right: 1px solid var(--rule); }

/* Short answer box */
.short-answer {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--black);
  padding: 20px 24px;
  margin-bottom: 36px;
  border-radius: 0 2px 2px 0;
}

.short-answer-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.short-answer p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--black);
}

/* Article prose */
.article-content h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 16px;
  line-height: 1.25;
}

.article-content h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 28px 0 12px;
}

.article-content p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.article-content a {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: rgba(0,0,0,0.3);
  text-underline-offset: 2px;
}

.article-content a:hover { text-decoration-color: var(--black); }

/* FAQ section */
.faq { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--rule); }

.faq-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-label::before {
  content: '';
  display: block;
  width: 16px; height: 1px;
  background: var(--gray);
}

.faq-item { margin-bottom: 28px; }

.faq-item dt {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.35;
}

.faq-item dd {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-left: 0;
}

/* Article sidebar */
.article-sidebar {
  padding-left: 40px;
}

.sidebar-block {
  margin-bottom: 36px;
}

.sidebar-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-label::before {
  content: '';
  display: block;
  width: 12px; height: 1px;
  background: var(--gray);
}

.sidebar-stat {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

.sidebar-stat:last-child { border-bottom: none; }

.sidebar-stat .number {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.sidebar-stat .label {
  font-size: 11px;
  color: var(--gray);
  margin-top: 3px;
  line-height: 1.45;
}

.related-list { list-style: none; }

.related-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.related-list li:last-child { border-bottom: none; }

.related-list a {
  text-decoration: none;
  color: var(--black);
}

.related-list a:hover { color: var(--gray); }

/* ─── ABOUT PAGE ──────────────────────────────────── */

.about-hero {
  border-bottom: 1px solid var(--rule);
  padding: 64px 32px 56px;
  max-width: 680px;
}

.about-body {
  padding: 48px 32px;
  display: grid;
  grid-template-columns: minmax(0, 620px) 1fr;
  gap: 0;
}

.about-content { padding-right: 48px; border-right: 1px solid var(--rule); }

.about-content p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.about-content h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 16px;
}

/* ─── ARCHIVE PAGE ────────────────────────────────── */

.archive-list { padding: 0 32px 48px; }

.archive-row {
  display: grid;
  grid-template-columns: 120px 1fr 100px;
  gap: 0;
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
  text-decoration: none;
  color: inherit;
  align-items: baseline;
  transition: background 0.1s;
}

.archive-row:hover { background: rgba(0,0,0,0.02); }

.archive-date { font-size: 11px; color: var(--gray); font-weight: 500; }

.archive-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0 24px;
}

.archive-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: right;
}

/* ─── UTILITY ─────────────────────────────────────── */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── RESPONSIVE ──────────────────────────────────── */

@media (max-width: 768px) {
  .nav { padding: 0 16px; }
  .nav-links { display: none; }

  .hero {
    grid-template-columns: 1fr;
    padding: 36px 16px 32px;
  }
  .hero-left { border-right: none; padding-right: 0; border-bottom: 1px solid var(--rule); padding-bottom: 32px; margin-bottom: 28px; }
  .hero-right { padding-left: 0; }
  .hero-headline { font-size: 26px; }

  .articles-primary,
  .articles-secondary { grid-template-columns: 1fr; }
  .article-card { border-right: none; border-bottom: 1px solid var(--rule); }
  .article-card:last-child { border-bottom: none; }
  .article-card-sm { border-right: none; border-bottom: 1px solid var(--rule); }
  .article-card-sm:last-child { border-bottom: none; }

  .about-strip { grid-template-columns: 1fr; }
  .about-cell { border-right: none; border-bottom: 1px solid var(--rule); }
  .about-cell:last-child { border-bottom: none; }

  .newsletter { grid-template-columns: 1fr; padding: 36px 16px; }
  .nl-left { border-right: none; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 32px; margin-bottom: 28px; }
  .nl-right { padding-left: 0; }

  .section { padding: 36px 16px; }

  .article-header { padding: 36px 16px 32px; }
  .article-header h1 { font-size: 24px; }
  .article-body { grid-template-columns: 1fr; padding: 32px 16px; }
  .article-content { padding-right: 0; border-right: none; padding-bottom: 40px; }
  .article-sidebar { padding-left: 0; border-top: 1px solid var(--rule); padding-top: 32px; }

  .about-body { grid-template-columns: 1fr; padding: 32px 16px; }
  .about-content { padding-right: 0; border-right: none; }

  .archive-row { grid-template-columns: 1fr; gap: 4px; }
  .archive-title { padding: 4px 0; }
  .archive-tag { text-align: left; }

  .site-footer { flex-direction: column; gap: 16px; align-items: flex-start; padding: 20px 16px; }
}
