@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700;9..40,800;9..40,900&family=DM+Serif+Display:ital@0;1&display=swap");

/*
  Responsive polish for the static Hostinger build.
  Keep this file in hostinger-deploy so deployed edits stay self-contained.
*/

html,
body {
  font-family:
    "DM Sans",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;
  max-width: 100%;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font-family:
    "DM Sans",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Serif Display", "DM Sans", ui-sans-serif, system-ui, sans-serif !important;
}

body {
  min-width: 320px;
}

.container,
.nav,
.hero__copy,
.page-hero__copy,
.section-heading,
.split-section > *,
.experience-section > *,
.support-layout > *,
.footer-grid > *,
.footer-bottom > *,
.nav-menu,
.nav-links,
.nav-cta,
.button,
.info-card,
.sector-card,
.support-card,
.contact-method,
.cv-box,
.contact-detail-card,
.job-card,
.job-summary,
.legal-copy {
  min-width: 0;
}

.container {
  width: min(calc(100% - clamp(24px, 4vw, 48px)), 1160px);
}

.site-header {
  isolation: isolate;
}

.nav {
  width: min(calc(100% - clamp(24px, 4vw, 48px)), 1160px);
  grid-template-columns: minmax(170px, 1fr) minmax(0, auto) minmax(150px, 1fr);
}

.brand-logo {
  max-width: min(240px, 32vw);
}

.nav-links {
  min-width: 0;
}

.nav-link {
  max-width: 100%;
}

