@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Schibsted+Grotesk:ital,wght@0,400..900;1,400..900&display=swap");

:root {
  /* Brand */
  --nw-accent: #d7262e;
  --nw-accent-dark: #b81f26;
  --nw-accent-soft: #fbe9ea;
  --nw-accent-ink: #a51c23;
  --nw-navy: #231d5e;
  --nw-navy-dark: #1a1647;
  --nw-navy-2: #2e2872;
  --nw-navy-3: #4a43a0;
  --nw-ink: #14122b;
  --nw-text: #45435c;
  --nw-muted: #5a5870;
  --nw-line: #e4e2ec;
  --nw-line-2: #cfcce0;
  --nw-line-3: #dcdae6;
  --nw-soft: #f5f4f9;
  --nw-lilac: #c9c6e0;
  --nw-lilac-2: #b9b5d6;
  --nw-pink: #ff8a8f;
  --nw-pink-soft: #ffe3e4;
  --nw-mono: "Poppins", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Bootstrap overrides */
  --bs-body-font-family:
    "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --bs-body-color: var(--nw-ink);
  --bs-body-color-rgb: 20, 18, 43;
  --bs-secondary-color: var(--nw-muted);
  --bs-border-color: var(--nw-line);
  --bs-link-color: var(--nw-navy);
  --bs-link-color-rgb: 35, 29, 94;
  --bs-link-hover-color: var(--nw-accent);
  --bs-link-hover-color-rgb: 215, 38, 46;
  --bs-primary: var(--nw-navy);
  --bs-primary-rgb: 35, 29, 94;
  --bs-danger: var(--nw-accent);
  --bs-danger-rgb: 215, 38, 46;
  --bs-border-radius: 12px;
  --bs-border-radius-lg: 20px;
  --bs-border-radius-xl: 28px;
  --bs-focus-ring-color: rgba(215, 38, 46, 0.35);
}

body {
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
}
:focus-visible {
  outline: 3px solid var(--nw-accent);
  outline-offset: 3px;
}
.container {
  --bs-gutter-x: 4rem;
  max-width: 1264px;
}
@media (max-width: 575.98px) {
  .container {
    --bs-gutter-x: 3rem;
  }
}

/* ---------- Colour helpers ---------- */
.text-navy {
  color: var(--nw-navy) !important;
}
.text-accent {
  color: var(--nw-accent) !important;
}
.text-muted-nw {
  color: var(--nw-muted) !important;
}
.text-lilac {
  color: var(--nw-lilac) !important;
}
.bg-navy {
  background-color: var(--nw-navy) !important;
}
.bg-accent {
  background-color: var(--nw-accent) !important;
}
.bg-soft {
  background-color: var(--nw-soft) !important;
}
.border-line {
  border-color: var(--nw-line) !important;
}

/* ---------- Type ---------- */
.eyebrow {
  margin: 0 0 16px;
  font-family: var(--nw-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nw-accent);
}
.eyebrow-muted {
  color: var(--nw-muted);
}
.eyebrow-pink {
  color: var(--nw-pink);
}
.display-nw {
  margin: 0;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--nw-navy);
}
.heading-nw {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--nw-navy);
}
.heading-nw-sm {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--nw-navy);
}
.hl {
  color: var(--nw-accent);
}
.lead-nw {
  font-size: 19px;
  line-height: 1.6;
  color: var(--nw-text);
  max-width: 600px;
}
.side-note {
  margin: 0;
  max-width: 360px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--nw-muted);
}
.mono {
  font-family: var(--nw-mono);
}
.on-dark .heading-nw,
.on-dark .heading-nw-sm,
.on-dark .display-nw {
  color: #fff;
}
.on-dark .side-note {
  color: var(--nw-lilac);
}

/* ---------- Buttons (Bootstrap button variables) ---------- */
.btn {
  --bs-btn-padding-x: 1.75rem;
  --bs-btn-padding-y: 0.9rem;
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: 999px;
  --bs-btn-border-width: 1.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-sm {
  --bs-btn-padding-x: 1.375rem;
  --bs-btn-padding-y: 0.7rem;
  --bs-btn-font-size: 15px;
  --bs-btn-border-radius: 999px;
}
.btn-navy {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--nw-navy);
  --bs-btn-border-color: var(--nw-navy);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--nw-navy-dark);
  --bs-btn-hover-border-color: var(--nw-navy-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--nw-navy-dark);
  --bs-btn-active-border-color: var(--nw-navy-dark);
  --bs-btn-focus-shadow-rgb: 35, 29, 94;
}
.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--nw-accent);
  --bs-btn-border-color: var(--nw-accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--nw-accent-dark);
  --bs-btn-hover-border-color: var(--nw-accent-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--nw-accent-dark);
  --bs-btn-active-border-color: var(--nw-accent-dark);
  --bs-btn-focus-shadow-rgb: 215, 38, 46;
}
.btn-outline-navy {
  --bs-btn-color: var(--nw-navy);
  --bs-btn-bg: #fff;
  --bs-btn-border-color: var(--nw-line-2);
  --bs-btn-hover-color: var(--nw-navy);
  --bs-btn-hover-bg: var(--nw-soft);
  --bs-btn-hover-border-color: var(--nw-navy);
  --bs-btn-active-color: var(--nw-navy);
  --bs-btn-active-bg: var(--nw-soft);
  --bs-btn-active-border-color: var(--nw-navy);
  --bs-btn-focus-shadow-rgb: 35, 29, 94;
}
.link-accent {
  font-size: 15px;
  font-weight: 600;
  color: var(--nw-accent);
}

