:root {
  --ink: #0f2a33;
  --paper: #f5f4ef;
  --line: #d8ddda;
  --shadow: 0 16px 45px rgba(7, 28, 35, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Space Grotesk", sans-serif; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, 92%); margin: auto; }

.hire-hero {
  height: 320px;
  overflow: hidden;
  padding: 24px 0 18px;
  color: #fff;
  background-image: linear-gradient(180deg, rgba(15, 42, 51, .58), rgba(15, 42, 51, .86)), var(--hire-hero-image);
  background-position: var(--hire-hero-position, center);
  background-size: cover;
}
.hire-hero .shell { height: 100%; display: flex; flex-direction: column; }
.hero-top { display: flex; align-items: center; justify-content: center; }
.hero-top img { display: block; width: 206px; height: auto; }
.hero-copy { min-height: 0; flex: 1; padding: 28px 0 10px; display: flex; flex-direction: column; justify-content: flex-end; }
h1 { margin: 0; max-width: 900px; font-family: "Instrument Serif", serif; font-size: clamp(52px, 7vw, 88px); font-weight: 400; line-height: .95; }

.hire-section { padding: 56px 0 72px; }
.hire-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hire-provider-section { padding: 56px 0 72px; }
.hire-provider-section .simple-card { margin-top: 18px; }
.hire-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}
.hire-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 42, 51, .12), rgba(15, 42, 51, .76)); }
.hire-card > div { position: relative; z-index: 1; }
.hire-card h2 { margin: 0 0 8px; color: #fff; font-family: "Instrument Serif", serif; font-size: 34px; font-weight: 400; line-height: 1; }
.hire-card p { margin: 0; color: rgba(255, 255, 255, .92); font-size: 15px; line-height: 1.55; }

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 34px 24px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}
.footer a { color: #fff; }

@media (max-width: 640px) {
  .hire-hero { height: 240px; padding: 16px 0 12px; }
  .hero-top img { width: 150px; }
  .hero-copy { padding: 18px 0 6px; }
  .hire-grid { grid-template-columns: 1fr; }
  .hire-card { min-height: 220px; }
  .hire-card h2 { font-size: 30px; }
  .footer { width: calc(100% - 24px); padding: 30px 18px; border-radius: 24px; }
}