.nav-cta {
  max-width: 100%;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.split-section h2,
.experience-section__copy h2,
.support-intro h2,
.cv-box h2,
.final-cta h2 {
  text-wrap: balance;
}

.hero h1,
.page-hero h1,
.hero__lead,
.page-hero__copy p,
.contact-detail-card strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.sector-card__media,
.experience-feature__image,
.experience-feature--wide .experience-feature__image,
.experience-feature--image-only .experience-feature__image {
  height: auto;
}

.sector-card__media {
  aspect-ratio: 16 / 10;
}

.experience-feature__image {
  aspect-ratio: 16 / 10;
}

.experience-feature--wide .experience-feature__image,
.experience-feature--image-only .experience-feature__image {
  aspect-ratio: 4 / 3;
}

.footer-column a,
.footer-contact span {
  overflow-wrap: break-word;
}

.site-footer {
  width: 100%;
  overflow-x: hidden;
}

.footer-shell,
.footer-grid,
.footer-intro,
.footer-column,
.footer-contact,
.footer-bottom,
.footer-bottom nav {
  min-width: 0;
  max-width: 100%;
}

.footer-brand-logo {
  max-width: min(220px, 100%);
  height: auto;
}

.nav-cta,
.footer-email-cta {
  display: none !important;
}

.footer-intro > p:not(.footer-eyebrow) {
  margin-bottom: 18px;
}

.footer-email-cta span,
.footer-column h2,
.footer-mobile-toggle,
.footer-column a,
.footer-contact a,
.footer-contact span,
.footer-bottom p,
.footer-bottom a {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

@media (min-width: 861px) {
  .footer-grid {
    grid-template-columns:
      minmax(270px, 1.35fr)
      minmax(150px, 0.75fr)
      minmax(220px, 0.9fr)
      minmax(190px, 0.8fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: start;
  }

  .footer-contact {
    min-width: 220px;
  }

  .footer-contact a {
    display: block;
    width: max-content;
    max-width: 100%;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }
}

.footer-social {
  margin-top: 0;
  padding-top: 4px;
}

.footer-social__label {
  color: #9bd3ae;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 900;
}

.footer-social__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social__link {
  width: 42px;
  height: 42px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-2px);
}

.footer-social__link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.contact-details-section {
  background: #f5f8fc;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
  align-items: stretch;
}

.contact-detail-card,
.contact-detail-card * {
  box-sizing: border-box;
}

.contact-detail-card {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: clamp(22px, 3vw, 30px);
  color: var(--navy);
  text-decoration: none;
  background: #fff;
  border: 1px solid #c9dcfb;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(13, 48, 93, 0.08);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.contact-detail-card:hover,
.contact-detail-card:focus-visible {
  border-color: var(--green);
  box-shadow: 0 22px 50px rgba(24, 119, 68, 0.14);
  transform: translateY(-2px);
}

.contact-detail-card span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-detail-card strong {
  color: var(--navy);
  display: block;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 800;
  line-height: 1.45;
}

.footer-mobile-toggle {
  appearance: none;
  color: #fff;
  background: transparent;
  border: 0;
  width: fit-content;
  margin: 0 0 10px;
  padding: 0;
  text-align: left;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
}

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

@media (min-width: 861px) and (max-width: 1100px) {
  :root {
    --header-height: 78px;
  }

  .nav {
    grid-template-columns: minmax(150px, 0.72fr) minmax(0, auto) minmax(130px, 0.72fr);
    gap: 10px;
  }

  .brand-logo {
    max-width: 180px;
    height: auto;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-link {
    min-height: 40px;
    padding-inline: 5px;
    font-size: 0.84rem;
  }

  .nav-cta {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: min(560px, calc(100vh - var(--header-height)));
  }

  .hero__inner {
    padding-top: 72px;
    padding-bottom: 108px;
  }

  .page-hero__inner {
    padding-block: 70px;
  }

  .support-list,
  .contact-method-grid,
  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .nav {
    min-height: var(--header-height);
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 12px;
  }

  .brand {
    max-width: 100%;
  }

  .brand-logo {
    width: auto;
    height: auto;
    max-width: clamp(150px, 34vw, 210px);
    max-height: 42px;
  }

  .menu-toggle {
    justify-self: end;
    flex: none;
    touch-action: manipulation;
  }

  .nav-menu {
    z-index: 70;
    top: var(--header-height);
    left: clamp(10px, 3vw, 18px);
    right: clamp(10px, 3vw, 18px);
    max-height: calc(100dvh - var(--header-height) - 16px);
    overflow-y: auto;
    padding: 12px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 18px 44px rgba(11, 39, 68, 0.24);
  }

  .nav-links {
    gap: 6px;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 6px;
    background: #f4f7f8;
  }

  .nav-link:hover,
  .nav-link:focus-visible {
    background: #e7f2ec;
    transform: none;
  }

  .nav-cta {
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
    padding-inline: 14px;
  }

  .hero {
    min-height: clamp(430px, 62vh, 560px);
  }

  .page-hero {
    min-height: clamp(420px, 58vh, 560px);
  }

  .hero__inner {
    padding-block: clamp(50px, 9vh, 76px) clamp(80px, 13vh, 106px);
  }

  .page-hero__inner {
    padding-block: clamp(58px, 9vh, 76px);
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.35rem, 7.2vw, 3rem);
  }

  .page-hero--contact h1 {
    font-size: clamp(2.18rem, 8vw, 2.7rem);
    line-height: 1.08;
  }

  .section-heading h2,
  .split-section h2,
  .experience-section__copy h2,
  .support-intro h2,
  .cv-box h2,
  .final-cta h2 {
    font-size: clamp(2rem, 5.5vw, 2.2rem);
  }

  .hero-appointment__card,
  .cv-box,
  .simple-form,
  .contact-form {
    width: 100%;
  }

  .footer-grid {
    width: 100%;
    gap: 32px;
  }

  .footer-column[data-footer-accordion-ready] {
    gap: 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    overflow: visible;
  }

  .footer-mobile-toggle {
    width: 100%;
    min-height: 58px;
    margin: 0;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    letter-spacing: 0;
  }

  .footer-mobile-toggle::after {
    content: "+";
    flex: none;
    width: 30px;
    height: 30px;
    color: #fff;
    background: rgba(155, 211, 174, 0.24);
    border: 1px solid rgba(155, 211, 174, 0.62);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 950;
    line-height: 1;
  }

  .footer-mobile-toggle[aria-expanded="true"]::after {
    content: "-";
  }

  .footer-mobile-panel {
    gap: 10px;
    padding: 0 0 18px;
  }

  .footer-mobile-panel[hidden] {
    display: none;
  }

  .footer-mobile-panel a {
    width: 100%;
  }
}

@media (min-width: 621px) and (max-width: 860px) {
  .sector-grid,
  .card-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 620px) {
  :root {
    --header-height: 64px;
  }

  .container,
  .nav {
    width: calc(100% - 24px);
  }

  .brand-logo {
    max-width: clamp(132px, 42vw, 170px);
    max-height: 38px;
  }

  .hero,
  .page-hero {
    min-height: clamp(390px, 58vh, 520px);
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.05rem, 9vw, 2.28rem);
  }

  .page-hero--contact h1 {
    max-width: 11ch;
    font-size: clamp(1.78rem, 7.8vw, 2.08rem);
    line-height: 1.08;
  }

  .page-hero--contact .page-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero--contact .page-hero__copy {
    width: min(100%, 330px);
    max-width: 330px;
  }

  .page-hero--contact .page-hero__copy p {
    max-width: 32ch;
    font-size: 0.98rem;
  }

  .contact-details-section .container {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .contact-details-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-detail-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .contact-detail-card strong {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .page-section {
    padding: 54px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2,
  .split-section h2,
  .experience-section__copy h2,
  .support-intro h2,
  .cv-box h2,
  .final-cta h2 {
    font-size: clamp(1.82rem, 7.4vw, 2.08rem);
  }

  .hero-appointment {
    margin-top: -32px;
  }

  .hero-appointment__card {
    padding: 18px;
  }

  .sector-card__media {
    aspect-ratio: 16 / 9;
  }

  .process-hex-card {
    clip-path: polygon(18% 4%, 82% 4%, 100% 50%, 82% 96%, 18% 96%, 0 50%);
    padding-inline: 32px;
  }

  .footer-bottom nav {
    gap: 12px 18px;
  }

  .site-footer {
    overflow-x: clip;
  }

  .footer-shell {
    width: calc(100% - 24px);
    padding: 40px 0 22px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 28px;
  }

  .footer-column[data-footer-accordion-ready] {
    gap: 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    overflow: visible;
  }

  .footer-mobile-toggle {
    width: 100%;
    min-height: 58px;
    margin: 0;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    letter-spacing: 0;
  }

  .footer-mobile-toggle::after {
    content: "+";
    flex: none;
    width: 30px;
    height: 30px;
    color: #fff;
    background: rgba(155, 211, 174, 0.24);
    border: 1px solid rgba(155, 211, 174, 0.62);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 950;
    line-height: 1;
  }

  .footer-mobile-toggle[aria-expanded="true"]::after {
    content: "-";
  }

  .footer-mobile-panel {
    gap: 10px;
    padding: 0 0 18px;
  }

  .footer-mobile-panel[hidden] {
    display: none;
  }

  .footer-mobile-panel a {
    width: 100%;
  }

  .footer-intro > p:not(.footer-eyebrow) {
    max-width: none;
  }

  .footer-brand-logo {
    max-width: 180px;
  }

  .footer-email-cta {
    display: none !important;
  }

  .footer-social {
    margin-top: 0;
    padding-top: 2px;
  }

  .footer-social__list {
    gap: 9px;
  }

  .footer-social__link {
    width: 40px;
    height: 40px;
  }

  .footer-contact a {
    grid-template-columns: 18px minmax(0, 1fr);
    column-gap: 9px;
  }

  .footer-bottom {
    width: 100%;
    align-items: stretch;
  }

  .footer-bottom nav {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .container,
  .nav {
    width: calc(100% - 20px);
  }

  .brand-logo {
    max-width: 128px;
  }

  .nav {
    gap: 8px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(1.95rem, 9.2vw, 2.12rem);
  }

  .button,
  .nav-cta {
    font-size: 0.9rem;
  }

  .cv-box,
  .info-card,
  .step-card,
  .job-card,
  .notice-card,
  .contact-method,
  .contact-detail-card,
  .apply-box,
  .job-summary,
  .simple-form,
  .contact-form,
  .support-card {
    padding: 18px;
  }

  .process-hex-card {
    min-height: 210px;
    padding: 50px 28px 32px;
  }

  .footer-shell {
    width: calc(100% - 20px);
  }

  .footer-brand-logo {
    max-width: 160px;
  }

}

@media (max-height: 700px) and (max-width: 860px) {
  .hero,
  .page-hero {
    min-height: clamp(360px, 64vh, 460px);
  }

  .hero__inner {
    padding-block: 44px 70px;
  }

  .page-hero__inner {
    padding-block: 50px;
  }
}

@media (min-width: 1000px) and (max-height: 700px) {
  :root {
    --header-height: 76px;
  }

  .hero {
    min-height: 480px;
  }

  .hero__inner {
    padding-block: 72px 100px;
  }

  .page-section {
    padding: 66px 0;
  }
}

.page-hero--jobs {
  background-image:
    linear-gradient(90deg, rgba(7, 28, 43, 0.78), rgba(7, 28, 43, 0.38)),
    url("/assets/recruiting-meeting.jpg");
  background-position: center;
  background-size: cover;
}

.live-jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.live-job-card,
.jobs-empty {
  border: 1px solid rgba(11, 39, 68, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(11, 39, 68, 0.09);
}

.live-job-card {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.live-job-card__top,
.live-job-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-job-card__top {
  justify-content: space-between;
}

.live-job-card__top span {
  border-radius: 999px;
  padding: 7px 10px;
  color: #0b2744;
  background: #eef4f7;
  font-size: 0.78rem;
  font-weight: 800;
}

.live-job-card h2,
.jobs-empty h2 {
  margin: 0;
  color: #0b2744;
}

.live-job-card p,
.jobs-empty p {
  margin: 0;
  color: #4f5d67;
  line-height: 1.65;
}

.live-job-meta {
  flex-wrap: wrap;
  margin: 0;
}

.live-job-meta div {
  min-width: 136px;
  border: 1px solid rgba(11, 39, 68, 0.11);
  border-radius: 8px;
  padding: 12px;
  background: #f7fafb;
}

.live-job-meta dt {
  color: #66727b;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.live-job-meta dd {
  margin: 4px 0 0;
  color: #0b2744;
  font-weight: 800;
}

.live-job-details {
  border-top: 1px solid rgba(11, 39, 68, 0.1);
  padding-top: 14px;
}

.live-job-details summary {
  color: #0b2744;
  font-weight: 800;
  cursor: pointer;
}

.live-job-details p {
  margin-top: 10px;
}

.jobs-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 30px;
}

@media (max-width: 860px) {
  .live-jobs-grid {
    grid-template-columns: 1fr;
  }
}

.application-page {
  background: #f7faff;
}

.application-top {
  padding: 24px 0 22px;
  background: #ffffff;
  border-bottom: 1px solid #d8e4f5;
}

.application-top__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: end;
}

.application-top h1 {
  margin: 0;
  color: #0a2d5f;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0;
}

.job-select-wrap {
  display: grid;
  gap: 8px;
  color: #26364d;
  font-size: 0.86rem;
  font-weight: 800;
}

.job-select-wrap select,
.application-form-grid input,
.application-form-grid select,
.application-form-grid textarea,
.entry-form input,
.entry-form select,
.entry-form textarea,
.application-accordion textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid #b9cce8;
  border-radius: 6px;
  background: #ffffff;
  color: #172132;
  padding: 8px 10px;
  font: inherit;
  outline: none;
}

.job-select-wrap select:focus,
.application-form-grid input:focus,
.application-form-grid select:focus,
.application-form-grid textarea:focus,
.entry-form input:focus,
.entry-form select:focus,
.entry-form textarea:focus,
.application-accordion textarea:focus {
  border-color: #0b5ec8;
  box-shadow: 0 0 0 3px rgba(11, 94, 200, 0.14);
}

.rich-source-textarea[hidden] {
  display: none;
}

.application-rich-editor {
  overflow: hidden;
  border: 1px solid #b9cce8;
  border-radius: 6px;
  background: #ffffff;
}

.application-rich-editor:focus-within {
  border-color: #0b5ec8;
  box-shadow: 0 0 0 3px rgba(11, 94, 200, 0.14);
}

.application-rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #d8e4f5;
  padding: 7px;
  background: #f7faff;
}

.application-rich-toolbar button {
  min-height: 32px;
  border: 1px solid #c8d9f2;
  border-radius: 6px;
  color: #172132;
  background: #ffffff;
  padding: 0 9px;
  font: inherit;
  font-weight: 850;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    border-radius 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.application-rich-toolbar button {
  min-width: 34px;
}

.application-rich-toolbar button:hover,
.application-rich-toolbar button:focus-visible {
  border-color: #0b5ec8;
  color: #0a2d5f;
  background: #eef5ff;
}

.application-rich-toolbar button.is-active,
.application-rich-toolbar button[aria-pressed="true"] {
  border-color: #0b5ec8;
  border-radius: 9px;
  color: #ffffff;
  background: #0b5ec8;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.36),
    0 6px 14px rgba(11, 94, 200, 0.22);
  transform: translateY(1px);
}

.application-rich-surface {
  min-height: 104px;
  padding: 10px;
  color: #172132;
  line-height: 1.6;
  outline: none;
}

.application-rich-surface.is-invalid {
  box-shadow: inset 0 0 0 2px rgba(179, 61, 49, 0.62);
}

.application-rich-surface p,
.application-rich-surface ul,
.application-rich-surface ol {
  margin: 0 0 10px;
}

.application-rich-surface ul,
.application-rich-surface ol {
  padding-left: 22px;
}

.selected-job-summary {
  grid-column: 1 / -1;
}

.selected-job-empty {
  margin: 0;
  border: 1px dashed #b9cce8;
  border-radius: 8px;
  padding: 14px;
  color: #5a687a;
  background: #f7faff;
  font-weight: 780;
}

.selected-job-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.selected-job-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.application-section {
  padding-top: 26px;
}

.application-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.flow-panel {
  position: sticky;
  top: calc(var(--header-height, 88px) + 16px);
  border: 1px solid #c8d9f2;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(10, 45, 95, 0.08);
}

.flow-panel h2 {
  margin: 0 0 12px;
  color: #0a2d5f;
  font-size: 1.02rem;
}

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

.flow-list button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #5a687a;
  padding: 5px;
  font-weight: 800;
  text-align: left;
}

.flow-list span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  color: #ffffff;
  background: #93a3b8;
  font-size: 0.82rem;
}

.flow-list button.is-active,
.flow-list button.is-done {
  color: #0a2d5f;
  background: #eef5ff;
}

.flow-list button.is-active span,
.flow-list button.is-done span {
  background: #0b5ec8;
}

.application-workspace {
  display: grid;
  gap: 10px;
}

.application-status {
  min-height: 24px;
  margin: 0;
  color: #0b5ec8;
  font-weight: 800;
}

.application-status.is-error {
  color: #b33d31;
}

.application-status.is-success {
  color: #137347;
}

.submit-message {
  display: none;
  margin: 0;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 850;
  line-height: 1.45;
}

.submit-message.is-success,
.submit-message.is-error {
  display: block;
}

.submit-message.is-success {
  color: #137347;
  background: #e7f6ee;
  border: 1px solid #bfe3cf;
}

.submit-message.is-error {
  color: #b33d31;
  background: #fbeeea;
  border: 1px solid #efc8bf;
}

.application-accordion {
  border: 1px solid #c8d9f2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(10, 45, 95, 0.06);
  overflow: hidden;
}

.application-accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  border: 0;
  background: #ffffff;
  color: #172132;
  padding: 10px 14px;
  font-weight: 900;
  text-align: left;
}

.application-accordion__header span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.application-accordion__header em {
  border: 1px solid #0b5ec8;
  border-radius: 6px;
  color: #0b5ec8;
  padding: 4px 9px;
  font-style: normal;
  font-size: 0.86rem;
}

.application-accordion__body {
  display: none;
  border-top: 1px solid #d8e4f5;
  padding: 14px;
}

.application-accordion.is-open .application-accordion__body {
  display: grid;
  gap: 14px;
}

.application-form-grid,
.entry-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.entry-form {
  grid-template-columns: repeat(4, minmax(0, 1fr)) 82px;
}

.application-form-grid label,
.entry-form label,
.application-accordion label {
  display: grid;
  gap: 6px;
  color: #26364d;
  font-size: 0.79rem;
  font-weight: 850;
}

.entry-form--dashed {
  border: 2px dashed #8fb8ee;
  border-radius: 8px;
  padding: 14px;
}

.form-wide {
  grid-column: 1 / -1;
}

.checkbox-label {
  justify-items: center;
  align-self: center;
}

.checkbox-label input {
  min-height: auto;
  width: 18px;
  height: 18px;
}

.form-action {
  align-self: end;
}

.review-panel {
  display: grid;
  gap: 12px;
}

.record-output:empty,
.review-panel:empty {
  display: none;
}

.review-panel h3 {
  margin: 0;
  color: #0a2d5f;
  font-size: 1rem;
}

.record-card p,
.review-panel p {
  margin: 0;
  color: #516177;
  line-height: 1.55;
}

.record-list,
.record-output,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.record-card {
  display: grid;
  gap: 6px;
  min-width: min(100%, 250px);
  border-top: 1px solid #d8e4f5;
  background: transparent;
  padding: 10px 0 0;
}

.record-card strong {
  color: #172132;
}

.record-card__actions {
  display: flex;
  gap: 8px;
}

.record-card__actions button,
.skill-tag button {
  border: 1px solid #c8d9f2;
  border-radius: 6px;
  background: #f3f7fd;
  color: #0a2d5f;
  padding: 4px 8px;
  font-weight: 800;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-top: 1px solid #d8e4f5;
  background: transparent;
  padding: 7px 0 0;
  color: #172132;
  font-weight: 800;
}

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

.review-grid div {
  border-top: 1px solid #d8e4f5;
  padding-top: 10px;
}

.review-grid span {
  display: block;
  color: #66758a;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.review-grid strong {
  display: block;
  margin-top: 4px;
  color: #172132;
}

.careers-hero {
  padding: clamp(64px, 9vw, 108px) 0 clamp(34px, 6vw, 72px);
  background:
    linear-gradient(90deg, rgba(4, 43, 77, 0.82), rgba(4, 43, 77, 0.46)),
    url("/assets/workshop.jpg") center / cover;
  color: #ffffff;
}

.careers-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
}

.careers-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.2rem);
  line-height: 0.95;
  text-wrap: balance;
}