/* ---------- Utility strip + navbar ---------- */
.util {
  font-family: var(--nw-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--nw-lilac);
}
.util a {
  color: inherit;
}
.site-header {
  --bs-navbar-padding-y: 0;
  --bs-navbar-nav-link-padding-x: 0;
  --bs-navbar-color: var(--nw-ink);
  --bs-navbar-hover-color: var(--nw-accent);
  --bs-navbar-active-color: var(--nw-accent);
  --bs-navbar-toggler-border-color: var(--nw-line);
  --bs-navbar-toggler-border-radius: 12px;
  --bs-navbar-toggler-focus-width: 3px;
  background: #fff;
  border-bottom: 1px solid var(--nw-line);
  min-height: 84px;
}
.site-header .navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--nw-navy);
  padding: 0;
}
.site-header .navbar-brand svg {
  margin: 0 1px 2px;
}
.site-header .navbar-toggler {
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--nw-navy);
}
@media (max-width: 991.98px) {
  .site-header .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
.site-header .nav-link {
  font-size: 15px;
  font-weight: 500;
}
.site-header .nav-link.active {
  font-weight: 600;
}
@media (min-width: 992px) {
  .site-header .container {
    min-height: 84px;
  }
  .site-header .navbar-nav {
    gap: 34px;
  }
  .site-header .nav-cta {
    padding: 13px 22px;
  }
}
@media (max-width: 991.98px) {
  .site-header {
    --bs-navbar-padding-y: 18px;
  }
  .site-header .navbar-collapse {
    margin-top: 12px;
  }
  .site-header .navbar-collapse {
    padding-bottom: 24px;
  }
  .site-header .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid var(--nw-line);
    font-size: 18px;
  }
  .site-header .nav-cta {
    margin-top: 16px;
    width: 100%;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 112px 0;
}
.section-soft {
  background: var(--nw-soft);
  border-top: 1px solid var(--nw-line);
}
.page-intro {
  padding-top: 96px;
  padding-bottom: 72px;
}
@media (max-width: 575.98px) {
  .section {
    padding: 80px 0;
  }
  .page-intro {
    padding-top: 64px;
    padding-bottom: 48px;
  }
}

/* ---------- Home hero background ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--nw-navy) url("../images/background.jpg") center / cover no-repeat;
  /* Inset rounded panel, matching the cards and buttons elsewhere */
  margin: 12px;
  border-radius: var(--bs-border-radius-xl);
  overflow: hidden;
}
/* Crossfading background carousel: first slide stays put, second fades over it */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-position: center 40%;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero__slide + .hero__slide {
  opacity: 0;
  animation: hero-fade 16s ease-in-out infinite;
}
/* Darken the left side so the white copy stays legible on bright photos */
.hero__slides::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 18, 43, 0.78) 0%, rgba(20, 18, 43, 0.5) 55%, rgba(20, 18, 43, 0.15) 100%);
}
@keyframes hero-fade {
  0%, 42% { opacity: 0; }
  50%, 92% { opacity: 1; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide + .hero__slide {
    animation: none;
  }
}
@media (min-width: 992px) {
  .hero {
    margin: 16px 24px 24px;
  }
}

/* ---------- Home hero panel ---------- */
.hero-panel {
  aspect-ratio: 4 / 5;
  max-width: 440px;
  margin-left: auto;
  border-radius: var(--bs-border-radius-xl);
  background: var(--nw-navy);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
@media (max-width: 991.98px) {
  .hero-panel {
    margin: 0 auto;
  }
}
.hero-panel__top {
  display: flex;
  justify-content: space-between;
  font-family: var(--nw-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nw-lilac-2);
}
.apple {
  position: relative;
  align-self: center;
  width: 72%;
  aspect-ratio: 1 / 1;
}
.apple > span {
  position: absolute;
}
.apple__body {
  inset: 0;
  border-radius: 50%;
  background: var(--nw-accent);
}
.apple__stem {
  left: 49%;
  top: -14%;
  width: 4px;
  height: 22%;
  background: #f4ede4;
  border-radius: 4px;
  transform: rotate(12deg);
}
.apple__leaf {
  left: 54%;
  top: -12%;
  width: 26%;
  height: 15%;
  background: #6fb36b;
  border-radius: 0 100% 0 100%;
}
.apple__shine {
  left: 20%;
  top: 18%;
  width: 18%;
  height: 10%;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform: rotate(-30deg);
}
.hero-panel__num {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.hero-panel__label,
.hero-panel__aside {
  font-size: 14px;
  color: var(--nw-lilac-2);
  line-height: 1.4;
}
.hero-panel__aside {
  text-align: right;
  max-width: 150px;
}

/* ---------- Numbered rule list (services, steps) ---------- */
.rule-row {
  border-top: 1px solid var(--nw-line-2);
}
.rule-item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  padding: 36px 32px 40px 0;
  border-bottom: 1px solid var(--nw-line-2);
  color: inherit;
}
.rule-item__num {
  font-family: var(--nw-mono);
  font-size: 13px;
  color: var(--nw-muted);
}
.rule-item h3 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--nw-navy);
}
.rule-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--nw-muted);
}
.rule-item .link-accent {
  margin-top: auto;
}
.rule-item p a {
  color: var(--nw-accent);
  font-weight: 600;
}
.rule-item strong {
  color: var(--nw-ink);
}

