:root {
  --ink: #102a2c;
  --ink-soft: #244446;
  --paper: #f8f6f1;
  --white: #ffffff;
  --line: #ded6ca;
  --teal: #2e8b80;
  --gold: #d29b5e;
  --clay: #e07a5f;
  --mist: #eef5f4;
  --shadow: 0 22px 70px rgba(16, 42, 44, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: #4f6262;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 6vw, 5.9rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: .75rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 246, 241, 0.92);
  border-bottom: 1px solid rgba(222, 214, 202, 0.8);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand small {
  color: #6b7a78;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links a {
  padding: .72rem .9rem;
  border-radius: var(--radius);
  color: #405555;
  font-weight: 700;
  font-size: .94rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: #ece7dd;
}

.nav-links .nav-cta {
  color: var(--white);
  background: var(--ink);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  color: var(--white);
  background: var(--teal);
}

.nav-cta,
.button,
button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  padding: .84rem 1.1rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.button.ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(16, 42, 44, .18);
}

.dark-band .button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, .36);
}

.dark-band .button.ghost:hover {
  background: rgba(255, 255, 255, .12);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: var(--white);
  box-shadow: 0 7px 0 var(--white), 0 -7px 0 var(--white);
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 42, 44, .95) 0%, rgba(16, 42, 44, .82) 45%, rgba(16, 42, 44, .24) 100%),
    url("https://images.unsplash.com/photo-1616587226157-48e49175ee20?auto=format&fit=crop&fm=jpg&q=82&w=2200") center right / cover no-repeat;
}

.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 126px) 0 clamp(96px, 12vw, 150px);
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--gold);
  font-size: .83rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero p {
  max-width: 670px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-actions .secondary {
  background: rgba(255, 255, 255, .92);
}

.proof-strip {
  position: relative;
  margin-top: -68px;
  z-index: 2;
}

.proof-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.proof-item {
  min-height: 142px;
  padding: 24px;
  background: var(--white);
}

.proof-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2.45rem);
  line-height: 1;
}

.proof-item span {
  color: #647574;
  font-weight: 650;
}

.section {
  padding: clamp(72px, 10vw, 132px) 0;
}

.section.tight {
  padding-top: clamp(48px, 7vw, 84px);
}

.band {
  background: var(--white);
}

.dark-band {
  background: var(--ink);
  color: var(--white);
}

.dark-band p {
  color: rgba(255, 255, 255, .72);
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-head p {
  margin-top: 18px;
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .78fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.two-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card,
.insight,
.quote,
.contact-panel,
.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card {
  min-height: 220px;
  padding: 26px;
}

.card.accent-teal {
  border-top: 5px solid var(--teal);
}

.card.accent-gold {
  border-top: 5px solid var(--gold);
}

.card.accent-clay {
  border-top: 5px solid var(--clay);
}

.card p,
.insight p {
  margin-top: 14px;
}

.icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--mist);
  color: var(--teal);
  font-weight: 900;
}

.process {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
}

.step h3 {
  margin-bottom: 8px;
}

.quote {
  padding: 28px;
  background: #fffaf1;
}

.quote p {
  color: #4f6262;
}

.quote strong {
  display: block;
  margin-top: 20px;
  color: var(--ink);
}

.list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 28px;
  color: #405555;
  font-weight: 650;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: clamp(70px, 10vw, 120px) 0;
}

.page-hero.jobs-hero {
  padding: clamp(54px, 7vw, 86px) 0;
}

.page-hero p {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .78);
  font-size: 1.14rem;
}

.breadcrumb {
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 800;
}

.sector-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.sector {
  min-height: 188px;
  padding: 26px;
  background: var(--white);
}

.sector span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.insight {
  display: grid;
  min-height: 340px;
  padding: 26px;
}

.insight time {
  color: var(--teal);
  font-weight: 850;
  font-size: .9rem;
}

.insight .button {
  align-self: end;
  margin-top: 24px;
}

.jobs-section {
  padding-top: clamp(38px, 6vw, 72px);
}

.jobs-layout {
  display: grid;
  gap: 24px;
}

.jobs-toolbar {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf9;
}

.job-search {
  display: grid;
  gap: 8px;
}

.job-search span {
  color: var(--ink);
  font-weight: 850;
}

.job-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-tab {
  min-height: 40px;
  padding: .62rem .88rem;
  border: 1px solid rgba(16, 42, 44, .14);
  background: var(--white);
  color: var(--ink-soft);
  font-size: .92rem;
  white-space: nowrap;
}

.job-tab:hover,
.job-tab.is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.jobs-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.jobs-results-head p {
  color: #5b6d6c;
}

.jobs-results-head strong {
  color: var(--ink);
}

.email-copy-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf1;
}

.email-copy-note p {
  flex: 1 1 260px;
}

