/* Inner pages — same design language as the home page. Scoped to body.inner */

.inner {
  font-family: var(--font-head);
  background: #fff;
}
.inner h1,
.inner h2,
.inner h3 {
  letter-spacing: -0.035em;
}
.inner h2 {
  margin-bottom: 18px;
}
.inner h3 {
  margin-bottom: 8px;
}
.inner p {
  line-height: 1.75;
}

/* ---------- Shared bits (mirrors home.css) ---------- */
.inner .button {
  gap: 10px;
  border-radius: 999px;
  padding: 15px 28px;
  box-shadow: 0 10px 24px rgba(36, 77, 226, 0.28);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.inner .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(36, 77, 226, 0.38);
}
.inner .button.white {
  color: var(--blue);
  box-shadow: 0 12px 28px rgba(6, 27, 59, 0.25);
}
.inner .text-link {
  border-bottom: 2px solid #bdcafa;
  transition: border-color 0.25s, letter-spacing 0.25s;
}
.inner .text-link:hover {
  border-color: var(--blue);
  letter-spacing: 0.01em;
}
.inner .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.inner .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
.inner .pale {
  background: linear-gradient(180deg, var(--pale) 0%, #f7f9fd 100%);
}
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.sec-head h2 {
  margin: 0;
}
.sec-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ---------- Page banner ---------- */
/* Photo comes from an inline background-image on the section */
.inner .pagehead {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #0b1d39;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-bottom: 110px;
}
.inner .pagehead::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      90deg,
      rgba(6, 27, 59, 0.97) 0%,
      rgba(8, 31, 62, 0.86) 48%,
      rgba(16, 43, 84, 0.55) 100%
    ),
    linear-gradient(180deg, rgba(6, 27, 59, 0.6), transparent 40%);
}
.inner .pagehead .container {
  position: relative;
}
/* Decorative rings on the right */
.inner .pagehead .container::after {
  content: "";
  position: absolute;
  right: 40px;
  top: 50%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transform: translateY(-50%);
  box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.035),
    0 0 0 90px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}
.inner .pagehead .eyebrow {
  color: #b5ccff;
}
.inner .pagehead h1 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.06;
  margin-bottom: 20px;
  max-width: 780px;
}
.inner .pagehead p:not(.eyebrow) {
  max-width: 600px;
  color: #c9d6ee;
  font-size: 18px;
  margin: 0;
}
.inner .pagehead p:empty {
  display: none;
}
/* Clientele: dotted map instead of a photo */
.inner .pagehead.map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/footer-map.svg") 75% 40% / cover no-repeat;
  opacity: 0.9;
}
.inner .pagehead.map::after {
  background: linear-gradient(
    90deg,
    rgba(11, 29, 57, 1) 0%,
    rgba(11, 29, 57, 0.85) 40%,
    rgba(11, 29, 57, 0.15) 100%
  );
}
.inner .pagehead.map .container::after {
  display: none;
}