.careers-hero p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}

.careers-hero .section-kicker {
  color: #9bd3ae;
}

.careers-hero__panel {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.careers-hero__panel strong {
  display: block;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 1.05rem;
}

.careers-hero__panel ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.86);
}

.careers-heading,
.careers-toolbar {
  display: grid;
  gap: 16px;
}

.careers-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.careers-heading h2 {
  margin: 0;
  color: #11243d;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.careers-status {
  margin: 0;
  color: #516177;
  font-weight: 800;
}

.careers-status.is-error {
  color: #b84435;
}

.careers-toolbar {
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.24fr) minmax(190px, 0.24fr);
  margin-top: 20px;
}

.careers-toolbar label {
  display: grid;
  gap: 8px;
  color: #516177;
  font-size: 0.84rem;
  font-weight: 850;
}

.careers-toolbar input,
.careers-toolbar select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c9d5c7;
  border-radius: 8px;
  padding: 10px 12px;
  color: #102132;
  background: #ffffff;
  font: inherit;
}

.careers-grid {
  display: grid;
  margin-top: 22px;
}

.careers-board {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
  gap: 20px;
  align-items: start;
}

.career-results {
  display: grid;
  gap: 12px;
  max-height: min(760px, calc(100vh - 130px));
  overflow-y: auto;
  padding: 2px 6px 2px 2px;
}