.copy-email {
  min-height: 44px;
  justify-content: space-between;
  border: 1px solid rgba(16, 42, 44, .16);
  background: var(--white);
  color: var(--ink);
  font-weight: 850;
}

.copy-email span {
  color: var(--teal);
  font-size: .85rem;
}

.job-list {
  display: grid;
  gap: 16px;
}

.job-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 230px);
  gap: 24px;
  align-items: stretch;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 42px rgba(16, 42, 44, .07);
}

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

.job-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.job-sector,
.job-ref {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: .28rem .68rem;
  font-size: .78rem;
  font-weight: 850;
}

.job-sector {
  background: var(--mist);
  color: var(--teal);
}

.job-ref {
  background: #fff4e2;
  color: #8a5a20;
}

.job-card h2 {
  max-width: 760px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.job-summary {
  max-width: 820px;
  margin-top: 14px;
  font-size: 1.02rem;
}

.job-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 24px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.job-meta div {
  min-height: 92px;
  padding: 14px;
  background: #fffdf9;
}

.job-meta dt,
.job-meta dd {
  margin: 0;
}

.job-meta dt {
  color: #6a7775;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.job-meta dd {
  margin-top: 6px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
}

.job-actions {
  display: grid;
  align-content: center;
  gap: 10px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.job-actions .button {
  width: 100%;
}

.jobs-empty {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf1;
}

.jobs-empty p {
  margin-top: 12px;
}

.job-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

.job-detail-section {
  padding-top: clamp(36px, 5vw, 64px);
}

.job-detail-main,
.job-detail-side {
  display: grid;
  gap: 18px;
}

.job-detail-panel,
.job-apply-panel {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.job-detail-panel h2 {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
}

.job-detail-panel p {
  margin-top: 12px;
}

.job-detail-panel .list {
  margin-top: 18px;
}

.job-apply-panel {
  position: sticky;
  top: 102px;
  background: #fffaf1;
}

.job-apply-panel h2 {
  font-size: 1.55rem;
}

.job-apply-panel p {
  margin-top: 12px;
}

.job-apply-panel .button {
  width: 100%;
  margin-top: 18px;
}

.job-apply-panel .copy-email {
  width: 100%;
  margin-top: 12px;
}

.job-detail-meta {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.job-detail-meta div {
  padding: 16px;
  background: #fffdf9;
}

.job-detail-meta dt,
.job-detail-meta dd {
  margin: 0;
}

.job-detail-meta dt {
  color: #6a7775;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.job-detail-meta dd {
  margin-top: 6px;
  color: var(--ink);
  font-weight: 800;
}

.back-link {
  display: inline-flex;
  width: fit-content;
  color: var(--teal);
  font-weight: 850;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1fr);
  gap: 24px;
  align-items: start;
}

.contact-panel,
.form-panel {
  padding: clamp(24px, 4vw, 36px);
}

.contact-panel {
  display: grid;
  gap: 22px;
  background: var(--ink);
  color: var(--white);
}

.contact-panel p,
.contact-panel a {
  color: rgba(255, 255, 255, .76);
}

.contact-line strong {
  display: block;
  color: var(--white);
}

form {
  display: grid;
  gap: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .78rem .9rem;
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 148px;
  resize: vertical;
}

.form-note {
  color: #697978;
  font-size: .92rem;
}

.form-status {
  min-height: 26px;
  color: var(--teal);
  font-weight: 800;
}

.cta-band {
  padding: clamp(58px, 8vw, 88px) 0;
  background: #fffaf1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-inner p {
  max-width: 650px;
  margin-top: 12px;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 58px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, .68);
}

.site-footer h2,
.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .6);
  font-size: .92rem;
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 1rem;
  }

  .nav-cta {
    width: 100%;
  }

  .proof-grid,
  .card-grid,
  .two-grid,
  .insight-grid,
  .job-card,
  .sector-list,
  .footer-grid,
  .split,
  .job-detail-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(16, 42, 44, .96) 0%, rgba(16, 42, 44, .88) 56%, rgba(16, 42, 44, .7) 100%),
      url("https://images.unsplash.com/photo-1616587226157-48e49175ee20?auto=format&fit=crop&fm=jpg&q=82&w=2200") center / cover no-repeat;
  }

  .proof-strip {
    margin-top: 0;
  }

  .proof-grid {
    border-radius: 0;
    width: 100%;
  }

  .cta-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .jobs-results-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .job-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .job-actions {
    padding-top: 20px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .job-apply-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .nav {
    width: min(100% - 24px, var(--max));
  }

  .brand small {
    display: none;
  }

  .container,
  .hero-inner {
    width: min(100% - 28px, var(--max));
  }

  .hero-inner {
    padding-top: 58px;
    padding-bottom: 74px;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .job-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .job-tab {
    flex: 0 0 auto;
  }

  .job-meta {
    grid-template-columns: 1fr;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }
}