/* ---------- Tiles ---------- */
.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 240px;
  height: 100%;
  padding: 28px;
  border-radius: var(--bs-border-radius-lg);
  background: var(--nw-soft);
  color: var(--nw-navy);
}
.tile:hover {
  color: var(--nw-navy);
  opacity: 0.92;
}
.tile h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
}
.tile p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--nw-muted);
}
.tile-navy,
.tile-navy:hover {
  background: var(--nw-navy);
  color: #fff;
}
.tile-navy p {
  color: var(--nw-lilac);
}
.tile-accent,
.tile-accent:hover {
  background: var(--nw-accent);
  color: #fff;
}
.tile-accent p {
  color: var(--nw-pink-soft);
}

/* ---------- Partners ---------- */
.partner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #fff;
}
.partner:hover {
  color: #fff;
  opacity: 0.9;
}
.partner__img {
  aspect-ratio: 4 / 5;
  border-radius: var(--bs-border-radius-lg);
  background: var(--nw-navy-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 96px;
  font-weight: 700;
  color: var(--nw-navy-3);
  letter-spacing: -0.04em;
  overflow: hidden;
}
.partner__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.partner__img-accent {
  background: var(--nw-accent);
  color: rgba(255, 255, 255, 0.35);
}
.partner__img-light {
  background: var(--nw-soft);
  color: var(--nw-line-2);
}
.partner__name {
  font-size: 20px;
  font-weight: 600;
}
.partner__quote {
  font-size: 15px;
  color: var(--nw-lilac);
  margin-top: 4px;
}

/* ---------- Careers teaser / CTA box ---------- */
.big-quote {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 500;
  font-family: var(--nw-mono);
}
.body-lg {
  font-size: 17px;
  line-height: 1.65;
  color: var(--nw-muted);
}
.cta-box {
  padding: 28px;
  border-radius: var(--bs-border-radius-lg);
  border: 1.5px solid var(--nw-line);
}
.cta-box__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--nw-navy);
}

/* ---------- Exchange rates ---------- */
.rates {
  border-top: 1px solid var(--nw-line);
  border-bottom: 1px solid var(--nw-line);
  font-family: var(--nw-mono);
  font-size: 14px;
  color: var(--nw-text);
}
.rates__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--nw-muted);
}
.rates strong {
  color: var(--nw-navy);
  font-weight: 500;
}

/* ---------- Footer ---------- */
.footer {
  background:
    linear-gradient(rgba(20, 18, 43, 0.93), rgba(20, 18, 43, 0.88)),
    var(--nw-ink) url("../images/newtons-building.jpeg") center 30% / cover no-repeat;
  color: var(--nw-lilac);
}

