:root {
  --ink: #11232a;
  --muted: #54666d;
  --paper: #fffdf7;
  --surface: #ffffff;
  --teal: #00a99d;
  --teal-dark: #047a73;
  --lime: #d9f75f;
  --coral: #ff795f;
  --sun: #ffd45a;
  --sky: #bdefff;
  --line: #d8e4e2;
  --shadow: 0 24px 70px rgba(17, 35, 42, 0.13);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(0, 169, 157, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 121, 95, 0.08) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 5vw;
  background: rgba(255, 253, 247, 0.88);
  border-bottom: 1px solid rgba(216, 228, 226, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  filter: drop-shadow(3px 3px 0 var(--ink));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 0.65rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fffdf7 !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.section-shell {
  width: min(1180px, 90vw);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100svh - 160px);
  padding: 1.4rem 0 0.5rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13.5ch;
  margin-bottom: 1.1rem;
  font-size: clamp(3.5rem, 5.2vw, 4.25rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--coral);
  box-shadow: 5px 5px 0 var(--ink);
}

.button-secondary {
  background: var(--surface);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trust-strip span {
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(17, 35, 42, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
  height: min(42vw, 420px);
  min-height: 360px;
  border: 2px solid var(--ink);
  border-radius: 36px 8px 36px 8px;
  background: var(--sky);
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.availability-card {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  width: min(330px, calc(100% - 2.4rem));
  padding: 1.05rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 6px 6px 0 var(--ink);
}

.availability-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
}

.role-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-block: 2px solid var(--ink);
  background: var(--ink);
}

.role-band div {
  min-height: 88px;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: var(--sun);
  border-right: 2px solid var(--ink);
  font-weight: 900;
  text-align: center;
}

.role-band div:nth-child(2n) {
  background: var(--lime);
}

.role-band div:nth-child(3n) {
  background: var(--sky);
}

.split-intro {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 2rem;
  align-items: end;
  padding: 6rem 0 1.5rem;
}

.split-intro p:last-child {
  color: var(--muted);
  font-size: 1.02rem;
}

.job-board {
  padding-bottom: 5rem;
}

.filter-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.filter-button {
  min-height: 42px;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.filter-button.active {
  background: var(--ink);
  color: #fffdf7;
}

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

.job-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 1.2rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 5px 5px 0 rgba(17, 35, 42, 0.9);
}

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

.job-card.accent-lime {
  background: #fbffe8;
}

.job-card.accent-coral {
  background: #fff3ef;
}

.job-topline {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.15rem;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.job-card p,
.job-card li {
  color: var(--muted);
}

.job-card ul {
  padding-left: 1.15rem;
  margin: 0.25rem 0 1rem;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.fine-print {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.process {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: stretch;
  padding: 4.5rem 0;
}

.process-image {
  min-height: 520px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-copy {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--lime);
}

.steps {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.steps article {
  padding: 1rem;
  border: 1px solid rgba(17, 35, 42, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.72);
}

.steps span {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-weight: 950;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.values,
.policies,
.faq {
  padding: 5rem 0;
}

.values-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.values-grid article,
.policy-grid article {
  min-height: 220px;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.values-grid article:nth-child(1),
.policy-grid article:nth-child(3) {
  border-top: 8px solid var(--teal);
}

.values-grid article:nth-child(2),
.policy-grid article:nth-child(1) {
  border-top: 8px solid var(--sun);
}

.values-grid article:nth-child(3),
.policy-grid article:nth-child(2) {
  border-top: 8px solid var(--coral);
}

.values-grid article:nth-child(4),
.policy-grid article:nth-child(4) {
  border-top: 8px solid var(--lime);
}

.values-grid p,
.policy-grid p {
  color: var(--muted);
}

.apply-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 1.2rem;
  align-items: start;
  padding: 5rem 0;
}

.apply-copy {
  position: sticky;
  top: 102px;
  padding: 1.4rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--sky);
}

.apply-copy p {
  color: #29424a;
}

.contact-card {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.4rem;
  padding: 1rem;
  border: 1px solid rgba(17, 35, 42, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.7);
}

.contact-card a {
  color: var(--teal-dark);
  font-weight: 850;
}

.contact-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-panel {
  min-height: 560px;
  padding: 1rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--ink);
}

.embedded-form {
  min-height: 520px;
}

.embedded-form:empty::before {
  content: "Application form loading...";
  display: grid;
  min-height: 520px;
  place-items: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
}

summary {
  cursor: pointer;
  padding: 1rem;
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: 3rem 5vw;
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: #fffdf7;
}

.site-footer p {
  max-width: 48ch;
  margin: 1rem 0 0;
  color: rgba(255, 253, 247, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-content: start;
  justify-content: end;
  font-weight: 800;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0 !important;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero,
  .split-intro,
  .process,
  .apply-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 12ch;
  }

  .role-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .role-band div:last-child {
    grid-column: 1 / -1;
  }

  .jobs-grid,
  .values-grid,
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apply-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 70px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 1rem 5vw 1.3rem;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    transform: translateY(-120%);
    transition: transform 180ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.8rem 0;
  }

  .nav-cta {
    width: fit-content;
    padding: 0.65rem 1rem !important;
  }

  .hero {
    padding-top: 3rem;
  }

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

  .role-band,
  .jobs-grid,
  .values-grid,
  .policy-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .role-band div,
  .role-band div:last-child {
    grid-column: auto;
  }

  .job-card {
    min-height: auto;
  }

  .process-image {
    min-height: 340px;
  }

  .footer-links {
    justify-content: start;
  }
}

@media (max-width: 440px) {
  .section-shell {
    width: min(100% - 1.5rem, 1180px);
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .button,
  .trust-strip span {
    min-width: 0;
    max-width: 100%;
  }

  .availability-card {
    position: static;
    width: auto;
    margin: -4.5rem 0.8rem 0.8rem;
  }

  .filter-button {
    flex: 1 1 auto;
  }
}