.crumbs {
  display: flex;
  width: fit-content;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.crumbs a {
  color: #b5ccff;
  transition: color 0.2s;
}
.crumbs a:hover {
  color: #fff;
}
.crumbs > * + *::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Split: framed image + copy ---------- */
.inner .split {
  gap: 80px;
}
.media-frame {
  position: relative;
  padding: 0 28px 28px 0;
}
.media-frame::before {
  content: "";
  position: absolute;
  inset: 28px 0 0 28px;
  z-index: -1;
  border-radius: var(--radius);
  background-image: radial-gradient(#b7c6f6 1.5px, transparent 1.5px);
  background-size: 16px 16px;
}
.media-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.media-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 26px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 16px 34px rgba(36, 77, 226, 0.35);
}
.media-badge strong {
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.media-badge span {
  font-size: 13px;
  line-height: 1.35;
  opacity: 0.9;
}
.media-badge i {
  font-size: 28px;
}
.split .copy > .button,
.split .copy > .text-link {
  margin-top: 12px;
}

/* ---------- Licence cards (About) ---------- */
.licence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.licence-card {
  position: relative;
  padding: 32px 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s, box-shadow 0.35s;
}
.licence-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.icon-tile {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 10px 22px rgba(36, 77, 226, 0.28);
}
.licence-card small {
  display: block;
  margin: 18px 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.licence-no {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--pale);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 760px;
}
.note i {
  margin-top: 6px;
  color: var(--blue);
}

/* ---------- CEO message ---------- */
.ceo-photo img {
  height: 520px;
  object-position: top;
}
.quote-card {
  position: relative;
  margin: 26px 0 28px;
  padding: 34px 34px 30px;
  border-radius: var(--radius);
  background: var(--pale);
  border-left: 4px solid var(--blue);
}
.quote-card i {
  position: absolute;
  right: 26px;
  top: 22px;
  font-size: 44px;
  color: #d3ddf5;
}
.quote-card blockquote {
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink);
}
.signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.signature h3 {
  margin: 0;
}
.signature p {
  margin: 0;
  font-size: 14px;
}

/* ---------- Team ---------- */
.inner .team-grid {
  gap: 26px;
}
.inner .person {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s, box-shadow 0.35s;
}
.inner .person:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.inner .person > .person-photo {
  padding: 0;
}
.person-photo {
  position: relative;
  overflow: hidden;
  background: var(--pale);
}
.inner .person-photo img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}
.inner .person:hover .person-photo img {
  transform: scale(1.06);
}
.person-photo::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(0deg, rgba(11, 29, 57, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.inner .person:hover .person-photo::after {
  opacity: 1;
}
.inner .person > div:last-child {
  padding: 20px 22px 24px;
}
.inner .person h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.role {
  display: inline-block;
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--pale);
  color: var(--blue) !important;
  font-size: 12.5px !important;
  font-weight: 700;
  line-height: 1.4 !important;
}

/* ---------- Clientele ---------- */
.inner .client-grid {
  display: block;
  columns: 3 300px;
  column-gap: 24px;
}
.inner .client-card {
  display: inline-block;
  width: 100%;
  margin-bottom: 24px;
  break-inside: avoid;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s, box-shadow 0.35s;
}
.inner .client-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.client-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.cc {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.inner .client-card h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.client-head small {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.inner .client-card li {
  position: relative;
  padding: 9px 0 9px 26px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  color: var(--ink);
}
.inner .client-card li:last-child {
  border-bottom: 0;
}
.inner .client-card li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 11px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 11px;
  color: var(--blue);
}

/* ---------- Empty states (Testimonials, Blog, Openings) ---------- */
.inner .empty {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 56px;
  border: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.inner .empty::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--grad);
}
.inner .empty::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  z-index: -1;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--pale);
}
.empty-icon {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  margin: 0 auto 26px;
  border-radius: 24px;
  background: var(--grad);
  color: #fff;
  font-size: 34px;
  box-shadow: 0 16px 34px rgba(36, 77, 226, 0.3);
}
.inner .empty p {
  max-width: 600px;
  margin-inline: auto;
}
.inner .empty .eyebrow {
  justify-content: center;
}
.inner .empty .button {
  margin-top: 12px;
}

