:root {
  --ink: #22313a;
  --muted: #5f6f78;
  --line: #d8ddd8;
  --paper: #f6f3ea;
  --white: #ffffff;
  --navy: #244f67;
  --teal: #3d7d72;
  --gold: #d99b3a;
  --orange: #c4672d;
  --pale: #fbfaf5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.58;
}

a {
  color: inherit;
}

.utility-bar {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  padding: 8px clamp(18px, 5vw, 70px);
  background: var(--navy);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
}

.utility-bar a,
.tab-link,
.brand,
.button,
.text-link,
.feature-list a,
.footer-columns a {
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 26px;
  min-height: 96px;
  padding: 0 clamp(18px, 5vw, 70px);
  background: var(--white);
  border-bottom: 5px solid var(--gold);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 310px;
  padding: 16px 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
}

.brand-mark img {
  display: block;
  width: 56px;
  height: 56px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.12;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.tabs {
  display: flex;
  align-items: stretch;
}

.tab-link {
  display: inline-flex;
  align-items: center;
  min-width: 118px;
  padding: 0 18px;
  border-left: 1px solid var(--line);
  color: var(--navy);
  font-weight: 800;
}

.tab-link:last-child {
  border-right: 1px solid var(--line);
}

.tab-link.active {
  background: var(--teal);
  color: var(--white);
}

main {
  min-height: 72vh;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  width: min(1180px, calc(100% - 36px));
  margin: 34px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-media {
  min-height: 420px;
  background: #d5d8d3;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
  border-left: 8px solid var(--gold);
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-heading h1 {
  margin: 0;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.2vw, 4.65rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero p:not(.eyebrow),
.page-heading p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions,
.application-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 2px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--orange);
  color: var(--white);
}

.button.secondary {
  border-color: var(--navy);
  color: var(--navy);
}

.intro-grid,
.work-section,
.news-section,
.page-heading,
.roles-grid,
.application-panel,
.contact-layout,
.application-section,
.policy-grid,
.notice {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 34px;
  padding: 56px 0 34px;
}

.intro-grid h2,
.work-section h2,
.application-panel h2,
.contact-card h2,
.footer-columns h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 2.7vw, 2.75rem);
  line-height: 1.13;
}

.intro-grid p,
.role-card p,
.application-panel p,
.contact-card p,
.notice {
  color: var(--muted);
}

.feature-list {
  padding: 24px;
  background: var(--navy);
  color: var(--white);
}

.feature-list h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.feature-list a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 800;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.text-link {
  color: var(--navy);
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
}

.city-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.city-strip article,
.role-card,
.contact-card,
.contact-form {
  background: var(--white);
}

.city-strip article {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.city-strip article:last-child {
  border-right: 0;
}

.city-strip span,
.role-type {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.city-strip h3,
.role-card h2,
.news-card h3,
.contact-card h3 {
  margin: 8px 0;
}

.news-section {
  padding: 38px 0 4px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.news-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 22px;
  border: 1px solid var(--line);
  border-bottom: 6px solid var(--teal);
  background: var(--white);
}

.news-card span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.18;
}

.news-card p {
  color: var(--muted);
}

.news-card a {
  margin-top: auto;
  color: var(--navy);
  font-weight: 800;
}

.notice {
  margin-top: 34px;
  margin-bottom: 64px;
  padding: 18px 20px;
  border-left: 8px solid var(--gold);
  background: #fff8df;
}

.page-heading {
  padding: 56px 0 28px;
}

.role-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 20px;
}

.filter {
  min-height: 39px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.filter.active {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.role-card {
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
}

.role-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.role-card[hidden] {
  display: none;
}

.application-panel {
  justify-content: space-between;
  margin-top: 34px;
  margin-bottom: 70px;
  padding: 28px;
  background: var(--navy);
  color: var(--white);
}

.application-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.application-panel .section-kicker {
  color: #f0c978;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 22px;
  padding-bottom: 24px;
}

.contact-form,
.application-form,
.contact-card,
.policy-card {
  padding: 26px;
  border: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.application-section {
  margin-top: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 8px solid var(--gold);
  background: var(--white);
}

.application-section .section-heading-row {
  align-items: flex-start;
}

.application-section h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 2.7vw, 2.75rem);
  line-height: 1.13;
}

.application-section p {
  max-width: 720px;
  color: var(--muted);
}

.application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  border: 0;
}

.application-form label:nth-child(3),
.application-form label:nth-child(4) {
  grid-column: span 2;
}

.application-form button {
  justify-self: start;
}

.application-form .form-status {
  grid-column: span 2;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #bfc9c4;
  padding: 11px 12px;
  background: var(--pale);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.contact-card hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 22px 0;
}

.form-status {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-left: 5px solid var(--teal);
  background: #edf7f3;
  color: var(--ink);
  font-weight: 800;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 70px;
}

.policy-card {
  background: var(--white);
}

.policy-card h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  line-height: 1.15;
}

.policy-card p {
  color: var(--muted);
}

.site-footer {
  display: grid;
  gap: 22px;
  padding: 36px clamp(18px, 5vw, 70px);
  background: var(--navy);
  color: var(--white);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-columns h2 {
  font-size: 1.2rem;
}

.footer-columns a {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.88);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-links span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
}

.fine-print {
  max-width: 980px;
  font-size: 0.82rem;
}

@media (max-width: 920px) {
  .utility-bar {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .site-header {
    position: static;
    flex-direction: column;
    gap: 0;
  }

  .tabs {
    overflow-x: auto;
    border-top: 1px solid var(--line);
  }

  .tab-link {
    min-height: 52px;
    flex: 1 0 auto;
  }

  .hero,
  .intro-grid,
  .contact-layout,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    border-left: 0;
    border-top: 8px solid var(--gold);
  }

  .city-strip,
  .news-grid,
  .roles-grid,
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-strip article:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .hero h1,
  .page-heading h1 {
    font-size: 2.15rem;
  }

  .hero-media,
  .hero-media img {
    min-height: 270px;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .city-strip,
  .news-grid,
  .roles-grid,
  .application-form,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .application-form label:nth-child(3),
  .application-form label:nth-child(4),
  .application-form .form-status {
    grid-column: auto;
  }

  .city-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