.career-card,
.career-detail,
.careers-empty,
.selected-job-card {
  border: 1px solid #d8e4d7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(20, 37, 50, 0.08);
}

.career-card {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.career-card.is-active {
  border-color: #0c7f43;
  box-shadow: 0 18px 40px rgba(12, 127, 67, 0.13);
}

.career-card__button {
  display: grid;
  gap: 8px;
  width: 100%;
  border: 0;
  padding: 18px;
  color: inherit;
  background: transparent;
  text-align: left;
}

.career-card__badge,
.career-card__chips span,
.career-detail__tag,
.selected-job-card__top span {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 26px;
  border-radius: 6px;
  padding: 5px 9px;
  color: #0c7f43;
  background: #e8f4ed;
  font-size: 0.75rem;
  font-weight: 900;
}

.career-card h2,
.career-detail h2,
.selected-job-card h2 {
  margin: 0;
  color: #102132;
  font-size: clamp(1.08rem, 1.6vw, 1.42rem);
  line-height: 1.25;
}

.career-card__company,
.career-card__location {
  margin: 0;
  color: #516177;
  font-size: 0.92rem;
}

.career-card__company {
  color: #102132;
  font-weight: 800;
}

.career-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.career-card__chips span {
  color: #102132;
  background: #eef4f7;
}

.career-detail {
  position: sticky;
  top: 96px;
  max-height: min(760px, calc(100vh - 130px));
  overflow-y: auto;
}

.career-detail__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #d8e4d7;
  padding: clamp(18px, 2.8vw, 28px);
}

