body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #10141f;
  color: #f3f2ee;
}

a {
  color: inherit;
}

.page-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.hero {
  padding: 72px 0 48px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f7b267;
  font-size: 0.85rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  line-height: 0.96;
}

.lead {
  max-width: 760px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #d7d9e0;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  appearance: none;
  -webkit-appearance: none;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid transparent;
  background: transparent;
  color: #10141f;
  cursor: pointer;
}

.button-primary {
  background: #f7b267;
  color: #10141f;
  border-color: #f7b267;
}

.button-secondary {
  color: #f3f2ee;
  background: #10141f;
  border-color: #506078;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card,
.footer-callout {
  background: #171d2b;
  border: 1px solid #283142;
  border-radius: 20px;
  padding: 24px;
}

.card h2,
.footer-callout h2 {
  margin-top: 0;
}

.footer-callout {
  margin-top: 24px;
}

.text-link {
  color: #f7b267;
}

input,
select,
textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #35425a;
  background: #0d1320;
  color: #f3f2ee;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.staff-shell {
  padding-top: 32px;
}

.auth-shell {
  min-height: 70vh;
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(100%, 480px);
}

.staff-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.staff-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin: 0;
}

.filter-bar,
.stack-form {
  display: grid;
  gap: 16px;
}

.filter-bar {
  grid-template-columns: 2fr 1fr auto;
  margin-bottom: 24px;
  align-items: end;
}

.table-card,
.detail-card {
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 16px;
  border-bottom: 1px solid #283142;
  text-align: left;
}

.table-link {
  color: #f3f2ee;
  text-decoration: none;
  font-weight: bold;
}

.detail-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-bottom: 20px;
}

.detail-list {
  margin: 0;
}

.detail-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 8px 0;
}

.detail-list dt {
  color: #9aa5ba;
}

.detail-list dd {
  margin: 0;
}

.contact-list,
.timeline {
  display: grid;
  gap: 16px;
}

.contact-item,
.timeline-item {
  padding: 16px;
  border: 1px solid #283142;
  border-radius: 16px;
  background: #111827;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.timeline-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.muted-copy {
  color: #9aa5ba;
}

.small-copy {
  font-size: 0.9rem;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-error {
  color: #ff9b9b;
}

.note-block {
  margin-top: 20px;
}

.section-heading {
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .page-shell {
    padding: 28px 18px 48px;
  }

  .hero {
    padding-top: 36px;
  }

  .staff-header,
  .contact-item,
  .timeline-meta {
    display: grid;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .detail-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