/* ---------- Apply form ---------- */
.inner .form-layout {
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}
.form-aside {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 44px 38px;
  border-radius: 24px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 24px 50px rgba(36, 77, 226, 0.28);
}
@media (min-width: 951px) {
  .form-aside {
    position: sticky;
    top: 130px;
  }
}
.form-aside::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -110px;
  z-index: -1;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.04);
}
.form-aside h2 {
  color: #fff;
}
.form-aside p {
  color: #d8e1ef;
}
.aside-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.aside-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 15px;
}
.aside-list i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
}
.aside-list a:hover {
  text-decoration: underline;
}
.inner #application-form {
  padding: 44px 40px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.inner form label {
  color: var(--ink);
}
.inner form input:not([type="checkbox"]), .inner form input:not([type="submit"]),
.inner form textarea {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7f9fd;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.inner form input:not([type="checkbox"]):focus,
.inner form textarea:focus {
  outline: 0;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(36, 77, 226, 0.12);
}
.inner form .check {
  font-weight: 500;
  color: var(--muted);
}
.inner form input[type="checkbox"] {
  accent-color: var(--blue);
  height: 18px;
  margin-top: 4px;
  /* background-color:; */
}
.inner form input[type="submit"] {
  width: 100%;
  border: 0;
      gap: 10px;
    border-radius: 999px;
    padding: 15px 28px;
    box-shadow: 0 10px 24px rgba(36, 77, 226, 0.28);
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
        background-color: #244de2;
}
#form-status:not(:empty) {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--pale);
  font-size: 14px;
}

/* ---------- Gallery ---------- */
.inner .gallery {
  gap: 24px;
}
.inner .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s, transform 0.35s;
}
.inner .gallery-item img {
  height: 290px;
  transition: transform 0.6s ease;
}
/* 7 photos in 3 columns: wide first + wide last fill every row */
.inner .gallery-item:first-child,
.inner .gallery-item:last-child {
  grid-column: span 2;
}
.inner .gallery-item:last-child img {
  height: 290px;
}
.inner .gallery-item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 22px 20px;
  background: linear-gradient(0deg, rgba(11, 29, 57, 0.9), transparent);
  color: #fff;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s, transform 0.35s;
}
.inner .gallery-item span::after {
  content: "\f065";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
}
.inner .gallery-item:hover,
.inner .gallery-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.inner .gallery-item:hover img,
.inner .gallery-item:focus-visible img {
  transform: scale(1.07);
}
.inner .gallery-item:hover span,
.inner .gallery-item:focus-visible span {
  opacity: 1;
  transform: none;
}
.inner dialog {
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.inner dialog img {
  border-radius: 12px;
}
.inner .close {
  right: -14px;
  top: -14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  box-shadow: var(--shadow-md);
}
.inner dialog[open] {
  overflow: visible;
}

/* Current openings: job application popup */
.inner dialog.apply-modal {
  width: min(560px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 40px 36px 32px;
  border-radius: 24px;
}
.inner dialog.apply-modal[open] {
  overflow: auto;
}
.apply-modal .close {
  right: 16px;
  top: 16px;
  width: 40px;
  height: 40px;
  font-size: 24px;
  box-shadow: none;
  display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 9px;
}
.apply-modal h2 {
  margin: 4px 48px 8px 0;
  font-size: 26px;
}
.apply-modal .apply-note {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
}
.apply-modal label {
  display: block;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
}
.apply-modal input {
  display: block;
  width: 100%;
  margin-top: 8px;
}
.apply-modal input[type="file"] {
  cursor: pointer;
}
.apply-modal .hint {
  display: block;
  margin-top: 6px;
  font-weight: 400;
  color: var(--muted);
}
/* Contact Form 7 inside the popup */
.apply-modal .wpcf7-form p {
  margin: 0;
}
.apply-modal .wpcf7-form-control-wrap {
  display: block;
}
.apply-modal .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
}
.apply-modal input[type="submit"] {
  cursor: pointer;
  color: #fff;
  font-weight: 700;
}
.apply-modal .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}
.apply-modal .wpcf7 form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}
.apply-modal .wpcf7-response-output:empty {
  display: none;
}