/* ---------- About: building photo ---------- */
.about-photo {
  margin: 0;
  border-radius: var(--bs-border-radius-xl);
  overflow: hidden;
}
.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 40%;
}
@media (min-width: 768px) {
  .about-photo img {
    aspect-ratio: 21 / 9;
  }
}.footer a {
  color: var(--nw-lilac);
}
.footer a:hover {
  color: #fff;
}
.footer a.btn {
  color: #fff;
}
.footer__heading {
  font-family: var(--nw-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b88a8;
}
.footer__top {
  border-bottom: 1px solid #2e2b4a;
}
.footer__bottom,
.footer__bottom a {
  font-size: 13px;
  color: #8b88a8;
}
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #3a3758;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.icon-btn-light {
  border-color: var(--nw-line-3);
  color: var(--nw-navy);
  background: #fff;
}

/* ---------- About ---------- */
.intro-quote {
  padding-left: 24px;
  border-left: 3px solid var(--nw-accent);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--nw-navy);
}
.fact {
  padding: 36px 24px 36px 0;
}
.fact__num {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--nw-navy);
  line-height: 1;
}
.fact__label {
  margin-top: 10px;
  font-size: 15px;
  color: var(--nw-muted);
}
.audio-list {
  border-top: 1px solid var(--nw-line-2);
}
.audio-row {
  padding: 28px 0;
  border-bottom: 1px solid var(--nw-line-2);
}
.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 0;
  background: var(--nw-navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.play-btn-accent {
  background: var(--nw-accent);
}
.audio-row__title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--nw-navy);
}
.wave {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.wave span {
  flex: 1;
  background: var(--nw-line-2);
  border-radius: 2px;
}
.audio-row__embed:empty {
  display: none;
}
.audio-row__embed iframe {
  width: 100%;
  height: 120px;
  border: 0;
  border-radius: 12px;
}
.value {
  padding: 28px;
  border-radius: var(--bs-border-radius-lg);
  background: #fff;
  min-height: 200px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.value__num {
  font-family: var(--nw-mono);
  font-size: 13px;
  color: var(--nw-accent);
}
.value__title {
  font-size: 22px;
  font-weight: 600;
  color: var(--nw-navy);
}
.value__desc {
  font-size: 15px;
  color: var(--nw-muted);
  margin-top: 6px;
}
.value-navy {
  background: var(--nw-navy);
}
.value-navy .value__num {
  color: var(--nw-pink);
}
.value-navy .value__title {
  color: #fff;
}
.value-navy .value__desc {
  color: var(--nw-lilac);
}
.value-accent {
  background: var(--nw-accent);
}
.value-accent .value__num,
.value-accent .value__desc {
  color: var(--nw-pink-soft);
}
.value-accent .value__title {
  color: #fff;
}

/* ---------- Pills (careers tabs, news topics) — Bootstrap nav-pills ---------- */
.nav-pills {
  --bs-nav-pills-border-radius: 999px;
  --bs-nav-pills-link-active-bg: var(--nw-navy);
  --bs-nav-pills-link-active-color: #fff;
  --bs-nav-link-color: var(--nw-navy);
  --bs-nav-link-hover-color: var(--nw-navy);
  gap: 10px;
}
.nav-pills .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px;
  border: 1.5px solid var(--nw-line-2);
  background: #fff;
  font-size: 16px;
  font-weight: 600;
}
.nav-pills .nav-link.active {
  border-color: var(--nw-navy);
}
.nav-pills-sm .nav-link {
  min-height: 46px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 500;
}
.nav-pills-sm .nav-link.active {
  font-weight: 600;
}
.pill-count {
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: #edebf4;
  color: var(--nw-text);
  font-family: var(--nw-mono);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-link.active .pill-count {
  background: var(--nw-accent);
  color: #fff;
}

/* ---------- Careers ---------- */
.now-card {
  padding: 32px;
  border-radius: var(--bs-border-radius-xl);
  background: var(--nw-accent);
  color: #fff;
  max-width: 380px;
}
.now-card__label {
  font-family: var(--nw-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nw-pink-soft);
}
.now-card__title {
  margin-top: 18px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.now-card__sub {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--nw-pink-soft);
}
.job {
  --bs-card-border-color: var(--nw-line);
  --bs-card-border-radius: var(--bs-border-radius-lg);
  --bs-card-spacer-x: 2rem;
  --bs-card-spacer-y: 1.75rem;
}
.job h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--nw-navy);
}
.job p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--nw-muted);
}
.tag {
  font-family: var(--nw-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--nw-accent-soft);
  color: var(--nw-accent-ink);
  font-weight: 400;
}
.tag-grey {
  background: #edebf4;
  color: var(--nw-text);
}
.empty {
  background: #fff;
  border-radius: var(--bs-border-radius-lg);
  border: 1.5px dashed var(--nw-line-2);
  padding: 56px 32px;
  text-align: center;
}
.empty__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--nw-navy);
}
.empty p {
  max-width: 420px;
  margin: 8px auto 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--nw-muted);
}
.empty p a {
  color: var(--nw-accent);
  font-weight: 600;
}
.fine-print {
  font-size: 14px;
  line-height: 1.6;
  color: var(--nw-muted);
  max-width: 760px;
}
.fine-print a {
  text-decoration: underline;
}