.career-detail__top p,
.selected-job-card__top p {
  margin: 8px 0 0;
  color: #516177;
  font-weight: 700;
  line-height: 1.5;
}

.career-detail__section {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.5vw, 28px);
  border-bottom: 1px solid #e4ece3;
}

.career-detail__section:last-child {
  border-bottom: 0;
}

.career-detail__section h3 {
  margin: 0;
  color: #102132;
  font-size: 1.12rem;
}

.career-detail__facts,
.selected-job-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.career-detail__facts div,
.selected-job-card__facts div {
  border: 1px solid #d8e4d7;
  border-radius: 8px;
  padding: 12px;
  background: #f8fbf7;
}

.career-detail__facts dt,
.selected-job-card__facts dt {
  color: #637083;
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.career-detail__facts dd,
.selected-job-card__facts dd {
  margin: 5px 0 0;
  color: #102132;
  font-weight: 850;
}

.career-detail__copy {
  margin: 0;
  color: #516177;
  line-height: 1.7;
  white-space: pre-line;
}

.career-detail__copy p,
.career-detail__copy ul,
.career-detail__copy ol {
  margin: 0 0 10px;
}

.career-detail__copy p:last-child,
.career-detail__copy ul:last-child,
.career-detail__copy ol:last-child {
  margin-bottom: 0;
}

.career-detail__copy ul,
.career-detail__copy ol {
  padding-left: 22px;
}

.careers-empty {
  padding: 28px;
  text-align: center;
}

.careers-empty h2 {
  margin: 0;
  color: #102132;
}

.careers-empty p {
  margin: 8px auto 0;
  max-width: 52ch;
  color: #516177;
  line-height: 1.6;
}

.careers-board-page {
  min-height: calc(100vh - var(--header-height, 88px));
  padding: clamp(24px, 3vw, 40px) 0 clamp(46px, 6vw, 76px);
  background: #f7faf8;
  overflow-x: hidden;
}

.careers-board-shell,
.careers-board-heading,
.careers-board-heading > *,
.careers-toolbar,
.careers-grid,
.careers-board,
.career-results,
.career-card,
.career-card__button,
.career-detail,
.career-detail__top,
.career-detail__headline,
.career-detail__body,
.career-detail__section {
  min-width: 0;
}

.careers-board-shell {
  display: grid;
  gap: 16px;
}

.careers-board-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  border-bottom: 1px solid #dbe6dc;
  padding-bottom: 12px;
}

