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

:root {
  --marigold-pale: #EEF0F0;
  --marigold: #EBAC2E;
  --text-dark: #2C1A00;
  --text-mid: #6B4200;
  --footer-bg: #1E3A5F;
  --footer-text: #C8D8EA;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Georgia', serif;
  background-color: var(--marigold-pale);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Header ── */

header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(235, 172, 46, 0.3);
}

header a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--footer-bg);
}

header img {
  height: 36px;
  width: auto;
}

header span {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

header span em {
  color: var(--marigold);
  font-style: normal;
}

/* ── Shared elements ── */

.divider {
  width: 60px;
  height: 2px;
  background: var(--marigold);
  border-radius: 2px;
}

/* ── Footer ── */

footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  text-align: center;
  padding: 1.25rem 2rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

footer .copyright {
  opacity: 0.75;
}

footer a {
  color: var(--marigold);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: #fff;
}

/* ── Home page ── */

.home main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  padding-bottom: 14vh;
}

.logo-mark {
  max-width: 160px;
  width: 100%;
  margin-bottom: 1.5rem;
}

.home h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: normal;
  letter-spacing: 0.04em;
  color: var(--footer-bg);
  line-height: 1.2;
}

.home h1 span {
  color: var(--marigold);
}

.home .divider {
  margin: 1.75rem auto 1.75rem;
}

.tagline {
  margin-top: 0;
  font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(1.08rem, 2.72vw, 1.90rem);
  letter-spacing: 0.08em;
  color: var(--footer-bg);
}

/* ── Jobs listing page ── */

.jobs main {
  flex: 1;
  max-width: 840px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.jobs h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: normal;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.jobs .divider {
  margin-bottom: 2.5rem;
}

.job-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-list li a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(235, 172, 46, 0.35);
  border-radius: 4px;
  text-decoration: none;
  color: var(--text-dark);
  transition: border-color 0.2s, background-color 0.2s;
}

.job-list li a:hover {
  border-color: var(--marigold);
  background-color: rgba(235, 172, 46, 0.06);
}

.job-list-title {
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.job-list-location {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--text-mid);
  white-space: nowrap;
}

/* ── Job description pages ── */

.job main {
  flex: 1;
  max-width: 840px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.role-label {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--marigold);
  margin-bottom: 0.75rem;
}

.job h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: normal;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.job .divider {
  margin-bottom: 2.5rem;
}

.meta {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  margin-bottom: 2.5rem;
}

.job-body {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.job-body h2 {
  font-size: 1.25rem;
  font-weight: normal;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(235, 172, 46, 0.4);
}

.job-body p {
  margin-bottom: 1rem;
}

.job-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.job-body ul li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.job-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--marigold);
}

.job-body strong {
  color: var(--text-dark);
}

.apply-cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(235, 172, 46, 0.4);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.apply-cta a {
  color: var(--marigold);
  text-decoration: none;
}

.apply-cta a:hover {
  text-decoration: underline;
}