/* ---------- Documents ---------- */
.search-pill {
  min-height: 60px;
  border: 1.5px solid var(--nw-line-2);
  border-radius: 999px;
  background: #fff;
  padding: 0 20px;
  max-width: 640px;
}
.search-pill:focus-within {
  border-color: var(--nw-navy);
}
.search-pill .form-control {
  border: 0;
  box-shadow: none;
  font-size: 17px;
  padding-left: 12px;
  background: transparent;
}
.feature-doc {
  border-radius: var(--bs-border-radius-xl);
  background: var(--nw-navy);
  color: #fff;
  padding: 36px 40px;
}
.feature-doc:hover {
  color: #fff;
  opacity: 0.95;
}
.feature-doc__title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.doc-group h2 {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--nw-navy);
}
.doc-list {
  --bs-list-group-bg: transparent;
  --bs-list-group-border-color: var(--nw-line-3);
  border-top: 1px solid var(--nw-line-2);
}
.doc-list .list-group-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--nw-ink);
}
.doc-list .list-group-item:hover {
  color: var(--nw-accent);
  background: transparent;
}
.doc-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  font-family: var(--nw-mono);
  font-size: 12px;
  color: var(--nw-muted);
}
.doc-type svg {
  stroke: var(--nw-accent);
}

/* ---------- News ---------- */
.news-feature {
  border-radius: var(--bs-border-radius-xl);
  overflow: hidden;
  background: var(--nw-navy);
  color: #fff;
}
.news-feature:hover {
  color: #fff;
  opacity: 0.97;
}
.news-feature__art {
  min-height: 320px;
  height: 100%;
  background: var(--nw-accent);
  position: relative;
  overflow: hidden;
}
.news-feature__art::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.news-feature__label {
  position: absolute;
  left: 40px;
  top: 40px;
  font-family: var(--nw-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nw-pink-soft);
}
.news-feature__mark {
  position: absolute;
  left: 40px;
  bottom: 36px;
  font-size: 120px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.92);
}
.news-feature h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.post-card {
  --bs-card-border-color: var(--nw-line);
  --bs-card-border-radius: var(--bs-border-radius-lg);
  --bs-card-spacer-x: 1.75rem;
  --bs-card-spacer-y: 1.75rem;
  min-height: 300px;
  color: inherit;
}
.post-card:hover {
  border-color: var(--nw-line-2);
}
.post-card-sm {
  min-height: 240px;
}
.post-card .card-title {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--nw-navy);
}
.post-card .card-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--nw-muted);
}
.pagination {
  --bs-pagination-color: var(--nw-navy);
  --bs-pagination-border-color: var(--nw-line-3);
  --bs-pagination-hover-color: var(--nw-navy);
  --bs-pagination-hover-bg: var(--nw-soft);
  --bs-pagination-active-bg: var(--nw-navy);
  --bs-pagination-active-border-color: var(--nw-navy);
  --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(215, 38, 46, 0.35);
  gap: 8px;
}
.pagination .page-link {
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin: 0 !important;
}
.pagination .page-item.disabled .page-link {
  border: 0;
  background: transparent;
}
.form-control-pill {
  min-height: 56px;
  border-radius: 999px;
  border: 1.5px solid var(--nw-line-2);
  padding: 0 22px;
  font-size: 16px;
}
.form-control-pill:focus {
  border-color: var(--nw-navy);
  box-shadow: 0 0 0 0.25rem rgba(35, 29, 94, 0.15);
}

/* ---------- Article ---------- */
.article-title {
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--nw-navy);
}
.article-standfirst {
  font-size: 22px;
  line-height: 1.5;
  color: var(--nw-text);
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--nw-navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.prose {
  font-size: 19px;
  line-height: 1.75;
  color: #2a2840;
}
.prose p {
  margin: 0 0 28px;
}
.prose h2 {
  margin: 56px 0 20px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--nw-navy);
}
.prose blockquote {
  margin: 48px 0;
  padding: 8px 0 8px 28px;
  border-left: 4px solid var(--nw-accent);
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--nw-navy);
}
.prose h3 {
  margin: 40px 0 16px;
  font-size: 22px;
  line-height: 1.3;
  color: var(--nw-navy);
}
.prose h4 {
  margin: 28px 0 12px;
  font-size: 18px;
  color: var(--nw-navy);
}
.prose h2[id] {
  scroll-margin-top: 110px;
}

