:root {
  --navy: #1e2944;
  --navy-deep: #16203a;
  --blue: #579abf;
  --blue-light: #67aacf;
  --off-white: #eaeff3;
  --pale: #e0e8f3;
  --grey: #4a5368;
  --white: #fff;
  --max-width: 1400px;
  --section-padding: 150px;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--off-white);
  color: var(--navy);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

h1 {
  max-width: 15ch;
  margin: 0;
  font-size: 70px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: capitalize;
}

h2 {
  max-width: 550px;
  margin: 0;
  font-size: 42px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.25px;
  text-transform: capitalize;
}

h3 {
  max-width: 550px;
  margin: 0;
  font-size: 34px;
  line-height: 1.4;
  font-weight: 400;
}

h4 {
  max-width: 550px;
  margin: 0;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
}

h5 {
  max-width: 550px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
}

h6 {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.25px;
  text-transform: uppercase;
}

p {
  max-width: 550px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 10px;
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--white);
  color: var(--navy);
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 4px;
}

.nav-menu-panel :focus-visible,
.desktop-nav :focus-visible {
  outline-color: var(--white);
}

.container {
  position: relative;
  z-index: 2;
  width: 85%;
  max-width: var(--max-width);
  margin-right: auto;
  margin-left: auto;
}

.section {
  position: relative;
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.section.top-padding-0 {
  padding-top: 0;
}

.section.top-bottom-padding-0 {
  padding-top: 0;
  padding-bottom: 0;
}

.section.bottom-padding-0 {
  padding-bottom: 0;
}

.bottom-margin-0 { margin-bottom: 0; }
.bottom-margin-5 { margin-bottom: 5px; }
.bottom-margin-20 { margin-bottom: 20px; }
.bottom-margin-40 { margin-bottom: 40px; }
.bottom-margin-60 { margin-bottom: 60px; }
.bottom-margin-100 { margin-bottom: 100px; }
.top-margin-5 { margin-top: 5px; }
.top-margin-40 { margin-top: 40px; }
.top-margin-60 { margin-top: 60px; }

.max-width-none { max-width: none; }
.max-width-800 { max-width: 800px; }
.white-text { color: var(--white); }
.blue-text { color: var(--blue); }
.navy-blue-text { color: var(--navy); }
.small-paragraph { margin-bottom: 0; font-size: 14px; }
.big-paragraph { margin-bottom: 0; font-size: 20px; line-height: 1.6; font-weight: 400; }
.text-link { display: inline-block; color: var(--blue); }

.w-layout-grid {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

._3-col-grid {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
}

._3-col-grid.rows-40 {
  row-gap: 40px;
}

._3-col-grid.feature-items {
  gap: 0;
}

.col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.col.right-margin-60 { margin-right: 60px; }
.col.right-margin-40 { margin-right: 40px; }
.col.sticky { position: sticky; top: 150px; }

/* Navigation */
.navbar {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 100;
  height: 90px;
  background: var(--navy);
  box-shadow: 0 10px 30px -15px transparent;
  transition: box-shadow 0.3s ease;
  animation: navbar-slide-down 0.7s ease both;
}

@keyframes navbar-slide-down {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.navbar.is-scrolled {
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.5);
}

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

.brand-link {
  display: flex;
  min-height: 44px;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 150px;
}

.desktop-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  color: var(--white);
}

.nav-link {
  display: flex;
  align-items: center;
  margin-right: 15px;
  margin-left: 15px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.5s ease;
}

.nav-link:hover,
.nav-link.w--current {
  color: var(--blue);
}

.contact-us-wrapper {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.login-wrapper {
  display: flex;
  min-height: 44px;
  align-items: center;
  color: var(--white);
}

.login {
  margin-right: 30px;
  font-weight: 600;
}

.icon {
  position: relative;
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
}

.icon.login {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  margin-left: 15px;
}

.icon.left-margin-10 { margin-left: 10px; }
.icon.right-margin-10 { margin-right: 10px; }
.icon.right-margin-20 { margin-right: 20px; }

.dropdown {
  position: relative;
}

.dropdown-list {
  position: absolute;
  top: 40px;
  left: 0;
  display: block;
  min-width: 240px;
  background: var(--white);
  box-shadow: 0 30px 30px -15px rgba(25, 25, 25, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.dropdown.is-open .dropdown-list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media screen and (min-width: 992px) {
  .dropdown:hover .dropdown-list {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .dropdown:hover .arrow-icon {
    transform: rotate(180deg);
  }
}

.dropdown-link {
  display: block;
  padding: 15px 25px;
  border-left: 5px solid var(--white);
  border-bottom: 1px solid var(--off-white);
  color: var(--navy);
  transition: border-color 0.5s ease, color 0.5s ease;
}

.dropdown-link:hover,
.dropdown-link.w--current {
  border-left-color: var(--blue);
  color: var(--blue);
}

.nav-link.no-py {
  margin: 0;
}

.submenu-toggle {
  display: inline-flex;
  width: 28px;
  height: 44px;
  margin-left: 5px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.arrow-icon {
  transition: transform 0.4s ease;
}

.dropdown.is-open .arrow-icon {
  transform: rotate(180deg);
}

/* Buttons */
.button {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  height: 50px;
  padding: 20px 30px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
}

.button .button-text {
  position: relative;
  z-index: 1;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.button .bg {
  position: absolute;
  inset: 0;
  transform: translate3d(0, 100%, 0);
  transition: transform 0.5s ease;
}

.button:hover .bg {
  transform: translate3d(0, 0, 0);
}

.button .icon-slide {
  transition: transform 0.5s ease;
}

.button:hover .icon-slide {
  transform: translateX(5px);
}

.button.secondary {
  height: auto;
  padding: 0;
  justify-content: flex-start;
  background: transparent;
}

.button.white-button {
  height: auto;
  background: var(--white);
  color: var(--navy);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background-color 0.5s ease;
}

.button.white-button:hover {
  background: var(--pale);
}

.contact-us-wrapper .button.white-button {
  background: var(--pale);
}

.blue-highlight-bg { background: var(--blue-light); }
.light-blue-bg { background: var(--pale); }
.white-bg { background: var(--white); }
.navy-blue-bg { background: var(--navy); }
.black-bg { background: var(--navy); }

/* Hero */
.hero-section {
  display: flex;
  min-height: 100vh;
  padding-top: 240px;
  padding-bottom: 0;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  color: var(--white);
}

.hero-section .bg {
  position: absolute;
  inset: 0;
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.hero-section .image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-section .image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
}

.hero-section > .black-bg {
  animation: hero-fade-to-up 1s 0.75s both;
}

@keyframes hero-fade-to-up {
  from {
    opacity: 0;
    transform: translate3d(0, 5%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero-section .overlay {
  background: rgba(28, 28, 31, 0.1);
}

.hero-contact .overlay {
  background: rgba(30, 41, 68, 0.6);
}

.hero-placeholder {
  background:
    radial-gradient(circle at 20% 30%, rgba(103, 170, 207, 0.55), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(87, 154, 191, 0.35), transparent 40%),
    linear-gradient(135deg, #16203a 0%, #1e2944 45%, #2c3e63 100%);
}

.hero-home .hero-placeholder {
  background:
    radial-gradient(circle at 18% 28%, rgba(103, 170, 207, 0.6), transparent 45%),
    radial-gradient(circle at 82% 18%, rgba(87, 154, 191, 0.4), transparent 40%),
    linear-gradient(135deg, #16203a 0%, #1e2944 50%, #2c3e63 100%);
}

.hero-about .hero-placeholder {
  background:
    radial-gradient(circle at 75% 30%, rgba(143, 184, 208, 0.5), transparent 45%),
    linear-gradient(135deg, #1e2944 0%, #2c3e63 55%, #4a5368 100%);
}

.hero-services .hero-placeholder {
  background:
    radial-gradient(circle at 25% 20%, rgba(103, 170, 207, 0.55), transparent 45%),
    linear-gradient(135deg, #16203a 0%, #24314f 55%, #3f6f8f 100%);
}

.hero-projects .hero-placeholder {
  background:
    radial-gradient(circle at 70% 25%, rgba(111, 163, 196, 0.5), transparent 45%),
    linear-gradient(135deg, #1e2944 0%, #2c3e63 50%, #579abf 100%);
}

.hero-resources .hero-placeholder {
  background:
    radial-gradient(circle at 30% 30%, rgba(103, 170, 207, 0.5), transparent 45%),
    linear-gradient(135deg, #24314f 0%, #1e2944 55%, #4a5368 100%);
}

.hero-news .hero-placeholder {
  background:
    radial-gradient(circle at 80% 30%, rgba(87, 154, 191, 0.5), transparent 45%),
    linear-gradient(135deg, #16203a 0%, #1e2944 50%, #2c3e63 100%);
}

.hero-contact .hero-placeholder {
  background:
    radial-gradient(circle at 20% 25%, rgba(103, 170, 207, 0.45), transparent 45%),
    linear-gradient(135deg, #1e2944 0%, #24314f 60%, #4a5368 100%);
}

.hero-article {
  min-height: 60vh;
}

.hero-title {
  max-width: 10ch;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}

.hero-contact-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.hero-contact-details {
  color: var(--white);
}

.hero-contact-details .contact-item {
  margin-bottom: 15px;
}

.hero-contact-details .social-contact-items {
  padding-left: 38px;
}

.heading-wrapper {
  position: relative;
  overflow: hidden;
}

.animation-to-up {
  transform: translate3d(0, 100%, 0);
  animation: to-up 1s forwards;
  animation-delay: 0.3s;
}

@keyframes to-up {
  to {
    transform: translate3d(0, 0, 0);
  }
}

.feature-wrapper {
  position: relative;
  width: 100%;
}

.feature-items {
  justify-content: space-around;
  gap: 40px;
}

.feature-item {
  position: relative;
  display: flex;
  overflow: hidden;
  height: 100%;
  padding: 10%;
  flex-direction: column;
  justify-content: space-between;
  background: var(--off-white);
  color: var(--navy);
}

.feature-item .bg {
  position: absolute;
  inset: 0;
  transform: translate3d(0, 100%, 0);
  transition: transform 0.5s ease;
}

.feature-item:hover .bg {
  transform: translate3d(0, 0, 0);
}

.feature-text {
  position: relative;
  z-index: 1;
}

.cta-card {
  min-height: 320px;
}

.cta-card h3 {
  margin-bottom: 15px;
}

.cta-card p {
  margin-bottom: 30px;
}

.hero-section .feature-wrapper {
  padding-bottom: 50px;
}

.hero-outline-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.hero-outline-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border: 1px solid var(--white);
  color: var(--white);
  font-size: 20px;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-outline-link:hover {
  background: var(--white);
  color: var(--navy);
}

.hero-outline-icon {
  flex: 0 0 auto;
  margin-left: 16px;
}

@media (max-width: 767px) {
  .hero-outline-links {
    grid-template-columns: 1fr;
  }
}

.staff-phone {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue);
}

/* Presentation */
.presentation {
  background: var(--white);
}

.presentation-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 60px;
}

.image-2 {
  width: 200px;
}

/* About */
.about-us-wrapper {
  display: flex;
  align-items: center;
  gap: 32px;
}

.about-us-wrapper > div {
  flex: 1;
}

.about-us.image-wrapper {
  overflow: visible;
}

/* Image wrappers and placeholders */
.image-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
}

.image-wrapper.top-padding-0 { padding-top: 0; }
.image-wrapper._120 { padding-top: 120%; }
.image-wrapper._100 { padding-top: 100%; }

.image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
}

.placeholder {
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.25));
}

.placeholder.building::before {
  content: '';
  position: absolute;
  inset: 12% 18%;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 6px, transparent 6px 18px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.12) 0 6px, transparent 6px 18px);
  opacity: 0.5;
}

.tone-1 { background: linear-gradient(135deg, #1e2944, #579abf); }
.tone-2 { background: linear-gradient(135deg, #2c3e63, #67aacf); }
.tone-3 { background: linear-gradient(135deg, #4a5368, #8fb8d0); }
.tone-4 { background: linear-gradient(135deg, #16203a, #3f6f8f); }
.tone-5 { background: linear-gradient(135deg, #24314f, #6fa3c4); }

/* Services tabs */
.tabs {
  display: flex;
}

.tabs-menu {
  display: flex;
  width: 55%;
  flex-direction: column;
}

.tabs-content {
  flex: 1;
}

.tab {
  display: flex;
  width: 100%;
  padding: 0;
  align-items: center;
  border: 0;
  background: transparent;
  color: rgba(30, 41, 68, 0.2);
  line-height: 1;
  text-align: left;
  cursor: pointer;
  transition: all 0.5s ease;
}

.tab:hover {
  padding-left: 10px;
}

.tab.w--current {
  color: var(--navy);
}

.tab-heading {
  max-width: none;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.3;
  white-space: nowrap;
}

.tab-arrow {
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin-left: 10px;
  flex: 0 0 auto;
  opacity: 0;
  transform: translate3d(-20px, 0, 0);
  transition: all 0.35s ease;
}

.tab.w--current .tab-arrow {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.tab-pane {
  display: none;
}

.tab-pane.w--tab-active {
  display: block;
}

.service-intro-content {
  display: block;
}

.service-icon {
  display: flex;
  width: 70px;
  height: 70px;
  margin-bottom: 40px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--blue);
}

.service-icon svg {
  width: 48px;
  height: 48px;
}

.service-intro-text {
  flex: 1;
}

/* Portfolio */
.project-card {
  width: 100%;
}

.project-card-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.units-wrapper {
  display: flex;
  padding: 5px 0 15px;
  align-items: center;
}

/* Resources */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.resource-card {
  padding: 40px;
  background: var(--white);
}

.resource-card h3 {
  margin-bottom: 20px;
}

.resource-card p {
  margin-bottom: 30px;
}

/* News */
.news-container {
  background: var(--white);
}

.news-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.news-article {
  position: relative;
  width: 100%;
  color: var(--navy);
}

.news-article h4 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.news-article-text {
  display: flex;
  flex-direction: column;
}

.news-list {
  display: flex;
  flex-direction: column;
}

.news-article-item-grid {
  display: grid;
  width: 100%;
  margin-bottom: 40px;
  padding-bottom: 40px;
  align-items: flex-start;
  grid-template-columns: 0.25fr 1fr 0.5fr;
  gap: 20px;
  border-bottom: 1px solid rgba(30, 41, 68, 0.5);
  color: var(--navy);
}

.news-article-item-grid:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.news-article-item-text {
  display: flex;
  height: 100%;
  margin-right: 20px;
  flex-direction: column;
  justify-content: space-between;
}

.banner {
  display: flex;
}

.banner-image-wrapper {
  width: 50%;
}

.banner-text-wrapper {
  position: relative;
  display: flex;
  width: 50%;
  padding: 80px;
  align-items: center;
  justify-content: center;
}

.banner-text-wrapper .bg {
  position: absolute;
  inset: 0;
}

.banner-text {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
}

.news-title a {
  color: var(--navy);
}

.heading-5 {
  margin-bottom: 15px;
}

/* Testimonials */
.testimonial-item {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.client-wrapper {
  display: flex;
  align-items: center;
}

.client-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* Team */
.team-card {
  width: 100%;
}

.team-card h4 {
  margin-bottom: 10px;
}

.team-card p {
  margin-bottom: 15px;
}

/* Process */
.process-wrapper {
  width: 100%;
}

.process-item {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  align-items: flex-start;
  border-bottom: 1px solid rgba(30, 41, 68, 0.5);
}

.process-item.last-item {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.process-icon {
  display: flex;
  width: 40px;
  height: 40px;
  margin-right: 20px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--blue);
}

.process-item h4 {
  margin-bottom: 5px;
}

/* Contact */
.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-team-card {
  padding: 30px;
  background: var(--white);
}

/* Footer */
.footer-section {
  padding-bottom: 40px;
  background: var(--navy);
  color: var(--white);
}

.footer-grid {
  align-items: start;
}

.footer-form-col {
  grid-column: span 2;
}

.contacts-wrapper {
  display: flex;
  flex-direction: column;
}

.contact-item {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
}

.contact-item.social-contact-items {
  margin-bottom: 0;
  padding-left: 38px;
}

.social-link {
  display: inline-flex;
  margin-right: 40px;
  transition: transform 0.5s ease;
}

.social-link:hover {
  transform: translateY(-5px);
}

.white-link {
  color: var(--white);
  transition: color 0.5s ease;
}

.white-link:hover {
  color: var(--blue);
}

.disclaimer-wrapper {
  display: flex;
  padding-top: 40px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(74, 83, 104, 0.5);
}

.back-to-top {
  display: flex;
  align-items: center;
  color: var(--pale);
}

.back-to-top-icon {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  transition: transform 0.5s ease, background-color 0.5s ease;
}

.back-to-top-icon:hover {
  transform: translateY(-5px);
  background: var(--pale);
}

/* Forms */
.form-block {
  width: 100%;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field-wrapper {
  display: flex;
  flex-direction: column;
}

.field-wrapper label {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.25px;
  text-transform: uppercase;
}

.field-wrapper.billing-address {
  grid-column: span 2;
}

.field-wrapper:last-of-type {
  grid-column: span 2;
}

.text-field {
  width: 100%;
  height: 50px;
  padding: 0 20px;
  border: 0;
  background: rgba(74, 83, 104, 0.5);
  color: var(--white);
  font: inherit;
  transition: background-color 0.5s ease;
}

.text-field:focus {
  outline: 2px solid var(--blue);
  background: rgba(74, 83, 104, 0.7);
}

.text-field::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

textarea.text-field {
  height: 140px;
  padding: 15px 20px;
  resize: vertical;
}

.form .button {
  grid-column: span 2;
  justify-self: start;
}

.form-success,
.form-error {
  grid-column: span 2;
  margin: 0;
}

.form-error {
  color: #ffb4a8;
}

/* Rich text and article body */
.rich-text {
  max-width: 900px;
}

.rich-text h2,
.article-body h2 {
  max-width: none;
  margin: 40px 0;
}

.rich-text h3,
.article-body h3 {
  max-width: 35ch;
  margin: 40px 0 20px;
  line-height: 1.4;
  font-weight: 700;
}

.rich-text h4,
.article-body h4 {
  margin: 40px 0 20px;
  font-weight: 700;
}

.rich-text p,
.article-body p {
  max-width: none;
  margin-bottom: 10px;
  font-size: 20px;
}

.rich-text ul,
.rich-text ol,
.article-body ul,
.article-body ol {
  padding-left: 40px;
  font-size: 20px;
}

.rich-text li,
.article-body li {
  margin-bottom: 10px;
}

.rich-text a,
.article-body a {
  color: var(--blue);
  text-decoration: underline;
}

.rich-text blockquote,
.article-body blockquote {
  margin: 30px 0;
  padding-left: 20px;
  border-left: 4px solid var(--blue);
  font-size: 20px;
}

.article-grid {
  grid-template-columns: 2fr 1fr;
}

.article-body {
  max-width: none;
}

.share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-link {
  padding: 8px 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Mobile navigation */
.mobile-nav {
  display: none;
}

.menu-button {
  display: flex;
  width: 90px;
  height: 90px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: block;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s 0.65s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.nav-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 31, 0.6);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-menu.is-open .nav-menu-overlay {
  opacity: 1;
}

.nav-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: 50%;
  height: 100%;
  padding: 200px 10% 40px;
  flex-direction: column;
  overflow: auto;
  background: var(--navy);
  color: var(--white);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.is-open .nav-menu-panel {
  transform: translate3d(0, 0, 0);
}

.close-button {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  width: 80px;
  height: 80px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--off-white);
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.close-button:hover {
  background: var(--pale);
}

.nav-list {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  flex-direction: column;
  list-style: none;
  text-align: right;
}

.nav-list-item {
  position: relative;
  margin-bottom: 20px;
  line-height: 1;
}

.mobile-menu.is-open .nav-list-item {
  animation: menu-item-up 0.5s 0.2s both;
}

.mobile-menu.is-open .nav-list-item:nth-child(2) { animation-delay: 0.25s; }
.mobile-menu.is-open .nav-list-item:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu.is-open .nav-list-item:nth-child(4) { animation-delay: 0.35s; }
.mobile-menu.is-open .nav-list-item:nth-child(5) { animation-delay: 0.4s; }
.mobile-menu.is-open .nav-list-item:nth-child(6) { animation-delay: 0.45s; }
.mobile-menu.is-open .nav-list-item:nth-child(7) { animation-delay: 0.5s; }
.mobile-menu.is-open .nav-list-item:nth-child(8) { animation-delay: 0.55s; }

@keyframes menu-item-up {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.nav-list .nav-link {
  width: 100%;
  min-height: 44px;
  justify-content: flex-end;
  margin-right: 1px;
  margin-left: 1px;
  font-size: 36px;
  line-height: 1.3;
}

.mobile-dropdown-list {
  display: flex;
  overflow: hidden;
  max-height: 0;
  margin: 0;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: max-height 0.4s ease, margin 0.4s ease, opacity 0.3s ease, transform 0.3s ease, visibility 0.4s;
}

.nav-list-item.is-open .mobile-dropdown-list {
  max-height: 500px;
  margin: 20px 0 40px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-list-item.is-open .arrow-icon {
  transform: rotate(180deg);
}

.mobile-dropdown-list .dropdown-link {
  margin: 0;
  border: 0;
  color: var(--white);
  font-size: 1.15rem;
}

/* Image enhancements */
.presentation--image {
  color: var(--white);
}

.presentation--image h3,
.presentation--image p {
  color: var(--white);
}

.presentation--image .image-2 {
  filter: brightness(0) invert(1);
}

.resource-image {
  margin-bottom: 20px;
}

.resources-banner {
  margin-bottom: 40px;
  padding-top: 40%;
}

.resources-feature {
  overflow: hidden;
}

.resources-feature .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: var(--navy);
}

.resources-feature-grid {
  align-items: center;
  color: var(--white);
}

.resources-feature-grid h2,
.resources-feature-grid p {
  color: var(--white);
}

.resources-feature-image {
  grid-column: span 2;
}

.service-icon-image {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.cta-card--image {
  color: var(--white);
}

.cta-card--image h3,
.cta-card--image p {
  color: var(--white);
}

.cta-card--image .button-text,
.cta-card--image .icon {
  color: var(--white);
}

.cta-card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  object-fit: contain;
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.process-layout--image {
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
}

.process-image {
  padding-top: 75%;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .navbar,
  .hero-section > .black-bg,
  .animation-to-up,
  .mobile-menu.is-open .nav-list-item {
    animation: none;
  }

  .hero-section > .black-bg,
  .reveal,
  .animation-to-up,
  .mobile-menu.is-open .nav-list-item {
    opacity: 1;
    transform: none;
  }

  .reveal,
  .mobile-menu,
  .nav-menu-overlay,
  .nav-menu-panel,
  .mobile-dropdown-list,
  .dropdown-list,
  .arrow-icon,
  .button,
  .button .bg,
  .button .icon-slide,
  .feature-item .bg,
  .tab,
  .tab-arrow {
    transition: none;
  }
}

/* Keep every desktop navigation item visible while the full-size header is too wide. */
@media screen and (min-width: 992px) and (max-width: 1399px) {
  .nav-container {
    width: 90%;
  }

  .brand-logo {
    width: 120px;
  }

  .desktop-nav .nav-link {
    margin-right: 7px;
    margin-left: 7px;
    font-size: 13px;
    white-space: nowrap;
  }

  .desktop-nav .nav-link.no-py {
    margin-right: 0;
    margin-left: 0;
  }

  .desktop-nav .submenu-toggle {
    width: 22px;
    margin-left: 2px;
  }

  .contact-us-wrapper .login-wrapper {
    width: 44px;
    justify-content: center;
  }

  .contact-us-wrapper .login-wrapper > .login:not(.icon) {
    display: none;
  }

  .contact-us-wrapper .icon.login {
    margin: 0;
  }

  .contact-us-wrapper .button {
    padding: 16px 18px;
    font-size: 12px;
  }
}

@media screen and (max-width: 1064px) {
  .presentation-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .image-2 {
    width: 100px;
  }

  .about-us-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Responsive */
@media screen and (max-width: 991px) {
  .container.nav-container {
    width: 100%;
    padding-left: 7.5%;
  }

  .desktop-nav,
  .login-wrapper,
  .contact-us-wrapper {
    display: none;
  }

  .mobile-nav {
    display: flex;
    align-items: center;
  }

  .login-wrapper.hide-desktop {
    display: none;
  }

  .section.hero-section {
    padding-bottom: 50px;
    justify-content: center;
  }

  .feature-wrapper {
    display: none;
  }

  .image-wrapper {
    padding-top: 66.66%;
  }

  .service-intro-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
  }

  .service-icon {
    flex: 0 0 auto;
  }

  ._3-col-grid {
    grid-template-columns: 1fr;
  }


  .tabs {
    flex-direction: column;
  }

  .tabs-menu {
    width: 100%;
  }

  .tab-heading {
    font-size: 42px;
    white-space: normal;
  }

  .footer-form-col {
    grid-column: span 1;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .resources-feature .bg {
    width: 100%;
    height: 100%;
  }

  .resources-feature-image {
    grid-column: span 1;
  }

  .banner {
    flex-direction: column;
  }

  .banner-image-wrapper,
  .banner-text-wrapper {
    width: 100%;
  }

  .banner-text-wrapper {
    padding: 10%;
  }

  .news-article-item-grid {
    grid-template-columns: 0.25fr 1fr;
  }

  .hide-tablet {
    display: none;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .col.sticky {
    position: static;
  }

  .col.right-margin-60,
  .col.right-margin-40 {
    margin-right: 0;
  }

  .contact-details-grid {
    grid-template-columns: 1fr;
  }

  .process-layout--image {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .disclaimer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media screen and (max-width: 976px) {
  .news-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media screen and (max-width: 767px) {
  :root {
    --section-padding: 80px;
  }

  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  h3 { font-size: 24px; }
  h4 { font-size: 18px; }
  h5 { font-size: 16px; }
  h6 { font-size: 12px; }

  .container {
    width: 85%;
  }

  .hero-section,
  .section.hero-section {
    padding-top: 150px;
    padding-bottom: 0;
    justify-content: center;
  }

  .big-paragraph {
    font-size: 16px;
  }

  .bottom-margin-100 { margin-bottom: 80px; }
  .bottom-margin-60 { margin-bottom: 40px; }
  .bottom-margin-40 { margin-bottom: 30px; }
  .bottom-margin-20 { margin-bottom: 15px; }

  .button {
    padding-right: 20px;
    padding-left: 20px;
    font-size: 12px;
  }

  .navbar {
    height: 70px;
  }

  .login-wrapper.hide-desktop {
    display: flex;
    width: 70px;
    height: 44px;
    margin: 0;
    align-items: center;
    justify-content: center;
  }

  ._3-col-grid {
    row-gap: 40px;
  }

  .service-intro-content {
    gap: 20px;
  }

  .service-icon,
  .service-icon-image {
    width: 50px;
    height: 50px;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .field-wrapper.billing-address,
  .field-wrapper:last-of-type,
  .form .button,
  .form-success,
  .form-error {
    grid-column: span 1;
  }

  .nav-menu-panel {
    width: 75%;
  }

  .close-button {
    width: 70px;
    height: 70px;
    margin-right: 10px;
  }

  .nav-list .nav-link {
    font-size: 36px;
  }

  .tab-heading {
    font-size: 36px;
  }

  .menu-button {
    width: 70px;
    height: 70px;
  }

  .brand-logo {
    width: 130px;
  }

  .news-article-item-grid {
    grid-template-columns: 1fr;
  }

  .banner-text-wrapper {
    padding: 40px 0;
  }

  .contact-item.social-contact-items {
    padding-left: 0;
  }

  .image-2 {
    width: 100px;
  }
}

@media screen and (max-width: 479px) {
  h1 { font-size: 10vw; }
  h2 { font-size: 28px; }

  .nav-menu-panel {
    width: 90%;
  }

  .nav-list .nav-link {
    font-size: 28px;
  }

  .tab-heading {
    font-size: 28px;
  }
}