.careers-board-heading h1 {
  margin: 0;
  color: #102132;
  font-size: clamp(1.38rem, 2vw, 1.8rem);
  line-height: 1.18;
}

.careers-resume-note {
  margin: 0 0 18px;
  color: #102132;
  font-size: 0.9rem;
  font-weight: 850;
}

.careers-resume-note a {
  color: #0b5ec8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.careers-sort-note {
  margin: 8px 0 0;
  color: #516177;
  font-size: 0.84rem;
  font-weight: 850;
}

.careers-sort-note strong {
  color: #102132;
}

.careers-sort-note button {
  border: 0;
  padding: 0;
  color: #0b5ec8;
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.careers-sort-note button.is-active {
  color: #0c7f43;
}

.careers-board-page .careers-status {
  max-width: 36ch;
  text-align: right;
}

.careers-board-page .careers-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(170px, 0.26fr) minmax(170px, 0.26fr);
  gap: 12px;
  margin-top: 0;
}

.careers-board-page .careers-toolbar label {
  gap: 6px;
  color: #516177;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.careers-board-page .careers-toolbar input,
.careers-board-page .careers-toolbar select {
  min-height: 44px;
  border-color: #d4dfd5;
  border-radius: 7px;
  background: #ffffff;
}

.careers-board-page .careers-toolbar input:focus,
.careers-board-page .careers-toolbar select:focus {
  border-color: #0c7f43;
  box-shadow: 0 0 0 3px rgba(12, 127, 67, 0.14);
}

.careers-board-page .careers-grid {
  margin-top: 0;
}

.careers-board-page .careers-board {
  display: grid;
  grid-template-columns: minmax(300px, 0.38fr) minmax(0, 0.62fr);
  gap: 18px;
  align-items: start;
}

.careers-board-page .career-results {
  align-content: start;
  gap: 10px;
  max-height: calc(100dvh - var(--header-height, 88px) - 144px);
  overflow-y: auto;
  padding: 0 8px 0 0;
}

.career-results__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dbe6dc;
  padding: 0 0 9px;
  color: #102132;
  font-size: 0.92rem;
  font-weight: 900;
}

