

:root {
  --navy: #092b4c;
  --navy-2: #123f69;
  --blue: #1c6bff;
  --blue-dark: #1155cf;
  --blue-pale: #eaf3ff;
  --ice: #f5f9ff;
  --white: #fbfcfe;
  --ink: #162332;
  --muted: #5e7184;
  --line: #dce6f1;
  --success: #18a66a;
  --shadow: 0 24px 70px rgba(9, 43, 76, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Poppins, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body::selection {
  background: var(--blue-pale);
  color: var(--navy);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.shell {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--navy);
  color: white;
  padding: 10px 16px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 92px;
  border-bottom: 1px solid rgba(220, 230, 241, 0.9);
  background: rgba(251, 252, 254, 0.94);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 220px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 40px);
}

.main-nav > a:not(.button) {
  position: relative;
  color: var(--ink);
  font-family: Jost, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav > a:not(.button):hover::after,
.main-nav > a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 10px;
  background: var(--blue-pale);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 4px;
  background: var(--navy);
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--blue);
  border-radius: 10px;
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(28, 107, 255, 0.18);
  color: white;
  font-size: 15px;
  font-weight: 750;
  padding: 15px 25px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  border-color: var(--navy);
  background: var(--navy);
  box-shadow: 0 14px 32px rgba(9, 43, 76, 0.2);
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(28, 107, 255, 0.32);
  outline-offset: 3px;
}

.button-small {
  min-height: 46px;
  padding: 10px 22px;
}

.button-outline {
  border-color: var(--blue);
  background: transparent;
  box-shadow: none;
  color: var(--blue-dark);
}

.button-outline:hover {
  border-color: var(--blue);
  background: var(--blue-pale);
  box-shadow: none;
  color: var(--navy);
}

.hero {
  position: relative;
  min-height: 740px;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 15%, rgba(28, 107, 255, 0.08), transparent 31%),
    linear-gradient(125deg, #fbfcfe 0%, #f7faff 54%, #edf5ff 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  border: 1px solid rgba(28, 107, 255, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  left: -290px;
  bottom: -300px;
}

.hero::after {
  width: 510px;
  height: 510px;
  left: -330px;
  bottom: -360px;
}

.hero-grid {
  display: grid;
  min-height: 740px;
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 58px;
  padding-block: 58px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 630px;
  animation: rise-in 600ms both;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 670px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(52px, 5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero-lead {
  max-width: 600px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.65;
}

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

.experience-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  color: var(--navy);
  font-size: 15px;
}

.experience-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #cfe1ff;
  border-radius: 50%;
  background: #f3f7ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 580px;
  animation: picture-in 720ms 100ms both;
}

.hero-visual::before {
  position: absolute;
  top: -18px;
  right: -18px;
  bottom: 18px;
  left: 18px;
  border: 1px solid rgba(28, 107, 255, 0.25);
  border-radius: 68px 20px 68px 68px;
  content: "";
}

.hero-visual img {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 68px 18px 68px 68px;
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: 58% center;
}