/* ---------- Legal pages: sticky contents list ---------- */
.legal-toc {
  position: sticky;
  top: 110px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--nw-line);
  border-radius: var(--bs-border-radius-lg);
}
.legal-toc li + li {
  margin-top: 10px;
}
.legal-toc a {
  color: var(--nw-ink);
  text-decoration: none;
  font-size: 15px;
}
.legal-toc a:hover {
  color: var(--nw-accent);
}
.prose ul {
  margin: 0 0 28px;
  padding-left: 24px;
}
.prose li {
  margin-bottom: 10px;
}
.advice-box {
  padding: 36px;
  border-radius: 24px;
  background: var(--nw-navy);
  color: #fff;
}
.advice-box__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
@media (max-width: 575.98px) {
  .prose {
    font-size: 18px;
  }
}

/* ---------- Navbar dropdown (services) ---------- */
.site-header .dropdown-menu {
  --bs-dropdown-border-color: var(--nw-line);
  --bs-dropdown-border-radius: 16px;
  --bs-dropdown-padding-y: 0.5rem;
  --bs-dropdown-link-color: var(--nw-ink);
  --bs-dropdown-link-hover-bg: var(--nw-soft);
  --bs-dropdown-link-hover-color: var(--nw-navy);
  --bs-dropdown-link-active-bg: var(--nw-navy);
  --bs-dropdown-item-padding-x: 1.25rem;
  --bs-dropdown-item-padding-y: 0.6rem;
  --bs-dropdown-divider-bg: var(--nw-line);
  --bs-dropdown-font-size: 15px;
  box-shadow: 0 12px 32px rgba(20, 18, 43, 0.08);
  min-width: 240px;
}
.site-header .dropdown-item.active {
  font-weight: 600;
}
.site-header .dropdown-toggle::after {
  vertical-align: 0.15em;
  margin-left: 0.4em;
}
@media (max-width: 991.98px) {
  .site-header .dropdown-menu {
    border: 0;
    box-shadow: none;
    padding: 0 0 8px 12px;
  }
  .site-header .dropdown-item {
    padding: 10px 0;
    font-size: 16px;
  }
}

/* ---------- Services ---------- */
.service-contact {
  font-family: var(--nw-mono);
  font-size: 12px;
  color: var(--nw-muted);
}
.rule-item:hover h3 {
  color: var(--nw-accent);
}
.service-lead {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--nw-text);
  max-width: 760px;
}
.service-body h2 {
  margin: 48px 0 20px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--nw-navy);
}
.service-body > :first-child {
  margin-top: 0;
}
.prose .check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--nw-line-2);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  column-gap: 32px;
}
.prose .check-list li {
  margin: 0;
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--nw-line-3);
  font-size: 17px;
  line-height: 1.5;
}
.prose .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--nw-accent);
}
.contact-card {
  border-radius: var(--bs-border-radius-lg);
  background: var(--nw-navy);
  color: #fff;
  padding: 28px;
}
.contact-card__label {
  font-family: var(--nw-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nw-pink);
}
.contact-card__name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-top: 12px;
}
.contact-card .btn {
  width: 100%;
  margin-top: 20px;
}
.contact-card__email {
  word-break: break-all;
}
.other-services {
  --bs-list-group-bg: transparent;
  --bs-list-group-border-color: var(--nw-line-3);
  --bs-list-group-color: var(--nw-ink);
  --bs-list-group-action-hover-bg: transparent;
  --bs-list-group-action-hover-color: var(--nw-accent);
  --bs-list-group-active-bg: transparent;
  --bs-list-group-active-color: var(--nw-accent);
  --bs-list-group-active-border-color: var(--nw-line-3);
  border-top: 1px solid var(--nw-line-2);
}
.other-services .list-group-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-weight: 500;
}
.other-services .list-group-item.active {
  font-weight: 600;
}
.other-services .list-group-item svg {
  opacity: 0.5;
}
@media (min-width: 992px) {
  .service-aside {
    position: sticky;
    top: 108px;
  }
}
.rule-item .service-contact {
  margin-top: auto;
}
.rule-item .service-contact + .link-accent {
  margin-top: 0;
}