.careers-board-page .career-card,
.careers-board-page .career-detail,
.careers-board-page .careers-empty {
  border-color: #d7e2d8;
  box-shadow: none;
}

.careers-board-page .career-card {
  overflow: hidden;
  background: #ffffff;
}

.careers-board-page .career-card:hover,
.careers-board-page .career-card:focus-within {
  border-color: #9dbca8;
  box-shadow: 0 14px 28px rgba(11, 39, 68, 0.08);
}

.careers-board-page .career-card.is-active {
  border-color: #0c7f43;
  box-shadow: 0 0 0 1px #0c7f43;
}

.careers-board-page .career-card__button {
  position: relative;
  gap: 6px;
  padding: 16px 46px 16px 16px;
}

.career-card__bookmark {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #34475c;
}

.career-card__bookmark svg,
.career-icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.careers-board-page .career-card__badge {
  min-height: 24px;
  color: #0c7f43;
  background: #e8f4ed;
  font-size: 0.72rem;
}

.careers-board-page .career-card h2 {
  color: #102132;
  font-size: 1.02rem;
  line-height: 1.28;
}

.careers-board-page .career-card__company,
.careers-board-page .career-card__location,
.career-card__deadline,
.career-card__preview {
  margin: 0;
}

.careers-board-page .career-card__company {
  color: #2d3d4f;
  font-size: 0.88rem;
  font-weight: 800;
}

.careers-board-page .career-card__location {
  color: #516177;
  font-size: 0.86rem;
}

.careers-board-page .career-card__chips {
  gap: 6px;
  margin-top: 6px;
}