.hero-note {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 14px 36px rgba(9, 43, 76, 0.16);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 14px 18px;
  backdrop-filter: blur(10px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(24, 166, 106, 0.12);
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: white;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid p {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  border-right: 1px solid var(--line);
  padding: 20px 26px;
}

.trust-grid p:first-child {
  border-left: 1px solid var(--line);
}

.trust-grid strong {
  color: var(--navy);
  font-size: 14px;
}

.trust-grid span {
  color: var(--muted);
  font-size: 13px;
}

.clients-section {
  border-bottom: 1px solid var(--line);
  background: var(--ice);
  padding-block: 76px 84px;
}

.clients-heading {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.clients-heading .eyebrow {
  margin-bottom: 12px;
}

.clients-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.client-card {
  display: flex;
  min-height: 205px;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 30px rgba(9, 43, 76, 0.05);
  padding: 25px 18px 20px;
  text-align: center;
}

.client-logo-frame {
  display: flex;
  height: 108px;
  align-items: center;
  justify-content: center;
}

.client-logo-frame img {
  width: auto;
  max-width: 150px;
  height: auto;
  max-height: 104px;
  object-fit: contain;
}

.client-card p {
  margin: 0;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.section {
  padding-block: 112px;
}

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

.section-heading h2,
.split-copy h2,
.candidate-callout h2,
.final-cta h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(36px, 3.6vw, 54px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.two-column-heading {
  display: grid;
  align-items: end;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
}

.two-column-heading .eyebrow,
.centered-heading .eyebrow {
  margin-bottom: 18px;
}

.two-column-heading > p,
.centered-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.service-card {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  padding: 34px;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.service-card::before {
  position: absolute;
  top: -60px;
  right: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--blue-pale);
  content: "";
  transition: transform 300ms ease;
}

.service-card:hover {
  border-color: #b5cff6;
  box-shadow: 0 22px 50px rgba(9, 43, 76, 0.09);
  transform: translateY(-6px);
}

.service-card:hover::before {
  transform: scale(1.12);
}

.service-card h3 {
  position: relative;
  max-width: 270px;
  margin: 54px 0 14px;
  color: var(--navy);
  font-size: 25px;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.service-card a {
  position: absolute;
  right: 34px;
  bottom: 28px;
  left: 34px;
  display: flex;
  justify-content: space-between;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 750;
}

.process-section {
  background: var(--ice);
}

.centered-heading {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.centered-heading > p {
  max-width: 640px;
  margin: 18px auto 0;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.process-grid::before {
  position: absolute;
  top: 29px;
  right: 12.5%;
  left: 12.5%;
  height: 1px;
  background: #b9d1f3;
  content: "";
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  text-align: center;
}

.process-step > span {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 auto 25px;
  place-items: center;
  border: 1px solid #b9d1f3;
  border-radius: 50%;
  background: white;
  box-shadow: 0 9px 24px rgba(28, 107, 255, 0.08);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.process-step h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.split-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 92px;
}

.split-image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 18px 64px 18px 64px;
  background:
    linear-gradient(rgba(9, 43, 76, 0.18), rgba(9, 43, 76, 0.18)),
    url("../images/mct-hero-team.jpg") center/cover;
  box-shadow: var(--shadow);
}

.quote-card {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: min(360px, calc(100% - 52px));
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  padding: 24px 26px;
  backdrop-filter: blur(10px);
}

.quote-card span {
  color: var(--blue);
  font-size: 34px;
  font-weight: 800;
  line-height: 0.7;
}

.quote-card p {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.split-copy > p:not(.eyebrow) {
  margin: 25px 0;
  color: var(--muted);
  font-size: 17px;
}

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

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink);
  font-weight: 600;
}

.check-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-dark);
  font-weight: 750;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.candidate-callout {
  padding-block: 84px;
  background: var(--navy);
  color: white;
}

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

.candidate-inner > div {
  max-width: 760px;
}

.eyebrow-light {
  color: #8cb6ff;
}

.candidate-callout h2 {
  color: white;
}

.candidate-callout p:not(.eyebrow) {
  margin: 18px 0 0;
  color: #c6d6e6;
  font-size: 17px;
}

.button-light {
  flex: 0 0 auto;
  border-color: white;
  background: white;
  box-shadow: none;
  color: var(--navy);
}

.button-light:hover {
  border-color: #d5e6ff;
  background: #d5e6ff;
  color: var(--navy);
}

.final-cta {
  background: white;
}

.final-cta-inner {
  max-width: 860px;
  text-align: center;
}

.final-cta p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px auto 32px;
  color: var(--muted);
  font-size: 17px;
}

.site-footer {
  background: #061f37;
  color: #aec1d3;
  padding-top: 74px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 1fr;
  gap: 72px;
  padding-bottom: 58px;
}

.brand-footer .brand-logo {
  width: 240px;
}

.footer-intro {
  max-width: 380px;
  margin: 25px 0 0;
}

.footer-grid > div:nth-child(n + 2) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}

.footer-grid a:hover {
  color: white;
}

.footer-title {
  margin: 0 0 10px;
  color: white;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-grid p {
  margin-block: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8199af;
  font-size: 12px;
  padding-block: 22px;
}

/* Interior pages */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 15%, rgba(28, 107, 255, 0.14), transparent 30%),
    linear-gradient(130deg, #f8fbff 0%, #eef5ff 100%);
  padding-block: 106px 100px;
}

.page-hero::after {
  position: absolute;
  right: -170px;
  bottom: -240px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(28, 107, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin-left: max(24px, calc((100% - 1280px) / 2));
}

.page-hero h1,
.job-detail-hero h1,
.contact-intro h1,
.success-card h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(50px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.page-hero-inner > p:last-child {
  max-width: 700px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.services-detail-list {
  display: grid;
  gap: 0;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 90px;
  border-top: 1px solid var(--line);
  padding-block: 70px;
}

.service-detail:last-child {
  border-bottom: 1px solid var(--line);
}

.service-detail-label {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.service-detail-label > span {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.service-detail-label p {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
}

.service-detail-copy h2,
.about-copy h2,
.service-promise h2,
.jobs-aside h2 {
  max-width: 720px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.14;
}

.service-detail-copy > p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.compact-list {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
}

.service-promise {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
}

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

.promise-grid p {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 24px;
}

.promise-grid strong { color: var(--navy); }
.promise-grid span { color: var(--muted); font-size: 14px; }

.about-hero {
  background:
    linear-gradient(90deg, rgba(245, 249, 255, 0.98), rgba(245, 249, 255, 0.86)),
    url("../images/mct-hero-team.jpg") right center / 60% auto no-repeat;
}

.about-intro-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 96px;
}

.about-stat {
  display: flex;
  min-height: 330px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid #c9ddfa;
  border-radius: 28px 80px 28px 80px;
  background: var(--blue-pale);
  color: var(--navy);
  padding: 45px;
  text-align: center;
}

.about-stat strong {
  color: var(--blue);
  font-size: 88px;
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
}

.about-stat span {
  max-width: 260px;
  margin-top: 18px;
  font-size: 16px;
  font-weight: 700;
}

.about-copy > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.values-section { background: var(--ice); }

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

.values-grid article {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  padding: 30px;
}

.values-grid span { color: var(--blue); font-size: 12px; font-weight: 800; }
.values-grid h3 { margin: 60px 0 12px; color: var(--navy); font-size: 24px; }
.values-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.jobs-section { background: #f8fbff; }

.jobs-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 72px;
}

.jobs-aside {
  position: sticky;
  top: 128px;
}

.jobs-aside > p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
}

.privacy-note,
.response-note,
.job-equality {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  border: 1px solid #c9ddfa;
  border-radius: 14px;
  background: var(--blue-pale);
  padding: 18px;
}

.privacy-note > span,
.response-note > span {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.privacy-note p,
.response-note p {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.privacy-note strong,
.response-note strong { color: var(--navy); }

.jobs-list { display: grid; gap: 18px; }

.job-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  padding: 32px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.job-card:hover {
  border-color: #b7d0f5;
  box-shadow: 0 18px 48px rgba(9, 43, 76, 0.08);
  transform: translateY(-4px);
}

.job-card-top { display: flex; justify-content: space-between; gap: 20px; }
.job-card-top > span { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.job-card-top small { color: var(--muted); }
.job-card h2 { max-width: 570px; margin: 17px 0 12px; color: var(--navy); font-size: 27px; letter-spacing: -0.035em; }
.job-card > p { max-width: 670px; margin: 0; color: var(--muted); font-size: 15px; }

.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.job-tags > span { border-radius: 999px; background: var(--blue-pale); color: var(--navy-2); font-size: 12px; font-weight: 700; padding: 7px 12px; }
.job-card > a { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--blue-dark); font-size: 14px; font-weight: 800; }

.job-detail-hero {
  background: var(--navy);
  color: white;
  padding-block: 65px 85px;
}

.job-detail-head { max-width: 950px; }
.back-link { display: inline-flex; margin-bottom: 60px; color: #bcd0e3; font-size: 14px; font-weight: 700; }
.job-detail-head .eyebrow { color: #78a8ff; }
.job-detail-hero h1 { color: white; }
.job-tags-light > span { border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); color: #dbe7f2; }

.job-detail-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  gap: 72px;
}

.job-content { max-width: 730px; }
.job-summary { margin: 0 0 50px; color: var(--navy); font-size: 24px; font-weight: 650; line-height: 1.55; }
.job-content h2 { margin: 45px 0 15px; color: var(--navy); font-size: 27px; }
.job-content > p:not(.job-summary) { color: var(--muted); }
.job-content ul { display: grid; gap: 11px; margin: 0; padding-left: 22px; color: var(--muted); }
.job-content li::marker { color: var(--blue); }
.job-equality { flex-direction: column; margin-top: 52px; }
.job-equality strong { color: var(--navy); }
.job-equality p { margin: 0; color: var(--muted); }

.application-panel { position: sticky; top: 118px; }
.application-form,
.company-form {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 22px 60px rgba(9, 43, 76, 0.1);
  padding: 36px;
}

.application-form h2,
.company-form h2 { margin: 0; color: var(--navy); font-size: 26px; letter-spacing: -0.035em; line-height: 1.2; }
.application-form > p:not(.eyebrow):not(.form-message):not(.form-privacy) { margin: 12px 0 26px; color: var(--muted); font-size: 14px; }

.application-form > label,
.company-form > label,
.form-row > label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 17px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 750;
}

.application-form input,
.company-form input,
.company-form select,
.company-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd9e7;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  padding: 11px 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.company-form textarea { min-height: 130px; resize: vertical; }
.application-form input:focus,
.company-form input:focus,
.company-form select:focus,
.company-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-pale); outline: none; }

.file-field input { border-style: dashed; background: var(--ice); padding: 12px; }
.file-field small { color: var(--muted); font-weight: 500; }

.consent-field {
  display: grid !important;
  align-items: start;
  grid-template-columns: 20px 1fr;
  gap: 10px !important;
  color: var(--muted) !important;
  font-weight: 600 !important;
  line-height: 1.5;
}

.consent-field input { width: 18px; min-height: 18px; margin-top: 2px; accent-color: var(--blue); }
.form-submit { width: 100%; margin-top: 22px; }
.form-submit:disabled { cursor: wait; opacity: 0.65; transform: none; }
.form-privacy { margin: 13px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.form-message { border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.form-error { background: #fff0f0; color: #a32727; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

.contact-page {
  background:
    radial-gradient(circle at 10% 12%, rgba(28, 107, 255, 0.1), transparent 26%),
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
  padding-block: 90px 110px;
}

.contact-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.83fr) minmax(560px, 1.17fr);
  gap: 84px;
}

.contact-intro { position: sticky; top: 128px; }
.contact-intro > p:not(.eyebrow) { max-width: 570px; margin: 24px 0 0; color: var(--muted); font-size: 17px; }
.contact-direct { display: grid; gap: 15px; margin-top: 38px; }
.contact-direct p { display: flex; flex-direction: column; margin: 0; color: var(--navy); font-size: 14px; font-weight: 700; }
.contact-direct span { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-direct a:hover { color: var(--blue); }
.response-note { max-width: 420px; background: white; }

.company-form { padding: 42px; }
.form-heading { display: flex; align-items: flex-start; gap: 15px; }
.form-heading > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--blue-pale); color: var(--blue); font-size: 11px; font-weight: 800; }
.form-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.form-heading-spaced { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 32px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.success-page {
  display: grid;
  min-height: 720px;
  place-items: center;
  background: radial-gradient(circle at 50% 10%, rgba(28, 107, 255, 0.12), transparent 34%), var(--ice);
  padding: 70px 24px;
}

.success-card { width: min(100%, 720px); border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: var(--shadow); padding: 60px; text-align: center; }
.success-check { display: grid; width: 64px; height: 64px; margin: 0 auto 25px; place-items: center; border-radius: 50%; background: #ddf7ea; color: var(--success); font-size: 27px; font-weight: 900; }
.success-card h1 { font-size: clamp(38px, 5vw, 54px); }
.success-card > p:not(.eyebrow) { margin: 20px auto 0; color: var(--muted); font-size: 17px; }
.success-steps { display: grid; gap: 10px; margin: 34px 0; text-align: left; }
.success-steps p { display: flex; align-items: center; gap: 13px; margin: 0; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--muted); font-size: 14px; }
.success-steps span { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--blue-pale); color: var(--blue); font-size: 11px; font-weight: 800; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes picture-in {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1080px) {
  .main-nav { gap: 18px; }
  .hero { min-height: auto; }
  .hero-grid { min-height: 670px; grid-template-columns: 0.95fr 1.05fr; gap: 36px; }
  .hero h1 { font-size: clamp(48px, 5.7vw, 64px); }
  .hero-visual { min-height: 520px; }
  .two-column-heading { gap: 48px; }
  .split-grid { gap: 56px; }
  .clients-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .site-header { height: 78px; }
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: white;
    box-shadow: 0 22px 40px rgba(9, 43, 76, 0.12);
    padding: 18px 24px 24px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.button) { border-bottom: 1px solid var(--line); padding: 14px 4px; }
  .main-nav > a:not(.button)::after { display: none; }
  .main-nav .button { margin-top: 16px; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 64px; }
  .hero-copy { max-width: 740px; }
  .hero-visual { min-height: 540px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid p:nth-child(3) { border-left: 1px solid var(--line); }
  .trust-grid p:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .two-column-heading { grid-template-columns: 1fr; gap: 24px; }
  .two-column-heading > p { max-width: 700px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .service-card h3 { margin-top: 48px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 52px 10px; }
  .process-grid::before { display: none; }
  .split-grid { grid-template-columns: 1fr; }
  .split-image { min-height: 520px; }
  .candidate-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .service-detail { grid-template-columns: 1fr; gap: 34px; }
  .service-promise { grid-template-columns: 1fr; gap: 45px; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-stat { max-width: 500px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .jobs-layout { grid-template-columns: 1fr; gap: 45px; }
  .jobs-aside { position: static; }
  .job-detail-grid { grid-template-columns: 1fr; }
  .application-panel { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 34px, 1280px); }
  .brand-logo { width: 188px; }
  .brand-footer .brand-logo { width: 220px; }
  .hero-grid { gap: 42px; padding-block: 48px 38px; }
  .eyebrow { margin-bottom: 17px; font-size: 11px; }
  .hero h1 { font-size: clamp(42px, 13vw, 56px); }
  .hero-lead { margin-top: 20px; font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .experience-badge { margin-top: 28px; }
  .hero-visual { min-height: 390px; }
  .hero-visual::before { top: -10px; right: -8px; bottom: 10px; left: 10px; border-radius: 42px 16px 42px 42px; }
  .hero-visual img { border-radius: 42px 14px 42px 42px; }
  .hero-note { right: 16px; bottom: 16px; left: 16px; justify-content: center; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid p,
  .trust-grid p:nth-child(3) { min-height: 86px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); padding: 15px 22px; }
  .trust-grid p:last-child { border-bottom: 0; }
  .clients-section { padding-block: 62px 68px; }
  .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .client-card { min-height: 190px; padding-inline: 12px; }
  .client-card:last-child { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; }
  .client-logo-frame img { max-width: 128px; }
  .section { padding-block: 78px; }
  .section-heading h2,
  .split-copy h2,
  .candidate-callout h2,
  .final-cta h2 { font-size: 36px; }
  .section-heading { margin-bottom: 36px; }
  .service-card { min-height: 320px; padding: 28px; }
  .service-card a { right: 28px; left: 28px; }
  .process-grid { grid-template-columns: 1fr; gap: 42px; }
  .process-step { padding-inline: 8px; }
  .split-grid { gap: 42px; }
  .split-image { min-height: 420px; }
  .quote-card { right: 16px; bottom: 16px; width: calc(100% - 32px); }
  .candidate-callout { padding-block: 66px; }
  .button-light { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .page-hero { padding-block: 76px 72px; }
  .page-hero h1,
  .job-detail-hero h1,
  .contact-intro h1,
  .success-card h1 { font-size: 42px; }
  .page-hero-inner { margin-left: 17px; }
  .service-detail { padding-block: 50px; }
  .compact-list { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; }
  .about-stat { min-height: 280px; padding: 32px; }
  .about-stat strong { font-size: 72px; }
  .values-grid { grid-template-columns: 1fr; }
  .job-card { padding: 25px; }
  .job-card-top { align-items: flex-start; flex-direction: column; gap: 5px; }
  .job-detail-hero { padding-block: 42px 62px; }
  .back-link { margin-bottom: 40px; }
  .application-form,
  .company-form { border-radius: 16px; padding: 25px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-page { padding-block: 65px 80px; }
  .success-card { padding: 38px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

  

/* WordPress integration and production refinements */
.admin-bar .site-header { top: 32px; }
.brand-logo { background: transparent; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content p { color: var(--muted); }
.entry-content a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.company-form-panel { min-width: 0; }
.form-live-region:empty { display: none; }
.form-live-region { margin-top: 12px; color: var(--muted); font-size: 13px; }
.job-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 12px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 16px; background: white; padding: 18px; }
.job-filters label { display: flex; flex-direction: column; gap: 7px; color: var(--navy); font-size: 12px; font-weight: 750; }
.job-filters select { width: 100%; min-height: 46px; border: 1px solid #cbd9e7; border-radius: 9px; background: white; padding: 8px 11px; }
.filter-reset { align-self: center; color: var(--blue-dark); font-size: 13px; font-weight: 750; }
.navigation.pagination { margin-top: 30px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: grid; min-width: 42px; min-height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--navy); padding: 6px 10px; }
.page-numbers.current { border-color: var(--blue); background: var(--blue); color: white; }
.empty-state, .generic-content { border: 1px solid var(--line); border-radius: 18px; background: white; padding: 36px; }
.empty-state h2, .generic-content h1 { margin-top: 0; color: var(--navy); }
.generic-page { min-height: 60vh; background: var(--ice); padding-block: 80px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.screen-reader-text:focus { top: 5px; left: 5px; z-index: 100000; width: auto; height: auto; clip: auto !important; background: white; padding: 15px 23px; }
.service-detail-label { padding-top: 5px; }
.service-detail-label p { position: relative; margin: 0; padding-top: 22px; }
.service-detail-label p::before { position: absolute; top: 0; left: 0; width: 52px; height: 3px; border-radius: 3px; background: var(--blue); content: ""; }
.notice-inline { margin: 0 0 20px; border-radius: 10px; background: #fff0f0; color: #a32727; padding: 12px 14px; }

@media (max-width: 900px) {
  .admin-bar .site-header { top: 46px; }
  .job-filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
  .job-filters { grid-template-columns: 1fr; }
  .company-form, .application-form { padding: 26px 20px; }
  .success-card { padding: 38px 22px; }
}

.job-document-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 42px;
  border: 1px solid #cfe0f7;
  border-radius: 18px;
  background: var(--ice);
  padding: 22px;
}

.job-document-download > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.job-document-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 13px;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 22px;
  font-weight: 800;
}

.job-document-download strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
}

.job-document-download p {
  overflow: hidden;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-document-download .button {
  min-height: 48px;
  flex: 0 0 auto;
  padding: 12px 18px;
}

@media (max-width: 620px) {
  .job-document-download {
    align-items: stretch;
    flex-direction: column;
  }
  .job-document-download .button {
    width: 100%;
  }
}