/* ---------- Contact ---------- */
.contact-list {
  border-top: 1px solid var(--nw-line-2);
}
.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--nw-line-3);
}
.contact-row__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--nw-line);
  color: var(--nw-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-row__label {
  font-family: var(--nw-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nw-muted);
}
.contact-row__val {
  font-size: 17px;
  font-weight: 500;
  color: var(--nw-ink);
  margin-top: 2px;
}
.contact-row__val a {
  color: var(--nw-navy);
}
.contact-row__val a:hover {
  color: var(--nw-accent);
}
.map-wrap {
  border-radius: var(--bs-border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--nw-line);
  background: var(--nw-line);
  aspect-ratio: 4 / 3;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.form-card {
  background: #fff;
  border: 1px solid var(--nw-line);
  border-radius: var(--bs-border-radius-xl);
  padding: 40px;
}
@media (max-width: 575.98px) {
  .form-card {
    padding: 24px;
  }
}
.form-card .form-label {
  font-weight: 600;
  color: var(--nw-navy);
  font-size: 15px;
}
.form-control-nw {
  min-height: 52px;
  border: 1.5px solid var(--nw-line-2);
  border-radius: 14px;
  font-size: 16px;
  padding: 12px 16px;
}
textarea.form-control-nw {
  min-height: 140px;
}
.form-control-nw:focus {
  border-color: var(--nw-navy);
  box-shadow: 0 0 0 0.25rem rgba(35, 29, 94, 0.15);
}
.form-check-input {
  width: 1.25em;
  height: 1.25em;
  margin-top: 0.15em;
  border: 1.5px solid var(--nw-line-2);
}
.form-check-input:checked {
  background-color: var(--nw-navy);
  border-color: var(--nw-navy);
}
.form-check-label {
  color: var(--nw-text);
  font-size: 15px;
  padding-left: 4px;
}
.form-check-label a {
  text-decoration: underline;
}
[data-contact-hint].is-invalid {
  color: var(--bs-form-invalid-color) !important;
}
/* show errors only — no green "valid" styling */
.was-validated .form-control-nw:valid,
.was-validated .form-select.form-control-nw:valid {
  border-color: var(--nw-line-2);
  background-image: none;
  padding-right: 16px;
}
.was-validated .form-select.form-control-nw:valid {
  background-image: var(--bs-form-select-bg-img);
  padding-right: 2.25rem;
}
.was-validated .form-control-nw:valid:focus {
  border-color: var(--nw-navy);
  box-shadow: 0 0 0 0.25rem rgba(35, 29, 94, 0.15);
}
.was-validated .form-check-input:valid ~ .form-check-label {
  color: var(--nw-text);
}
.was-validated .form-check-input:valid {
  border-color: var(--nw-line-2);
}
.was-validated .form-check-input:valid:checked {
  background-color: var(--nw-navy);
  border-color: var(--nw-navy);
}

/* ---------- Portal page-builder content (services and articles) ---------- */
.nwb-row + .nwb-row {
  margin-top: 40px;
}
.nwb-bg-soft,
.nwb-bg-navy {
  padding: 36px;
  border-radius: var(--bs-border-radius-lg);
}
.nwb-bg-soft {
  background: #fff;
}
.nwb-bg-navy {
  background: var(--nw-navy);
  color: #fff;
}
.nwb-bg-navy :is(h2, h3, h4, .nwb-heading) {
  color: #fff;
}
.nwb-row .col-md-12 > :first-child,
.nwb-row [class^="col-"] > :first-child {
  margin-top: 0;
}
.nwb-text > :last-child {
  margin-bottom: 0;
}
.nwb-text + *,
.nwb-list + *,
.nwb-card + *,
.nwb-image + *,
.nwb-downloads + * {
  margin-top: 28px;
}
.nwb-card {
  padding: 28px;
  border-radius: var(--bs-border-radius-lg);
  background: var(--nw-soft);
  font-size: 17px;
  line-height: 1.6;
}
.nwb-card > :last-child {
  margin-bottom: 0;
}
.nwb-card__title {
  margin: 0 0 8px !important;
  font-size: 20px !important;
  color: inherit !important;
}
.nwb-card-navy {
  background: var(--nw-navy);
  color: #fff;
}
.nwb-card-navy a {
  color: var(--nw-pink);
}
.nwb-card-outline {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--nw-line-2);
}
.nwb-card-accent {
  background: var(--nw-accent-soft);
  border-left: 4px solid var(--nw-accent);
}
.nwb-card-soft,
.nwb-card-outline,
.nwb-card-accent {
  color: var(--nw-ink);
}
.nwb-card-soft .nwb-card__title,
.nwb-card-outline .nwb-card__title,
.nwb-card-accent .nwb-card__title {
  color: var(--nw-navy) !important;
}
.prose .nwb-list-bullet,
.prose .nwb-list-check {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--nw-line-2);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  column-gap: 32px;
}
.prose .nwb-list-bullet li,
.prose .nwb-list-check li {
  margin: 0;
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--nw-line-3);
  font-size: 17px;
  line-height: 1.5;
}
.prose .nwb-list-bullet li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--nw-accent);
}
.prose .nwb-list-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 6px;
  height: 11px;
  border: solid var(--nw-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.nwb-image img {
  width: 100%;
}
.nwb-quote footer {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--nw-muted);
}
.nwb-button .btn-primary {
  --bs-btn-bg: var(--nw-accent);
  --bs-btn-border-color: var(--nw-accent);
  --bs-btn-hover-bg: var(--nw-accent-dark);
  --bs-btn-hover-border-color: var(--nw-accent-dark);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
}
.nwb-button .btn-outline-primary {
  --bs-btn-color: var(--nw-navy);
  --bs-btn-border-color: var(--nw-navy);
  --bs-btn-hover-bg: var(--nw-navy);
  --bs-btn-hover-border-color: var(--nw-navy);
  --bs-btn-hover-color: #fff;
}
.nwb-downloads__title {
  margin-top: 0 !important;
}
.nwb-downloads ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.nwb-downloads li {
  margin: 0;
}
.nwb-downloads a {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border: 1px solid var(--nw-navy);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--nw-navy);
}
.nwb-downloads a:hover {
  background: var(--nw-navy);
  color: #fff;
}
.nwb-divider {
  margin: 40px 0;
  border-top: 1px solid var(--nw-line-2);
  opacity: 1;
}