/* ---------- Contact ---------- */
.inner .offices {
  gap: 24px;
}
.office {
  position: relative;
  overflow: hidden;
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s, box-shadow 0.35s;
}
.office:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.office .icon-tile {
  margin-bottom: 26px;
}
.inner .office h2 {
  font-size: 28px;
  margin-bottom: 12px;
}
.office p:last-child {
  margin: 0;
}
.office.main {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 24px 50px rgba(36, 77, 226, 0.28);
}
.office.main .eyebrow {
  color: #c9d5ff;
}
.office.main p {
  color: #d8e1ef;
}
.office.main .icon-tile {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}
.inner .contact-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 40px 0;
  padding: 44px 52px;
  border-radius: 24px;
  background: #0b1d39;
  color: #fff;
}
.inner .contact-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/footer-map.svg") 70% 45% / cover no-repeat;
  opacity: 0.35;
}
.inner .contact-band h2 {
  margin: 0;
  color: #fff;
  font-size: 34px;
}
.inner .contact-band a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.25s;
}
.inner .contact-band a:hover {
  transform: translateY(-2px);
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-person {
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s, box-shadow 0.35s;
}
.contact-person:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.avatar {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-person h3 {
  font-size: 19px;
  margin-bottom: 14px;
}
.c-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
  transition: color 0.2s;
}
.c-line i {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pale);
  color: var(--blue);
  font-size: 12px;
}
.c-line:hover {
  color: var(--blue);
}

/* ---------- Positions we cover ---------- */
.roles-grid {
  columns: 2 420px;
  column-gap: 24px;
}
.inner .roles {
  display: inline-block;
  width: 100%;
  margin-bottom: 24px;
  break-inside: avoid;
  padding: 30px;
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.roles-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.roles-head .icon-tile {
  margin: 0;
}
.inner .roles h2 {
  margin: 0;
  font-size: 22px;
}
.roles-head small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.inner .roles ul {
  columns: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.inner .roles li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--pale);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.inner .roles li:hover {
  background: var(--blue);
  color: #fff;
}

/* ---------- Current openings ---------- */
.sec-note {
  max-width: 440px;
  margin: 0;
  font-size: 15px;
}
.job-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.job {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.job:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.job-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
.job-top .icon-tile {
  margin: 0;
}
.job-type {
  padding: 6px 12px;
  border-radius: 999px;
  background: #e8f8ee;
  color: #13803f;
  font-size: 12px;
  font-weight: 700;
}
.inner .job-cat {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.inner .job h3 {
  font-size: 21px;
  margin-bottom: 14px;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.job-meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pale);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.job-meta i {
  color: var(--blue);
  font-size: 12px;
}
.inner .job-desc {
  flex: 1;
  margin-bottom: 20px;
  font-size: 14.5px;
  line-height: 1.65;
}
.job-apply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-weight: 700;
}
.job-apply span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pale);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.job:hover .job-apply span {
  background: var(--blue);
  color: #fff;
  transform: rotate(-45deg);
}
.job-more {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  padding: 32px 36px;
  border-radius: 20px;
  background: var(--pale);
  border: 1px dashed #c5d2ee;
}
.job-more .empty-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  margin: 0;
  border-radius: 18px;
  font-size: 24px;
}
.job-more div:nth-child(2) {
  flex: 1;
}
.job-more h3 {
  font-size: 22px;
}
.job-more p {
  margin: 0;
}

/* ---------- Testimonials ---------- */
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.t-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 36px 32px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s, box-shadow 0.35s;
}
.t-card::before {
  content: "";
  position: absolute;
  inset: 0 32px auto;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: var(--grad);
}
.t-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.t-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.t-card .stars {
  color: #f5b301;
  font-size: 17px;
  letter-spacing: 3px;
}
.t-top i {
  font-size: 34px;
  color: #d9e2f6;
}
.t-card blockquote {
  flex: 1;
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}
.t-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.t-card figcaption strong {
  display: block;
  font-size: 16px;
  color: var(--navy);
}
.t-card .avatar {
  flex-shrink: 0;
  margin: 0;
}

