/* ============================================================
   Sullivan Mahoney Careers — Brand stylesheet
   Layered on top of Bootstrap 5
   ============================================================ */

:root {
  --sm-charcoal: #2A2A2B;
  --sm-charcoal-700: #3a3a3b;
  --sm-charcoal-500: #6F6B66;
  --sm-gold: #FBB040;
  --sm-gold-600: #e89a1f;
  --sm-gold-100: #fff4dd;
  --sm-paper: #FAF8F5;
  --sm-paper-2: #F2EEE6;
  --sm-border: #E6E2DB;
  --sm-border-strong: #D6D1C7;
  --sm-white: #FFFFFF;

  --bs-primary: var(--sm-charcoal);
  --bs-primary-rgb: 42, 42, 43;
  --bs-body-color: #1f1f20;
  --bs-body-bg: var(--sm-white);
  --bs-link-color: var(--sm-charcoal);
  --bs-link-hover-color: var(--sm-gold-600);
  --bs-border-color: var(--sm-border);
  --bs-border-radius: 2px;
  --bs-border-radius-sm: 2px;
  --bs-border-radius-lg: 3px;

  --sm-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sm-font-serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
}

html, body { font-family: var(--sm-font-sans); color: #1f1f20; }
body { background: var(--sm-white); }
.sm-hr-body { background: #fbfaf8; }
.sm-hr-body main {
  background:
    radial-gradient(circle at 92% 0, rgba(251,176,64,.055), transparent 24rem),
    linear-gradient(180deg, #fcfbf9 0%, #fbfaf8 18rem, #fbfaf8 100%);
  min-height: calc(100vh - 154px);
}
.sm-hr-body main > section.py-5 {
  padding-bottom: 4.5rem !important;
  padding-top: 2.8rem !important;
}
.sm-hr-body main > section.py-4 {
  background:
    radial-gradient(circle at 90% 20%, rgba(251,176,64,.075), transparent 24rem),
    linear-gradient(180deg, #fcfbf9 0%, #fbfaf8 100%) !important;
  border-bottom: 1px solid var(--sm-border) !important;
  padding-bottom: 2rem !important;
  padding-top: 2.6rem !important;
}
.sm-hr-body main > section.py-4 h1 {
  font-size: clamp(2.25rem, 3.5vw, 3.1rem);
  line-height: 1.06;
  margin: .35rem 0 .65rem;
}

h1, h2, h3, .display-1, .display-2, .display-3, .display-4, .display-5 {
  font-family: var(--sm-font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--sm-charcoal);
}
h4, h5, h6 { font-family: var(--sm-font-sans); font-weight: 600; color: var(--sm-charcoal); }

.text-muted { color: var(--sm-charcoal-500) !important; }
.eyebrow {
  font-family: var(--sm-font-sans);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--sm-charcoal-500);
}
.eyebrow--gold { color: var(--sm-gold-600); }

/* ---------- Top nav (public — dark) ---------- */
.sm-navbar {
  background: var(--sm-charcoal);
  border-bottom: 3px solid var(--sm-gold);
  padding: 0;
}
.sm-navbar .navbar-brand { padding: 1.1rem 0; }
.sm-navbar .navbar-brand img { height: 32px; width: auto; display: block; filter: brightness(0) invert(1); }
.sm-navbar .navbar-toggler { border-color: rgba(255,255,255,.3); }
.sm-navbar .navbar-toggler-icon { filter: invert(1); }
.sm-navbar .nav-link {
  color: rgba(255,255,255,.8);
  font-weight: 500;
  font-size: .95rem;
  padding: 1.4rem 1rem !important;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.sm-navbar .nav-link:hover { color: var(--sm-gold); }
.sm-navbar .nav-link.active {
  color: var(--sm-gold);
  border-bottom-color: var(--sm-gold);
}

/* ---------- Sign-out button (HR nav) ---------- */
.sm-signout-btn {
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.2);
  padding: .3rem .75rem;
  background: transparent;
  transition: color .12s, border-color .12s;
}
.sm-signout-btn:hover {
  color: var(--sm-gold);
  border-color: rgba(251,176,64,.5);
}

/* ---------- HR top nav (charcoal) ---------- */
.sm-navbar--hr {
  background:
    radial-gradient(circle at 20% 0, rgba(255,255,255,.08), transparent 28%),
    linear-gradient(180deg, #161718 0%, #111213 100%);
  border-bottom: 0;
  box-shadow: 0 12px 28px -26px rgba(0,0,0,.65);
}
.sm-navbar--hr .container-xl { min-height: 88px; }
.sm-navbar--hr .navbar-brand,
.sm-navbar--hr .nav-link { color: rgba(255,255,255,.85); }
.sm-navbar--hr .navbar-brand { gap: 1.25rem; padding: 1rem 0; }
.sm-navbar--hr .navbar-brand img { height: 47px; filter: brightness(0) invert(1); }
.sm-navbar--hr .nav-link:hover { color: var(--sm-gold); }
.sm-navbar--hr .nav-link.active { color: var(--sm-white); border-bottom-color: var(--sm-gold); }
.sm-hr-brand-divider {
  align-self: stretch;
  border-left: 1px solid rgba(255,255,255,.28);
  min-height: 52px;
}
.sm-navbar--hr .sm-area-tag {
  border: 1px solid rgba(251,176,64,.75);
  border-radius: 3px;
  color: var(--sm-gold);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1;
  margin-left: 0;
  padding: .85rem 1.15rem;
  text-transform: uppercase;
}
.sm-hr-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.35rem;
}
.sm-public-link {
  color: rgba(255,255,255,.92);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.sm-public-link:hover { color: var(--sm-gold); }
.sm-hr-menu-bar {
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(214,209,199,.7);
  box-shadow: 0 12px 28px -28px rgba(42,42,43,.45);
  padding: 0;
}
.sm-hr-section-nav {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: .25rem;
  overflow-x: auto;
  scrollbar-width: thin;
}
.sm-hr-section-link {
  align-items: center;
  display: inline-flex;
  flex: 1 1 0;
  gap: .75rem;
  justify-content: center;
  color: #3e4144;
  font-size: 1rem;
  font-weight: 600;
  min-width: max-content;
  padding: 1.25rem .75rem;
  position: relative;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.sm-hr-section-link svg,
.sm-signout-btn svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.sm-hr-section-link svg { height: 24px; width: 24px; color: #595d60; }
.sm-signout-btn svg { height: 18px; width: 18px; }
.sm-hr-section-link:hover,
.sm-hr-section-link:focus {
  background: rgba(250,248,245,.78);
  color: var(--sm-gold-600);
}
.sm-hr-section-link:hover svg,
.sm-hr-section-link:focus svg { color: var(--sm-gold-600); }
.sm-hr-section-link.active {
  color: #111213;
  font-weight: 700;
}
.sm-hr-section-link.active svg { color: #111213; }
.sm-hr-section-link.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--sm-gold);
}
.sm-signout-btn {
  align-items: center;
  border-color: rgba(255,255,255,.34);
  color: rgba(255,255,255,.94);
  display: inline-flex;
  gap: .6rem;
  padding: .7rem 1.05rem;
}

@media (max-width: 575.98px) {
  .sm-navbar--hr .container-xl {
    align-items: flex-start;
    flex-direction: column;
    gap: .75rem;
    padding-bottom: .85rem;
    padding-top: .85rem;
  }
  .sm-navbar--hr .navbar-brand { padding: 0; }
  .sm-navbar--hr .navbar-brand img { height: 38px; }
  .sm-hr-brand-divider { display: none; }
  .sm-hr-actions {
    justify-content: space-between;
    width: 100%;
  }
  .sm-hr-section-nav {
    justify-content: flex-start;
    margin-inline: -.75rem;
    padding-inline: .75rem;
  }
  .sm-hr-section-link {
    flex: 0 0 auto;
    padding-inline: .85rem;
  }
}

/* ---------- Hero ---------- */
.sm-hero {
  background: var(--sm-paper);
  border-bottom: 1px solid var(--sm-border);
  padding: 4.5rem 0 4rem;
  position: relative;
}
.sm-hero::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 64px; height: 4px;
  background: var(--sm-gold);
}
.sm-hero h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1.05; margin-bottom: 1rem; }
.sm-hero .lead { font-size: 1.15rem; color: var(--sm-charcoal-500); max-width: 38rem; }

/* ---------- Section header rule ---------- */
.sm-section-head {
  position: relative;
  padding-top: 1.25rem;
  margin-bottom: 1.75rem;
}
.sm-section-head::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 36px; height: 3px;
  background: var(--sm-gold);
}

/* ---------- Job cards ---------- */
.sm-job-card {
  background: var(--sm-white);
  border: 1px solid var(--sm-border);
  border-left: 3px solid transparent;
  padding: 1.5rem 1.5rem 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.sm-job-card:hover {
  border-left-color: var(--sm-gold);
  box-shadow: 0 8px 24px -16px rgba(42,42,43,.25);
}
.sm-job-card__title {
  font-family: var(--sm-font-serif);
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: .35rem;
}
.sm-job-card__meta {
  display: flex; flex-wrap: wrap; gap: 1rem;
  color: var(--sm-charcoal-500);
  font-size: .875rem;
  margin: .9rem 0 1rem;
}
.sm-job-card__meta .meta-item { display: inline-flex; align-items: center; gap: .4rem; }
.sm-job-card__meta svg { width: 14px; height: 14px; opacity: .7; }
.sm-job-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--sm-border);
}
.sm-job-card__closes { font-size: .8rem; color: var(--sm-charcoal-500); }
.sm-job-card__closes b { color: var(--sm-charcoal); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn-primary, .btn-sm-primary {
  background: var(--sm-charcoal);
  border-color: var(--sm-charcoal);
  color: #fff;
  font-weight: 500;
  letter-spacing: .01em;
  padding: .55rem 1.1rem;
}
.btn-primary:hover, .btn-sm-primary:hover {
  background: #000;
  border-color: #000;
  color: var(--sm-gold);
}
.btn-outline-primary {
  border-color: var(--sm-charcoal);
  color: var(--sm-charcoal);
}
.btn-outline-primary:hover { background: var(--sm-charcoal); color: #fff; }
.btn-outline-gold {
  border-color: var(--sm-gold);
  color: var(--sm-charcoal);
  background: transparent;
  font-weight: 500;
  transition: background .12s, color .12s;
}
.btn-outline-gold:hover,
.btn-outline-gold:active,
.btn-outline-gold.active {
  background: var(--sm-gold);
  border-color: var(--sm-gold);
  color: var(--sm-charcoal);
  font-weight: 600;
}
.btn-gold {
  background: var(--sm-gold);
  border: 1px solid var(--sm-gold);
  color: var(--sm-charcoal);
  font-weight: 600;
  padding: .55rem 1.2rem;
}
.btn-gold:hover { background: var(--sm-gold-600); border-color: var(--sm-gold-600); color: var(--sm-charcoal); }
/* ---------- btn-check pill selectors (location, employment type) ---------- */
.btn-check + .btn-outline-secondary {
  border-color: var(--sm-border-strong);
  color: var(--sm-charcoal-500);
  background: #fff;
  font-weight: 500;
  transition: border-color .12s, background .12s, color .12s;
}
.btn-check + .btn-outline-secondary:hover {
  border-color: var(--sm-charcoal);
  color: var(--sm-charcoal);
  background: var(--sm-paper);
}
.btn-check:checked + .btn-outline-secondary {
  background: var(--sm-charcoal) !important;
  border-color: var(--sm-charcoal) !important;
  color: var(--sm-gold) !important;
  font-weight: 600;
}

.btn-link.sm-link {
  color: var(--sm-charcoal);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--sm-gold);
  padding: 0; border-radius: 0;
}
.btn-link.sm-link:hover { color: var(--sm-gold-600); }

/* ---------- Badges ---------- */
.badge { font-weight: 500; padding: .35em .6em; letter-spacing: .02em; font-size: .72rem; text-transform: uppercase; border-radius: 2px; }
.badge.bg-category {
  background: var(--sm-gold-100);
  color: #7a5310;
  border: 1px solid #f0d99a;
}
.badge.bg-secondary { background: #e9e6e0 !important; color: #4a4844 !important; }
.badge.bg-primary   { background: #2A2A2B !important; color: #fff !important; }
.badge.bg-info      { background: #dceaf3 !important; color: #1d4f70 !important; }
.badge.bg-warning   { background: #FBB040 !important; color: #1f1f20 !important; }
.badge.bg-danger    { background: #c0392b !important; color: #fff !important; }
.badge.bg-success   { background: #2d6a4f !important; color: #fff !important; }
.badge.bg-dark      { background: #1f1f20 !important; color: #fff !important; }

/* ---------- Job detail ---------- */
.sm-detail-bar {
  background: var(--sm-paper);
  border-bottom: 1px solid var(--sm-border);
  padding: 2.5rem 0 2rem;
  position: relative;
}
.sm-detail-bar::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 64px; height: 4px; background: var(--sm-gold);
}
.sm-detail-bar h1 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: .5rem; }
.sm-detail-meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  color: var(--sm-charcoal-500);
  font-size: .9rem;
  margin-top: 1.25rem;
}
.sm-detail-meta .meta-item { display: inline-flex; align-items: center; gap: .45rem; }
.sm-detail-meta .meta-item b { color: var(--sm-charcoal); font-weight: 600; }

.sm-prose h2 { font-size: 1.4rem; margin: 2rem 0 .8rem; }
.sm-prose h2:first-child { margin-top: 0; }
.sm-prose p, .sm-prose li { line-height: 1.7; color: #2c2c2d; }
.sm-prose ul { padding-left: 1.1rem; }
.sm-prose ul li { margin-bottom: .35rem; }

.sm-apply-cta {
  border-top: 1px solid var(--sm-border);
  padding-top: 2rem;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Forms ---------- */
.form-label { font-weight: 500; color: var(--sm-charcoal); font-size: .9rem; margin-bottom: .35rem; }
.form-control, .form-select {
  border: 1px solid var(--sm-border-strong);
  border-radius: 2px;
  padding: .55rem .75rem;
  font-size: .95rem;
  background: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--sm-charcoal);
  box-shadow: 0 0 0 3px rgba(251,176,64,.25);
}
.form-check-input:checked { background-color: var(--sm-charcoal); border-color: var(--sm-charcoal); }
.form-check-input:focus { border-color: var(--sm-charcoal); box-shadow: 0 0 0 3px rgba(251,176,64,.25); }
.required-marker { color: #c0392b; margin-left: 2px; }
.sm-form-card {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: 7px;
  box-shadow: 0 12px 34px -30px rgba(42,42,43,.5);
  padding: 2rem 2.25rem;
}
.sm-form-fieldset { padding-top: 1.25rem; }
.sm-form-fieldset + .sm-form-fieldset {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--sm-border);
}
.sm-form-fieldset legend {
  font-family: var(--sm-font-sans);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--sm-charcoal-500);
  margin-bottom: 1rem;
}
.sm-file-hint {
  font-size: .8rem;
  color: var(--sm-charcoal-500);
  margin-top: .35rem;
}
.sm-summary-card {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: 7px;
  box-shadow: 0 12px 34px -30px rgba(42,42,43,.5);
  padding: 1.5rem;
}
.sm-summary-card .eyebrow { margin-bottom: .25rem; }
.sm-summary-card h3 { font-size: 1.25rem; line-height: 1.25; margin: 0 0 .75rem; }
.sm-summary-card dl { margin: 0; font-size: .9rem; }
.sm-summary-card dt { font-weight: 500; color: var(--sm-charcoal-500); padding: .5rem 0 0; }
.sm-summary-card dd { margin: 0 0 .25rem; color: var(--sm-charcoal); font-weight: 500; }

/* ---------- Confirmation ---------- */
.sm-confirm-card {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-top: 4px solid var(--sm-gold);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 560px;
  margin: 4rem auto;
}
.sm-confirm-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--sm-gold-100);
  color: var(--sm-gold-600);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.sm-confirm-ref {
  display: inline-block;
  font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 1.05rem;
  background: var(--sm-paper);
  padding: .5rem 1rem;
  border: 1px solid var(--sm-border);
  margin-top: 1rem;
  letter-spacing: .04em;
}

/* ---------- HR dashboard ---------- */
.sm-dashboard-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(251,176,64,.08), transparent 26rem),
    linear-gradient(180deg, #fcfbf9 0%, #fbfaf8 100%);
  border-bottom: 1px solid var(--sm-border);
  padding: 3rem 0 1.9rem;
}
.sm-dashboard-heading {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.sm-dashboard-heading h1 {
  font-size: clamp(2.5rem, 4vw, 3.45rem);
  line-height: 1.05;
  margin: .45rem 0 .75rem;
}
.sm-dashboard-date {
  align-items: center;
  color: #64686a;
  display: flex;
  font-size: 1.05rem;
  gap: .55rem;
  margin: 0;
}
.sm-dashboard-date svg,
.sm-dashboard-actions .btn svg,
.sm-stat-icon svg,
.sm-panel-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.sm-dashboard-date svg { height: 20px; width: 20px; }
.sm-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}
.sm-dashboard-actions .btn {
  align-items: center;
  border-radius: 3px;
  display: inline-flex;
  gap: .65rem;
  min-height: 48px;
  padding-inline: 1.25rem;
}
.sm-dashboard-actions .btn svg { height: 21px; width: 21px; }
.sm-dashboard-actions .btn-primary svg { color: var(--sm-gold); }
.sm-dashboard-stats { margin-top: 1.5rem; }
.sm-dashboard-body {
  background: #fbfaf8;
  padding: 1.8rem 0 4.5rem;
}
.sm-stat-card {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-left: 3px solid var(--sm-gold);
  border-radius: 6px;
  box-shadow: 0 10px 28px -24px rgba(42,42,43,.55);
  display: flex;
  gap: 1.5rem;
  min-height: 148px;
  padding: 1.65rem 1.75rem;
  position: relative;
  height: 100%;
}
.sm-stat-icon {
  align-items: center;
  background: #f6efe4;
  border: 1px solid #eadbc6;
  border-radius: 50%;
  color: #9c7337;
  display: inline-flex;
  flex: 0 0 auto;
  height: 68px;
  justify-content: center;
  width: 68px;
}
.sm-stat-icon svg { height: 34px; width: 34px; }
.sm-stat-card .label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #3d3f42;
}
.sm-stat-card .value {
  font-family: var(--sm-font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  color: #111213;
  line-height: 1.1;
  margin: .45rem 0 .25rem;
}
.sm-stat-card .trend { font-size: .9rem; color: var(--sm-charcoal-500); }
.sm-stat-card .trend.up { color: #2d6a4f; }
.sm-stat-card .trend.warn { color: #c47700; }
.sm-dashboard-panel {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: 7px;
  box-shadow: 0 12px 34px -28px rgba(42,42,43,.5);
  padding: 1.55rem 1.55rem 1.35rem;
}
.sm-dashboard-panel-head {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}
.sm-panel-title {
  align-items: center;
  display: flex;
  gap: .9rem;
}
.sm-panel-title h2 {
  font-size: 1.8rem;
  line-height: 1.1;
  margin: 0;
}
.sm-panel-icon {
  align-items: center;
  background: #f6efe4;
  border: 1px solid #eadbc6;
  border-radius: 4px;
  color: #9c7337;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}
.sm-panel-icon svg { height: 24px; width: 24px; }
.sm-panel-link {
  color: #805719;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.sm-panel-link:hover { color: var(--sm-gold-600); }
.sm-table-frame {
  border: 1px solid var(--sm-border);
  border-radius: 4px;
  overflow: hidden;
}

.sm-hr-page-head {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.sm-hr-page-head h1 {
  font-size: clamp(2.25rem, 3.4vw, 3.05rem);
  line-height: 1.06;
  margin: .25rem 0 .45rem;
}
.sm-hr-page-head .crumbs {
  color: var(--sm-gold-600);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  margin-bottom: .35rem;
  text-transform: uppercase;
}
.sm-hr-page-head .crumbs a { color: inherit; text-decoration: none; }
.sm-hr-page-head .crumbs a:hover { color: var(--sm-charcoal); }
.sm-hr-page-head .btn {
  align-items: center;
  border-radius: 3px;
  display: inline-flex;
  gap: .55rem;
  min-height: 46px;
  white-space: nowrap;
}

/* ---------- HR tables ---------- */
.sm-table {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: 7px;
  box-shadow: 0 12px 34px -30px rgba(42,42,43,.5);
  overflow: hidden;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.sm-table thead th {
  background: #fbfaf8;
  border-bottom: 1px solid var(--sm-border);
  color: var(--sm-charcoal-500);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  padding: 1rem 1.25rem;
  text-align: left;
}
.sm-table tbody td {
  border-bottom: 1px solid var(--sm-border);
  padding: 1rem 1.25rem;
  font-size: .95rem;
  vertical-align: middle;
}
.sm-table tbody tr:last-child td { border-bottom: 0; }
.sm-table tbody tr:hover td { background: #fbfaf8; }
.sm-table .applicant-name { font-weight: 600; color: var(--sm-charcoal); }
.sm-table .applicant-email { color: var(--sm-charcoal-500); font-size: .88rem; margin-top: .12rem; }
.sm-table .col-actions { text-align: right; white-space: nowrap; }
.sm-table .col-num { text-align: right; font-variant-numeric: tabular-nums; }
.sm-table .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  color: var(--sm-charcoal);
}
.sm-table .check.off { color: var(--sm-border-strong); }
.sm-table .row-link { color: var(--sm-charcoal); font-weight: 600; text-decoration: none; }
.sm-table .row-link:hover { color: var(--sm-gold-600); }
.sm-icon-btn {
  border: 1px solid #343638;
  border-radius: 3px;
  background: #fff;
  color: var(--sm-charcoal);
  padding: .48rem .85rem;
  font-size: .86rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .25rem;
}
.sm-icon-btn:hover { border-color: var(--sm-charcoal); color: var(--sm-charcoal); }
.sm-icon-btn.danger:hover { border-color: #c0392b; color: #c0392b; }

@media (max-width: 991.98px) {
  .sm-hr-page-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .sm-hr-page-head .btn { width: auto; }
  .sm-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* ---------- Filter bar ---------- */
.sm-filter-bar {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: 7px;
  box-shadow: 0 12px 34px -30px rgba(42,42,43,.5);
  padding: 1.15rem 1.25rem;
  display: flex;
  gap: .85rem;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.sm-filter-bar .field { display: flex; flex-direction: column; min-width: 200px; }
.sm-filter-bar .field label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sm-charcoal-500); margin-bottom: .35rem; }
.sm-filter-bar .count {
  margin-left: auto;
  font-size: .85rem;
  color: var(--sm-charcoal-500);
}
.sm-filter-bar .count b { color: var(--sm-charcoal); font-weight: 600; }

/* ---------- Status pills (slightly different look) ---------- */
.status-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .25rem .55rem;
  font-size: .72rem;
  letter-spacing: .06em;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
}
.status-pill::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.status-submitted          { background: #f1eee7; color: #4a4844; border-color: #e3ddd1; }
.status-open               { background: #f1eee7; color: #4a4844; border-color: #e3ddd1; }
.status-underreview        { background: #2A2A2B; color: #fff; border-color: #2A2A2B; }
.status-shortlisted        { background: #e6f0f7; color: #1d4f70; border-color: #c9def0; }
.status-interviewscheduled { background: #fff4dd; color: #7a5310; border-color: #f0d99a; }
.status-rejected           { background: #f7e2de; color: #8a2a1d; border-color: #ecb8af; }
.status-hired              { background: #d9ebe0; color: #1f5037; border-color: #a8d2b8; }
.status-withdrawn          { background: #2c2c2d; color: #d4d2cd; border-color: #2c2c2d; }

/* ---------- Application detail ---------- */
.sm-side-card {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: 7px;
  box-shadow: 0 12px 34px -30px rgba(42,42,43,.5);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.sm-side-card h3 {
  font-family: var(--sm-font-sans);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--sm-charcoal-500);
  font-weight: 600;
  border-bottom: 1px solid var(--sm-border);
  padding-bottom: .65rem;
  margin-bottom: 1rem;
}
.sm-side-card dl { margin: 0; }
.sm-side-card dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sm-charcoal-500); margin-top: .85rem; }
.sm-side-card dt:first-child { margin-top: 0; }
.sm-side-card dd { margin: .2rem 0 0; color: var(--sm-charcoal); font-weight: 500; font-size: .95rem; }
.sm-side-card .applicant-headline {
  font-family: var(--sm-font-serif);
  font-size: 1.5rem;
  color: var(--sm-charcoal);
  margin-bottom: .15rem;
}

.sm-timeline { position: relative; padding-left: 1.25rem; margin: 0; list-style: none; }
.sm-timeline::before {
  content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--sm-border-strong);
}
.sm-timeline li { position: relative; padding: 0 0 1rem; }
.sm-timeline li::before {
  content: ""; position: absolute; left: -1.25rem; top: 6px; width: 11px; height: 11px; border-radius: 50%;
  background: #fff; border: 2px solid var(--sm-border-strong);
}
.sm-timeline li.active::before { border-color: var(--sm-gold); background: var(--sm-gold); }
.sm-timeline .t-when { font-size: .72rem; color: var(--sm-charcoal-500); text-transform: uppercase; letter-spacing: .1em; }
.sm-timeline .t-what { font-size: .95rem; color: var(--sm-charcoal); font-weight: 500; }
.sm-timeline .t-who  { font-size: .8rem; color: var(--sm-charcoal-500); }

.sm-doc-row {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--sm-border);
}
.sm-doc-row:last-child { border-bottom: 0; }
.sm-doc-row .doc-icon {
  width: 38px; height: 46px;
  background: var(--sm-paper);
  border: 1px solid var(--sm-border);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; letter-spacing: .05em;
  color: var(--sm-charcoal-500);
  flex-shrink: 0;
}
.sm-doc-row .doc-meta { flex: 1; min-width: 0; }
.sm-doc-row .doc-title { font-weight: 500; color: var(--sm-charcoal); font-size: .95rem; }
.sm-doc-row .doc-sub { font-size: .8rem; color: var(--sm-charcoal-500); }

.sm-note-list { margin: 0 0 1rem; padding: 0; list-style: none; }
.sm-note-list li {
  padding: .85rem 1rem;
  background: var(--sm-paper);
  border-left: 3px solid var(--sm-gold);
  margin-bottom: .65rem;
  font-size: .9rem;
}
.sm-note-list .note-meta { font-size: .72rem; color: var(--sm-charcoal-500); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .25rem; }

/* ---------- Career tracks (Jobs Index) ---------- */
.sm-band {
  padding: 5rem 0;
}
.sm-band--paper { background: var(--sm-paper); border-top: 1px solid var(--sm-border); border-bottom: 1px solid var(--sm-border); }
.sm-band--charcoal {
  background: var(--sm-charcoal);
  color: rgba(255,255,255,.78);
}
.sm-band--charcoal h2, .sm-band--charcoal h3 { color: #fff; }
.sm-band--charcoal .eyebrow { color: rgba(255,255,255,.55); }
.sm-band--charcoal .eyebrow--gold { color: var(--sm-gold); }

.sm-band-head { max-width: 44rem; margin-bottom: 2.5rem; }
.sm-band-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; margin-bottom: .75rem; }
.sm-band-head p { color: var(--sm-charcoal-500); font-size: 1.05rem; margin: 0; }
.sm-band--charcoal .sm-band-head p { color: rgba(255,255,255,.65); }

.sm-track-card {
  background: #fff;
  border: 1px solid var(--sm-border);
  padding: 1.75rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.sm-track-card .track-num {
  font-family: var(--sm-font-serif);
  font-size: .9rem;
  color: var(--sm-gold-600);
  letter-spacing: .04em;
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: .65rem;
}
.sm-track-card .track-num::before {
  content: ""; display: inline-block; width: 24px; height: 1px; background: var(--sm-gold);
}
.sm-track-card h3 {
  font-family: var(--sm-font-serif);
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: .65rem;
}
.sm-track-card p { color: var(--sm-charcoal-500); font-size: .92rem; line-height: 1.6; margin-bottom: 1rem; }
.sm-track-card .track-foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--sm-border);
  font-size: .85rem;
}
.sm-track-card .track-foot .open-count { color: var(--sm-charcoal); font-weight: 600; }
.sm-track-card .track-foot .open-count b { color: var(--sm-gold-600); }

/* ---------- Story block ---------- */
.sm-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 992px) { .sm-story { grid-template-columns: 1fr; gap: 2.5rem; } }

.sm-story-image {
  aspect-ratio: 4/5;
  background:
    linear-gradient(135deg, rgba(251,176,64,.18), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px),
    #1f1f20;
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}
.sm-story-image::before {
  content: "PHOTO — firm interior / lawyers in conference";
  position: absolute; top: 1rem; left: 1rem;
  font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: .65rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.sm-story-image .quote-tag {
  font-family: var(--sm-font-serif);
  color: var(--sm-gold);
  font-size: 4rem;
  line-height: .8;
  margin-bottom: .5rem;
}
.sm-story-image figcaption {
  font-family: var(--sm-font-serif);
  font-size: 1.2rem;
  line-height: 1.4;
  color: #fff;
  max-width: 24rem;
}
.sm-story-image figcaption cite {
  display: block; font-style: normal; font-family: var(--sm-font-sans);
  font-size: .8rem; color: rgba(255,255,255,.55);
  letter-spacing: .08em; text-transform: uppercase;
  margin-top: .85rem;
}

.sm-story-copy h2 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 1.25rem; }
.sm-story-copy p { font-size: 1.02rem; line-height: 1.7; color: rgba(255,255,255,.72); margin-bottom: 1rem; }
.sm-story-copy p:last-child { margin-bottom: 0; }

.sm-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 768px) { .sm-stat-strip { grid-template-columns: repeat(2, 1fr); } }
.sm-stat-strip > div {
  padding: 1.75rem 1.25rem 0;
  border-right: 1px solid rgba(255,255,255,.08);
}
.sm-stat-strip > div:last-child { border-right: 0; }
.sm-stat-strip .v {
  font-family: var(--sm-font-serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--sm-gold);
  margin-bottom: .35rem;
  letter-spacing: -.01em;
}
.sm-stat-strip .l {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- Benefits grid ---------- */
.sm-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--sm-border);
  background: var(--sm-border);
}
@media (max-width: 992px) { .sm-benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .sm-benefits { grid-template-columns: 1fr; } }
.sm-benefit {
  background: #fff;
  padding: 1.75rem;
}
.sm-benefit .b-num {
  font-family: var(--sm-font-serif);
  color: var(--sm-gold-600);
  font-size: .85rem;
  letter-spacing: .08em;
  margin-bottom: .85rem;
}
.sm-benefit h4 {
  font-family: var(--sm-font-serif);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: .5rem;
  color: var(--sm-charcoal);
}
.sm-benefit p { color: var(--sm-charcoal-500); font-size: .9rem; line-height: 1.55; margin: 0; }

/* ---------- General CV callout ---------- */
.sm-cta-strip {
  background: var(--sm-charcoal);
  color: rgba(255,255,255,.85);
  position: relative;
  padding: 3rem 0;
  overflow: hidden;
}
.sm-cta-strip::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 4px; background: var(--sm-gold);
}
.sm-cta-strip h2 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2rem); margin: 0; max-width: 32rem; }
.sm-cta-strip p { color: rgba(255,255,255,.65); margin: .6rem 0 0; }

/* ---------- Hiring process timeline ---------- */
.sm-process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 992px) { .sm-process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .sm-process { grid-template-columns: 1fr; } }
.sm-process-step {
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-top: 2px solid var(--sm-charcoal);
  position: relative;
}
.sm-process-step:first-child::before {
  content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px;
  background: var(--sm-gold); border-radius: 50%;
}
.sm-process-step .step-n {
  font-family: var(--sm-font-serif);
  color: var(--sm-gold-600);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .65rem;
}
.sm-process-step h4 {
  font-family: var(--sm-font-serif);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: .45rem;
}
.sm-process-step p { color: var(--sm-charcoal-500); font-size: .88rem; line-height: 1.55; margin: 0; }
.sm-process-step .when {
  display: inline-block;
  font-size: .72rem;
  color: var(--sm-charcoal-500);
  margin-top: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Related roles strip ---------- */
.sm-related-card {
  background: #fff;
  border: 1px solid var(--sm-border);
  padding: 1.35rem;
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.sm-related-card:hover {
  border-color: var(--sm-charcoal);
  box-shadow: 0 8px 24px -16px rgba(42,42,43,.25);
}
.sm-related-card .r-cat { font-size: .72rem; color: var(--sm-gold-600); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.sm-related-card .r-title {
  font-family: var(--sm-font-serif);
  font-size: 1.1rem;
  line-height: 1.25;
  margin: .35rem 0 .65rem;
  color: var(--sm-charcoal);
}
.sm-related-card .r-meta { font-size: .85rem; color: var(--sm-charcoal-500); }
.sm-related-card .r-arrow {
  margin-top: 1rem; padding-top: .75rem;
  border-top: 1px dashed var(--sm-border);
  font-size: .85rem; font-weight: 600; color: var(--sm-charcoal);
}

/* ---------- "What happens next" timeline (Confirmation) ---------- */
.sm-next-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (max-width: 768px) { .sm-next-steps { grid-template-columns: 1fr; } }
.sm-next-step {
  text-align: left;
  padding: 1.25rem;
  background: var(--sm-paper);
  border: 1px solid var(--sm-border);
  border-top: 3px solid var(--sm-charcoal);
}
.sm-next-step:first-child { border-top-color: var(--sm-gold); }
.sm-next-step .n {
  font-family: var(--sm-font-serif);
  color: var(--sm-charcoal-500);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.sm-next-step h5 { font-family: var(--sm-font-serif); font-weight: 500; font-size: 1rem; margin-bottom: .35rem; color: var(--sm-charcoal); }
.sm-next-step p { font-size: .85rem; line-height: 1.5; color: var(--sm-charcoal-500); margin: 0; }
.sm-next-step .eta {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sm-gold-600);
  margin-top: .65rem;
  font-weight: 600;
}

/* ---------- Entrance animations ---------- */
@keyframes sm-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sm-hero-col-1 { animation: sm-fade-up .55s .05s ease both; }
.sm-hero-col-2 { animation: sm-fade-up .55s .22s ease both; }

[data-fade] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
[data-fade].in-view { opacity: 1; transform: none; }

[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }
[data-delay="5"] { transition-delay: .40s; }
[data-delay="6"] { transition-delay: .48s; }

/* ---------- Auth pages (login, register, etc.) ---------- */
.auth-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.5rem 1rem 5rem;
  background: var(--sm-paper);
  min-height: 30vh;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--sm-border);
  border-top: 3px solid var(--sm-gold);
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(42,42,43,.07);
}

/* ---------- Footer ---------- */
.sm-footer {
  background: var(--sm-charcoal);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 2rem;
  margin-top: 5rem;
}
.sm-footer h6 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.sm-footer a { color: rgba(255,255,255,.7); text-decoration: none; }
.sm-footer a:hover { color: var(--sm-gold); }
.sm-footer .footer-rule { border-top: 1px solid rgba(255,255,255,.1); margin: 2rem 0 1.25rem; }
.sm-footer .legal { font-size: .8rem; color: rgba(255,255,255,.45); }
.sm-footer img { height: 28px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
n: 2rem 0 1.25rem; }
.sm-footer .legal { font-size: .8rem; color: rgba(255,255,255,.45); }
.sm-footer img { height: 28px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