/* ---------- Careers programmes ---------- */
.programme {
  padding: 40px;
  border-radius: var(--bs-border-radius-lg);
  background: #fff;
}
.programme > h2:first-of-type {
  margin-top: 0;
}
.programme .btn {
  text-decoration: none;
}
.careers-openings__title {
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--nw-navy);
}
@media (max-width: 575.98px) {
  .programme,
  .nwb-bg-soft,
  .nwb-bg-navy {
    padding: 24px;
  }
}

/* ---------- About: values ---------- */
.value-group {
  justify-content: flex-start;
  gap: 24px;
  padding: 36px;
}
.value-group .value__title {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.value-group .value__desc {
  font-size: 16px;
  line-height: 1.65;
  margin-top: 0;
}
.value-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto !important;
}
.value-tags li {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--nw-line-2);
  font-family: var(--nw-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nw-navy);
}
.value-navy .value-tags li {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.value-accent .value-tags li {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ---------- Article and page-builder text: headings, nested lists, tables ---------- */
.prose h4 {
  font-weight: 700;
}
.prose ol {
  margin: 0 0 28px;
  padding-left: 24px;
}
.prose li > ul,
.prose li > ol,
.prose ul ul,
.prose ol ol {
  margin: 10px 0 0;
}
.prose ul ul {
  list-style: circle;
}
.prose li > p {
  margin: 8px 0 0;
  color: var(--nw-text);
}
.prose li::marker {
  color: var(--nw-accent);
}
.prose table {
  width: 100%;
  margin: 0 0 28px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--nw-line);
}
.prose th,
.prose td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--nw-line);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--nw-navy);
  color: #fff;
  font-weight: 600;
}
.prose tbody tr:last-child td {
  border-bottom: 0;
}
.prose tbody tr:nth-child(even) td {
  background: var(--nw-soft);
}
@media (max-width: 575.98px) {
  .prose table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* ---------- Social media page ---------- */
.social-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-radius: var(--bs-border-radius-lg);
  background: #fff;
  color: var(--nw-ink);
  box-shadow: inset 0 0 0 1px var(--nw-line);
  transition: box-shadow 0.15s, transform 0.15s;
}
.social-card:hover {
  color: var(--nw-ink);
  box-shadow: inset 0 0 0 2px var(--nw-navy);
  transform: translateY(-2px);
}
.social-card__icon {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--nw-navy);
  color: #fff;
}
.social-card:hover .social-card__icon {
  background: var(--nw-accent);
}
.social-card__name {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--nw-navy);
}
.social-card__blurb {
  display: block;
  font-size: 15px;
  color: var(--nw-muted);
}
.social-card__arrow {
  color: var(--nw-muted);
}
.fb-embed {
  display: flex;
  justify-content: center;
  padding: 24px;
  border-radius: var(--bs-border-radius-lg);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--nw-line);
  overflow: hidden;
}
.fb-embed iframe {
  display: block;
  max-width: 100%;
}
/* Wide screens: the left column sets the row height and the feed fills the right column */
@media (min-width: 992px) {
  .social-feed {
    position: relative;
  }
  .social-feed__inner {
    position: absolute;
    inset: 0 calc(var(--bs-gutter-x) * 0.5);
    display: flex;
    flex-direction: column;
  }
  .social-feed .fb-embed {
    flex: 1 1 auto;
    min-height: 0;
  }
}
@media (max-width: 575.98px) {
  .fb-embed {
    padding: 12px;
  }
}