/* ---------- Blog listing ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-grid.two {
  grid-template-columns: repeat(2, 1fr);
}
.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s, box-shadow 0.35s;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.blog-thumb {
  position: relative;
  display: block;
  overflow: hidden;
}
.blog-thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-thumb img {
  transform: scale(1.07);
}
.blog-chip {
  position: absolute;
  left: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
}
.blog-chip.static {
  position: static;
  background: var(--pale);
}
.blog-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 26px 26px;
}
.inner .blog-meta {
  display: flex;
  gap: 16px;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.blog-meta span::before {
  content: "•";
  margin-right: 16px;
  color: #b7c3d7;
}
.inner .blog-card h3 {
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: 12px;
}
.blog-card h3 a {
  transition: color 0.2s;
}
.blog-card h3 a:hover {
  color: var(--blue);
}
.blog-body > p:not(.blog-meta) {
  flex: 1;
  font-size: 15px;
  line-height: 1.7;
}
.blog-card:hover .job-apply span {
  background: var(--blue);
  color: #fff;
  transform: rotate(-45deg);
}

/* ---------- Blog post ---------- */
.inner .post-head h1 {
  max-width: 950px;
  font-size: clamp(36px, 4.4vw, 58px);
}
.post-meta {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 15px !important;
}
.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.post-meta i {
  color: #b5ccff;
}
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}
.post-cover {
  margin: 0 0 40px;
}
.post-cover img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}
.prose {
  max-width: 760px;
  color: var(--ink);
}
.inner .prose p {
  font-size: 17px;
  line-height: 1.85;
  color: #43506a;
}
.inner .prose .lead {
  font-size: 20px;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 500;
  padding-left: 22px;
  border-left: 4px solid var(--blue);
  margin-bottom: 32px;
}
.inner .prose h2 {
  margin: 44px 0 16px;
  font-size: 28px;
}
.prose ul.checks,
.prose > ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.prose ul.checks li,
.prose > ul li {
  position: relative;
  padding: 10px 0 10px 38px;
  font-size: 16.5px;
  line-height: 1.7;
  color: #43506a;
  border-bottom: 1px dashed var(--line);
}
.prose ul.checks li:last-child,
.prose > ul li:last-child {
  border-bottom: 0;
}
.prose ul.checks li::before,
.prose > ul li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 13px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pale);
  color: var(--blue);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 11px;
}
.prose li strong {
  color: var(--ink);
}
.steps-list {
  counter-reset: s;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.steps-list li {
  counter-increment: s;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--pale);
  font-weight: 600;
}
.steps-list li::before {
  content: counter(s, decimal-leading-zero);
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
}
.tip {
  display: flex;
  gap: 18px;
  margin: 30px 0;
  padding: 24px 26px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef3ff, #f7f9fd);
  border: 1px solid #d6e0fb;
}
.tip i {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-size: 18px;
}
.inner .tip p {
  margin: 0;
  font-size: 16px;
}
.tip strong {
  color: var(--ink);
}
.post-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.post-foot .text-link {
  margin: 0;
}
.post-aside {
  position: sticky;
  top: 130px;
  display: grid;
  gap: 24px;
}
.aside-card {
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.aside-card h3 {
  font-size: 20px;
  margin-bottom: 18px;
}
.recent {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.recent a {
  display: flex;
  align-items: center;
  gap: 14px;
}
.recent img {
  width: 72px;
  height: 64px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 12px;
}
.recent strong {
  display: block;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.2s;
}
.recent small {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}
.recent a:hover strong,
.recent .current strong {
  color: var(--blue);
}
.aside-card.help {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  background: var(--grad);
  color: #fff;
}
.aside-card.help::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  z-index: -1;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.04);
}
.aside-card.help .icon-tile {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}
.aside-card.help h3 {
  margin-bottom: 10px;
  color: #fff;
}
.inner .aside-card.help p {
  color: #d8e1ef;
  font-size: 15px;
}
.aside-card.help .button {
  width: 100%;
}
.aside-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  font-weight: 700;
}