.careers-board-page .career-card__chips span {
  min-height: 24px;
  border-radius: 5px;
  color: #102132;
  background: #eef2ef;
  font-size: 0.72rem;
}

.career-card__deadline {
  color: #516177;
  font-size: 0.82rem;
  font-weight: 800;
}

.career-card__preview {
  display: -webkit-box;
  overflow: hidden;
  color: #66758a;
  font-size: 0.82rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.careers-board-page .career-detail {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  position: sticky;
  top: calc(var(--header-height, 88px) + 14px);
  max-height: calc(100dvh - var(--header-height, 88px) - 28px);
  overflow: hidden;
  background: #ffffff;
}

.careers-board-page .career-detail__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #dbe6dc;
  padding: clamp(18px, 2.4vw, 26px);
  background: #ffffff;
}

.career-detail__headline {
  min-width: 0;
}

.careers-board-page .career-detail h2 {
  color: #102132;
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  line-height: 1.22;
}

.career-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 8px 0 0;
  color: #516177;
  font-size: 0.9rem;
  font-weight: 800;
}

.career-detail__meta span:not(:last-child)::after {
  content: "|";
  margin-left: 10px;
  color: #a1adba;
}

.career-detail__actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.career-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid #d4dfd5;
  border-radius: 8px;
  color: #102132;
  background: #f5f8f6;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.career-icon-button:hover,
.career-icon-button:focus-visible,
.career-icon-button.is-saved,
.career-icon-button[aria-pressed="true"] {
  border-color: #0c7f43;
  color: #0c7f43;
  background: #e8f4ed;
  transform: translateY(-1px);
}

.career-detail__body {
  overflow-y: auto;
}

.careers-board-page .career-detail__section {
  gap: 14px;
  padding: clamp(18px, 2.4vw, 26px);
}

.careers-board-page .career-detail__section h3 {
  font-size: 1.05rem;
}

.careers-board-page .career-detail__facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
}

.careers-board-page .career-detail__facts div {
  position: relative;
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid #e3ece4;
  border-radius: 0;
  padding: 0 0 12px;
  background: transparent;
}

.careers-board-page .career-detail__facts dt {
  color: #5d6d7d;
  font-size: 0.72rem;
}

.careers-board-page .career-detail__facts dd {
  margin-top: 3px;
  font-size: 0.95rem;
}

.careers-board-page .career-detail__copy {
  color: #3f4e5f;
  line-height: 1.68;
  white-space: normal;
}

.career-detail__location p {
  margin: 0;
  color: #3f4e5f;
  font-weight: 800;
}

.career-detail__report button {
  justify-self: start;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  color: #2d3d4f;
  background: #eef2ef;
  font: inherit;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .application-layout,
  .application-top__inner,
  .careers-hero__inner,
  .careers-heading,
  .careers-toolbar,
  .careers-board {
    grid-template-columns: 1fr;
  }

  .flow-panel {
    position: static;
  }

  .career-results,
  .career-detail {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .career-detail__body {
    overflow: visible;
  }

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

  .career-detail__facts,
  .selected-job-card__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .application-form-grid,
  .entry-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .careers-board-page {
    padding-top: 22px;
  }

  .container.careers-board-shell {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .careers-board-page,
  .careers-board-shell,
  .careers-board-heading,
  .careers-board-page .careers-toolbar,
  .careers-board-page .careers-grid,
  .careers-board-page .careers-board,
  .careers-board-page .career-results,
  .careers-board-page .career-card,
  .careers-board-page .career-detail {
    min-width: 0;
    max-width: 100%;
  }

  .careers-board-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .careers-board-page .careers-status {
    text-align: left;
  }

  .careers-resume-note {
    display: block;
    max-width: 100%;
    line-height: 1.45;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .careers-board-page .careers-toolbar,
  .careers-board-page .careers-board {
    grid-template-columns: 1fr;
  }

  .careers-board-page .career-results {
    padding-right: 0;
    overflow: visible;
  }

  .careers-board-page .career-card__button {
    width: 100%;
    padding-right: 42px;
  }

  .career-card__preview {
    max-width: 100%;
  }

  .career-detail__actions {
    justify-content: flex-start;
    width: 100%;
  }

  .application-form-grid,
  .entry-form,
  .flow-list,
  .review-grid,
  .career-detail__facts,
  .selected-job-card__facts {
    grid-template-columns: 1fr;
  }

  .application-accordion__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .career-detail__top,
  .selected-job-card__top {
    align-items: flex-start;
    flex-direction: column;
  }
}