/* ---------- CTA banner (same as home) ---------- */
.inner .cta-section {
  padding-bottom: 88px;
}
.inner .cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 0;
  padding: 64px 70px;
  border-radius: 24px;
  background: var(--grad);
  box-shadow: 0 24px 50px rgba(36, 77, 226, 0.28);
}
.inner .cta::before,
.inner .cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.inner .cta::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -200px;
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.04);
}
.inner .cta::after {
  width: 260px;
  height: 260px;
  left: 38%;
  bottom: -190px;
  background: rgba(255, 255, 255, 0.05);
}
.inner .cta h2 {
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1150px) {
  .inner .team-grid,
  .people-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .licence-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 950px) {
  .inner .pagehead .container::after {
    display: none;
  }
  .inner .split {
    gap: 50px;
  }
  .inner .form-layout {
    grid-template-columns: 1fr;
  }
  .inner .offices {
    grid-template-columns: 1fr;
  }
  .people-grid,
  .inner .team-grid,
  .job-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .t-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-inline: auto;
  }
  .post-layout {
    grid-template-columns: 1fr;
  }
  .post-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .job-more {
    flex-wrap: wrap;
  }
  .inner .cta {
    padding: 50px 40px;
  }
  .inner .contact-band {
    padding: 36px;
  }
  /* 2 columns: wide first, then pairs */
  .inner .gallery-item:last-child {
    grid-column: auto;
  }
}
@media (max-width: 650px) {
  .inner .pagehead {
    padding-bottom: 70px;
  }
  .inner .pagehead h1 {
    font-size: 38px;
  }
  .inner .pagehead p:not(.eyebrow) {
    font-size: 16px;
  }
  .crumbs {
    margin-bottom: 20px;
  }
  .sec-head {
    display: block;
  }
  .sec-head .text-link {
    margin-top: 16px;
  }
  .media-frame {
    padding: 0 16px 16px 0;
  }
  .media-frame::before {
    inset: 16px 0 0 16px;
  }
  .media-frame img,
  .ceo-photo img {
    height: 320px;
  }
  .media-badge {
    padding: 14px 18px;
  }
  .media-badge strong {
    font-size: 34px;
  }
  .licence-grid {
    grid-template-columns: 1fr;
  }
  .quote-card {
    padding: 28px 22px 24px;
  }
  .quote-card blockquote {
    font-size: 17px;
  }
  .inner .team-grid {
    gap: 14px;
  }
  .inner .person-photo img {
    height: 210px;
  }
  .inner .person > div:last-child {
    padding: 14px;
  }
  .inner .person h3 {
    font-size: 16px;
  }
  .people-grid,
  .job-grid,
  .blog-grid,
  .blog-grid.two,
  .post-aside,
  .steps-list {
    grid-template-columns: 1fr;
  }
  .post-cover img {
    height: 240px;
  }
  .inner .prose p,
  .prose ul.checks li,
  .prose > ul li {
    font-size: 16px;
  }
  .inner .prose .lead {
    font-size: 17.5px;
  }
  .inner .prose h2 {
    font-size: 23px;
    margin-top: 34px;
  }
  .tip {
    padding: 20px;
    gap: 14px;
  }
  .job-more {
    padding: 26px 22px;
    gap: 18px;
  }
  .inner .empty {
    padding: 44px 24px;
  }
  .form-aside,
  .inner form#application-form {
    padding: 32px 22px;
  }
  .inner .gallery-item img,
  .inner .gallery-item:last-child img {
    height: 240px;
  }
  .inner .gallery-item span {
    opacity: 1;
    transform: none;
  }
  .inner .gallery-item:first-child {
    grid-column: auto;
  }
  .inner .contact-band {
    padding: 30px 24px;
  }
  .inner .contact-band h2 {
    font-size: 26px;
  }
  .inner .contact-band a {
    font-size: 15px;
  }
.inner .roles {
    padding: 22px;
  }
  .inner .cta {
    padding: 40px 26px;
    border-radius: 18px;
  }
  .inner .cta-section {
    padding-bottom: 55px;
  }
}

/* Contact page: optional editor content (e.g. a form) below the contact people */
.contact-content {
  margin-top: 48px;
}
