:root {
  --navy: #13294f;
  --navy-deep: #0b1c38;
  --blue: #1f63b5;
  --blue-dark: #174e92;
  --line: #e1e5eb;
  --mist: #f3f5f8;
  --body: #26303d;
  --muted: #5b6575;
  --slate: #6b7c93;
  --header-h: 84px;
  --sheet-r: clamp(24px, 3vw, 44px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #26303d;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

::selection {
  background: var(--blue);
  color: #fff;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: #fff;
  color: var(--navy);
  padding: 0.75rem 1rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Icons (CSS masks, colour follows currentColor) ---------- */

.icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.icon-arrow-right {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

.icon-arrow-left {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E");
}

.icon-arrow-up-right {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8 7h9v9'/%3E%3C/svg%3E");
}

.icon-chevron-down {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.icon-chevron-right {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}

.icon-arrow-up {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20V5M6 11l6-6 6 6'/%3E%3C/svg%3E");
}

.icon-play {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.14v13.72a1 1 0 001.52.85l10.6-6.86a1 1 0 000-1.7L9.52 4.29A1 1 0 008 5.14z'/%3E%3C/svg%3E");
}

.icon-arrow-down-long {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 40' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 1v37M2 32l6 6 6-6'/%3E%3C/svg%3E");
}

.icon-menu {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M3 7h18M3 12h18M3 17h18'/%3E%3C/svg%3E");
}

.icon-close {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5L5 19'/%3E%3C/svg%3E");
}

.icon-search {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21' stroke-linecap='round'/%3E%3C/svg%3E");
}

.icon-linkedin {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.98 3.5a2.5 2.5 0 11-.01 5 2.5 2.5 0 01.01-5zM3 9.5h4V21H3zM9.5 9.5h3.8v1.6h.05c.53-1 1.83-2.05 3.77-2.05 4.03 0 4.78 2.65 4.78 6.1V21h-4v-5.1c0-1.22-.02-2.78-1.7-2.78-1.7 0-1.95 1.32-1.95 2.69V21h-4z'/%3E%3C/svg%3E");
}

.icon-youtube {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23 7.2a3 3 0 00-2.1-2.1C19 4.6 12 4.6 12 4.6s-7 0-8.9.5A3 3 0 001 7.2 31 31 0 00.5 12a31 31 0 00.5 4.8 3 3 0 002.1 2.1c1.9.5 8.9.5 8.9.5s7 0 8.9-.5a3 3 0 002.1-2.1 31 31 0 00.5-4.8 31 31 0 00-.5-4.8zM9.75 15.02V8.98L15.5 12z'/%3E%3C/svg%3E");
}

.icon-x {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.75 3h3.07l-6.7 7.66L22 21h-6.17l-4.83-6.32L5.47 21H2.4l7.17-8.2L2 3h6.33l4.37 5.78zm-1.08 16.18h1.7L7.4 4.73H5.58z'/%3E%3C/svg%3E");
}

/* ---------- Logo ---------- */

.site-logo {
  position: relative;
  display: inline-block;
}

.site-logo img {
  display: block;
  height: 44px;
  width: auto;
  transition: opacity 0.4s var(--ease-out);
}

.site-logo .logo-light {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.logo-white .logo-dark {
  opacity: 0;
}

.logo-white .logo-light {
  opacity: 1;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  transition: color 0.3s var(--ease-out);
}

.btn__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  transition: background-color 0.3s var(--ease-out);
}

.btn__box .icon {
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn__box {
  background: var(--blue-dark);
}

.btn:hover .btn__box .icon {
  transform: translate(2px, -2px);
}

.btn--light {
  color: #fff;
}

.btn--light .btn__box {
  background: #fff;
  color: var(--navy);
}

.btn--light:hover .btn__box {
  background: var(--blue);
  color: #fff;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease-out);
}

.btn-solid:hover {
  background: var(--blue-dark);
}

.link-underline {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s var(--ease-out);
}

.link-underline:hover,
a:hover .link-underline {
  background-size: 100% 1px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  color: var(--navy);
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.site-header.is-overlay {
  background: transparent;
  color: #fff;
  border-bottom-color: transparent;
}

.site-header.is-overlay::before {
  content: "";
  position: absolute;
  inset: 0 0 -60px 0;
  background: linear-gradient(to bottom, rgba(6, 16, 32, 0.5), rgba(6, 16, 32, 0));
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.4s var(--ease-out);
}

.site-header.is-overlay .site-logo .logo-dark {
  opacity: 0;
}

.site-header.is-overlay .site-logo .logo-light {
  opacity: 1;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  background: #fff;
  color: var(--navy);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(11, 28, 56, 0.35);
}

.site-header.is-scrolled::before,
.site-header.is-menu-open::before {
  opacity: 0;
}

.site-header.is-scrolled .site-logo .logo-dark,
.site-header.is-menu-open .site-logo .logo-dark {
  opacity: 1;
}

.site-header.is-scrolled .site-logo .logo-light,
.site-header.is-menu-open .site-logo .logo-light {
  opacity: 0;
}

.nav-item {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  height: 100%;
  padding: 0 0.125rem;
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.site-header.is-overlay:not(.is-scrolled):not(.is-menu-open) .nav-trigger::after {
  background: #fff;
}

.nav-item:hover .nav-trigger::after,
.nav-item.is-open .nav-trigger::after,
.nav-trigger[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-trigger .icon {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.3s var(--ease-out);
}

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

/* Mega panel */

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  color: var(--navy);
  border-top: 1px solid var(--line);
  box-shadow: 0 30px 40px -30px rgba(11, 28, 56, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
}

.nav-item.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s;
}

.mega a.mega-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  transition: color 0.25s var(--ease-out), padding 0.3s var(--ease-out);
}

.mega a.mega-link .icon {
  width: 1rem;
  height: 1rem;
  color: var(--blue);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s var(--ease-out), transform 0.3s var(--ease-out);
}

.mega a.mega-link:hover {
  color: var(--blue);
  padding-left: 0.25rem;
}

.mega a.mega-link:hover .icon {
  opacity: 1;
  transform: none;
}

/* Mobile drawer */

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 55;
  background: #fff;
  color: var(--navy);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s;
}

/* Each section slides in as its own panel, replacing the list (no dropdowns). */
.mobile-nav__panel {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
}

/* "inherit", not "visible": a visible child of the closed (hidden) drawer
   would stay clickable and swallow every scroll on the page. */
.mobile-nav__panel.is-active,
.mobile-nav__panel--root {
  transform: none;
  visibility: inherit;
  transition: transform 0.45s var(--ease-out), opacity 0.45s var(--ease-out), visibility 0s;
}

.mobile-nav.is-sub .mobile-nav__panel--root {
  transform: translateX(-30%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s var(--ease-out), opacity 0.45s var(--ease-out), visibility 0s linear 0.45s;
}

.mobile-nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}

@media (min-width: 1024px) {
  .mobile-nav__inner {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.mobile-nav__link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: left;
}

.mobile-nav__link .icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--blue);
}

.mobile-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue);
}

.mobile-nav__back .icon {
  width: 1.125rem;
  height: 1.125rem;
}

.mobile-nav__title {
  margin-top: 1rem;
  font-size: 1.875rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.mobile-nav__sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.125rem;
  font-weight: 500;
}

.mobile-nav__sublink .icon {
  width: 1rem;
  height: 1rem;
  color: var(--blue);
}

.mobile-nav__sublink:hover {
  color: var(--blue);
}

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(11, 28, 56, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), background-color 0.25s var(--ease-out), visibility 0s linear 0.3s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), background-color 0.25s var(--ease-out), visibility 0s;
}

.to-top:hover {
  background: var(--blue);
}

.to-top .icon {
  transition: transform 0.3s var(--ease-out);
}

.to-top:hover .icon {
  transform: translateY(-2px);
}

/* ---------- Hero (fixed behind the page sheet) ---------- */

.hero {
  position: sticky;
  top: 0;
  z-index: 0;
}

.hero--page {
  height: 62svh;
  min-height: 440px;
  max-height: 680px;
}

.hero-media {
  will-change: transform;
}

.hero-media img {
  transform: scale(1.06);
  transition: transform 2.4s var(--ease-out);
}

.is-ready .hero-media img {
  transform: scale(1);
}

.page-sheet {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * var(--sheet-r));
  background: #fff;
  border-radius: var(--sheet-r) var(--sheet-r) 0 0;
  box-shadow: 0 -20px 40px -24px rgba(6, 16, 32, 0.45);
}

.site-footer {
  position: relative;
  z-index: 2;
}

/* ---------- Scroll reveal (content stays visible if JS never runs) ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-media img {
    transform: none;
    transition: none;
  }
}

/* ---------- Image cards ---------- */

.zoom-media {
  overflow: hidden;
  background: #13294f;
}

.zoom-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}

a:hover .zoom-media img,
.zoom-media:hover img {
  transform: scale(1.05);
}

/* ---------- Video frame ---------- */

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy-deep);
}

.video-frame img,
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame img {
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 16, 32, 0.55), rgba(6, 16, 32, 0.1) 45%, rgba(6, 16, 32, 0.25));
  pointer-events: none;
}

.video-frame:hover img {
  transform: scale(1.03);
}

.video-frame.is-playing::after,
.video-frame.is-playing .video-frame__caption,
.video-frame.is-playing .video-frame__play {
  display: none;
}

.video-frame__caption {
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 1;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
}

.video-frame__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 16px 40px -16px rgba(6, 16, 32, 0.7);
  transition: background-color 0.25s var(--ease-out), transform 0.35s var(--ease-out);
}

.video-frame__play .icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-left: 3px;
}

.video-frame__play:hover {
  background: var(--blue-dark);
  transform: translate(-50%, -50%) scale(1.06);
}

/* ---------- Explore more (navy section overlapping the block above) ---------- */

.explore-section {
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * var(--sheet-r));
  border-radius: var(--sheet-r) var(--sheet-r) 0 0;
}

.explore-card {
  --notch: 10px;
  --notch-r: 16px;
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.explore-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}

.explore-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 16, 32, 0.7), rgba(6, 16, 32, 0) 50%);
}

.explore-card:hover img {
  transform: scale(1.05);
}

.explore-card__label {
  position: absolute;
  left: 1.5rem;
  bottom: 1.25rem;
  z-index: 1;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* The arrow box sits in a notch cut out of the card's top-right corner,
   with inverted curves where the notch meets the card edges. */
.explore-card__notch {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  padding: 0 0 var(--notch) var(--notch);
  background: var(--notch-bg, var(--navy-deep));
  border-bottom-left-radius: var(--notch-r);
}

.explore-card__notch::before,
.explore-card__notch::after {
  content: "";
  position: absolute;
  width: var(--notch-r);
  height: var(--notch-r);
  background: radial-gradient(circle at 0 100%, transparent calc(var(--notch-r) - 0.5px), var(--notch-bg, var(--navy-deep)) var(--notch-r));
}

.explore-card__notch::before {
  top: 0;
  right: 100%;
}

.explore-card__notch::after {
  top: 100%;
  right: 0;
}

.explore-card__notch > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.explore-card:hover .explore-card__notch > span {
  background: var(--blue);
  color: #fff;
}

.explore-card__notch .icon {
  transition: transform 0.3s var(--ease-out);
}

.explore-card:hover .explore-card__notch .icon {
  transform: translate(2px, -2px);
}

/* ---------- Values block (pinned heading, values scroll past) ---------- */

.values-block {
  border-radius: var(--sheet-r);
}

.values-block__intro {
  padding: 5rem 0 1rem;
}

.values-block__cue {
  display: none;
}

.value-item {
  padding: 2.5rem 0 4rem;
}

.value-item__media {
  --tilt: -8deg;
  aspect-ratio: 7 / 6;
  border-radius: 14px;
  overflow: hidden;
  background: var(--navy);
  transform: perspective(1000px) rotateY(var(--tilt));
  will-change: transform;
}

.value-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.value-item__title {
  margin-top: 2rem;
  font-size: clamp(1.625rem, 2.4vw, 2.125rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.value-item__text {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 28rem;
}

@media (min-width: 1024px) {
  .values-block__intro {
    position: sticky;
    top: var(--header-h);
    height: calc(100vh - var(--header-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
  }

  .values-block__cue {
    position: absolute;
    left: 0;
    bottom: 3rem;
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
  }

  .values-block__cue .icon {
    width: 0.875rem;
    height: 2.25rem;
    animation: cue-nudge 2.4s var(--ease-out) infinite;
  }

  .value-item {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 0;
  }

  .value-item__media {
    --tilt: -14deg;
  }
}

@keyframes cue-nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .values-block__cue .icon {
    animation: none;
  }
}

/* ---------- Purpose lockup (letters spread to fill each line) ---------- */

.purpose-lockup {
  max-width: 300px;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
}

.purpose-lockup__lead {
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  padding: 0 0.75rem 0.6rem;
}

.purpose-lockup__box {
  border: 2px solid currentColor;
  padding: 1.1rem 1.25rem 1.5rem;
  box-shadow: inset 0 -8px 0 #fff, inset 0 -10px 0 currentColor;
}

.purpose-lockup__line {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1;
  letter-spacing: 0.3em;
  padding: 0.85rem 0;
}

.purpose-lockup [data-spread].is-spread {
  display: flex;
  justify-content: space-between;
  letter-spacing: 0;
}

.purpose-lockup .spread-gap {
  flex: 0 0 0.75em;
}

/* ---------- Title-only page hero ---------- */

.hero--title {
  height: clamp(320px, 48svh, 440px);
}

/* ---------- Executive team ---------- */

.ceo-feature {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.ceo-feature__photo {
  width: min(100%, 30rem);
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: var(--mist);
}

.ceo-feature__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.ceo-feature__role {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue);
}

.ceo-feature__name {
  margin-top: 0.5rem;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.ceo-feature__quote {
  margin-top: 2rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--blue);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy);
}

@media (min-width: 900px) {
  .ceo-feature {
    grid-template-columns: 5fr 7fr;
    gap: 4.5rem;
  }

  .ceo-feature__photo {
    width: 100%;
  }
}

.team-divider {
  margin: 4.5rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .team-divider {
    margin: 6rem 0;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem 1.5rem;
}

.team-member {
  text-align: center;
}

.team-member__photo {
  width: min(100%, 320px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mist);
  transition: transform 0.5s var(--ease-out);
}

.team-member:hover .team-member__photo {
  transform: scale(1.06);
}

.team-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 20%);
  transform: scale(var(--zoom, 1));
  transform-origin: var(--pos, 50% 20%);
}

.team-member__name {
  margin-top: 1.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--blue);
}

.team-member__role {
  max-width: 13rem;
  margin: 0.4rem auto 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-member__photo {
    width: min(100%, 240px);
  }
}

@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
    row-gap: 5.5rem;
  }

  .team-member__photo {
    width: min(84%, 190px);
  }
}

/* ---------- Link list (Discover more) ---------- */

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--navy);
  font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
  font-weight: 600;
  color: var(--navy);
  transition: color 0.25s var(--ease-out);
}

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

.link-list .icon {
  flex: none;
  transition: transform 0.3s var(--ease-out);
}

.link-list a:hover .icon {
  transform: translateX(4px);
}

/* ---------- History timeline ---------- */

.decade {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

/* Below lg the two columns collapse into one chronological list via `order`. */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-left: 2.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  bottom: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--navy-deep);
}

.timeline::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--navy-deep);
}

.timeline__col {
  display: contents;
}

.milestone {
  order: var(--order, 0);
}

.milestone__year {
  font-size: clamp(1.25rem, 1.6vw, 1.4375rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue);
}

.milestone__text {
  margin-top: 0.6rem;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--navy);
}

.milestone__media {
  margin-top: 1.5rem;
}

.milestone__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
  background: var(--mist);
}

.milestone__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.milestone__pair img {
  aspect-ratio: 4 / 5;
}

.milestone__caption {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(5rem, 9vw, 8.5rem);
    align-items: start;
    padding-left: 0;
  }

  .timeline::before {
    left: 50%;
    top: 0.75rem;
    transform: translateX(-50%);
  }

  .timeline::after {
    left: 50%;
    width: 1.5rem;
    height: 1.5rem;
    transform: translateX(-50%);
  }

  .timeline__col {
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
  }

  .timeline__col--left {
    padding-top: 3.5rem;
    text-align: right;
  }

  .milestone__media--narrow {
    width: 70%;
  }

  .timeline__col--left .milestone__media--narrow {
    margin-left: auto;
  }
}

/* ---------- Floating decade nav (desktop) ---------- */

.decade-nav {
  display: none;
}

@media (min-width: 1024px) {
  .decade-nav {
    position: fixed;
    left: 0;
    top: calc(var(--header-h) + 6rem);
    z-index: 30;
    display: block;
    min-width: 7rem;
    padding: 1.6rem 2.5rem 1.6rem 2rem;
    border-radius: 0 14px 14px 0;
    background: var(--navy-deep);
    color: #fff;
    box-shadow: 0 18px 40px -18px rgba(6, 16, 32, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out), visibility 0s linear 0.5s;
  }

  .decade-nav.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
  }
}

.decade-nav__title {
  font-size: 0.9375rem;
  font-weight: 700;
}

.decade-nav a {
  display: block;
  padding: 0.1rem 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s var(--ease-out);
}

.decade-nav a:hover {
  color: #fff;
}

.decade-nav a.is-active {
  color: #fff;
  font-weight: 700;
}

/* ---------- Closing CTA band (flows into the footer) ---------- */

.cta-band {
  position: relative;
  border-radius: var(--sheet-r) var(--sheet-r) 0 0;
}

.cta-band__media {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
}

.cta-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Tabs (Our offering) ---------- */

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tab-btn {
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.tab-btn:hover {
  border-color: var(--navy);
}

.tab-btn[aria-selected="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.tab-panel:not([hidden]) {
  animation: tab-in 0.55s var(--ease-out);
}

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

@media (prefers-reduced-motion: reduce) {
  .tab-panel:not([hidden]) {
    animation: none;
  }
}

/* ---------- Capability map (callouts around a photo) ---------- */

.capability-map {
  display: grid;
  gap: 2.25rem;
}

.capability-map__media {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
}

.capability-map__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.callout {
  padding: 1.4rem 0 0 1.4rem;
  border-top: 1px solid #b9c3d1;
  border-left: 1px solid #b9c3d1;
  border-top-left-radius: 24px;
}

.callout h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
}

.callout p {
  margin-top: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--body);
}

@media (min-width: 640px) {
  .capability-map {
    grid-template-columns: 1fr 1fr;
  }

  .capability-map__media {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .capability-map {
    grid-template-columns: 1fr 1.7fr 1fr;
    grid-template-areas: "a m b" "c m d" "e m f";
    align-items: center;
    gap: 2.75rem 3rem;
  }

  .capability-map__media {
    grid-area: m;
    grid-column: auto;
    aspect-ratio: 4 / 5;
  }

  .callout[data-area="a"] { grid-area: a; }
  .callout[data-area="b"] { grid-area: b; }
  .callout[data-area="c"] { grid-area: c; }
  .callout[data-area="d"] { grid-area: d; }
  .callout[data-area="e"] { grid-area: e; }
  .callout[data-area="f"] { grid-area: f; }

  .callout--right {
    padding: 1.4rem 1.4rem 0 0;
    border-left: 0;
    border-right: 1px solid #b9c3d1;
    border-top-left-radius: 0;
    border-top-right-radius: 24px;
    text-align: right;
  }
}

/* ---------- Material cards (Cement & Concrete) ---------- */

.material-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.material-plus {
  grid-column: 1 / -1;
  justify-self: center;
  font-size: 2.75rem;
  font-weight: 300;
  line-height: 1;
  color: var(--blue);
}

.material-card {
  border-radius: 10px;
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
}

.material-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

@media (max-width: 1023.98px) {
  .material-row > .material-card:first-child {
    grid-column: 1 / -1;
  }

  .material-row > .material-card:first-child img {
    aspect-ratio: 16 / 7;
  }
}

.material-card__body {
  padding: 0.9rem 0.75rem 1.1rem;
}

.material-card__name {
  font-size: 1rem;
  font-weight: 600;
}

.material-card__sub {
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 1024px) {
  .material-row {
    grid-template-columns: 1fr 4.5rem repeat(4, 1fr);
    align-items: center;
  }

  .material-plus {
    grid-column: auto;
  }
}

/* ---------- Feature band (photo over a darkened backdrop) ---------- */

.feature-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.feature-band__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.feature-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 28, 56, 0.35), rgba(11, 28, 56, 0.85));
}

.feature-band__media {
  aspect-ratio: 16 / 11;
  border-radius: 14px;
  overflow: hidden;
}

.feature-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Portfolio icon list (Plant & Logistics) ---------- */

.portfolio-list > li {
  padding: 2rem 0;
  border-bottom: 2px solid var(--blue);
}

.portfolio-list > li:first-child {
  padding-top: 0;
}

.portfolio-list > li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.portfolio-list svg {
  width: 4rem;
  height: 4rem;
  fill: none;
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portfolio-list h3 {
  margin-top: 1rem;
  font-size: clamp(1.25rem, 1.6vw, 1.4375rem);
  font-weight: 600;
  color: #6ea8ec;
}

.portfolio-list p {
  margin-top: 0.6rem;
  max-width: 36rem;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Product range (stacked tabs on a dark band) ---------- */

.tab-list--dark .tab-btn {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.tab-list--dark .tab-btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.tab-list--dark .tab-btn[aria-selected="true"] {
  background: var(--blue);
  border-color: var(--blue);
}

@media (min-width: 1024px) {
  .tab-list--stack {
    flex-direction: column;
    gap: 1.25rem;
  }

  .tab-list--stack .tab-btn {
    width: 100%;
    padding: 0.95rem 1.25rem;
  }
}

.product-grid {
  display: grid;
  gap: 1.75rem;
}

.product-tile img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

.product-tile figcaption {
  margin-top: 0.9rem;
  text-align: center;
}

.product-tile strong {
  display: block;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 600;
}

.product-tile span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 1.75rem;
  }

  .product-tile img {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- Numbered accordion (Core strengths) ---------- */

.accordion > div {
  border-bottom: 1px solid #b9c3d1;
}

.accordion__trigger {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  padding: 1.35rem 0;
  text-align: left;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  font-weight: 600;
  color: var(--navy);
  transition: color 0.25s var(--ease-out);
}

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

.accordion__num {
  min-width: 2.5rem;
}

.accordion__trigger .icon {
  margin-left: auto;
  flex: none;
  color: var(--slate);
  transition: transform 0.35s var(--ease-out);
}

.accordion__trigger[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}

.accordion__panel.is-open {
  grid-template-rows: 1fr;
}

.accordion__panel > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s 0.45s;
}

.accordion__panel.is-open > div {
  visibility: visible;
  transition-delay: 0s;
}

.accordion__panel p {
  max-width: 40rem;
  padding: 0 0 1.6rem 3.75rem;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--body);
}

@media (max-width: 639.98px) {
  .accordion__panel p {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .accordion__panel {
    transition: none;
  }
}

/* ---------- Project grid (Our Projects) ---------- */

.project-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.filter-select {
  position: relative;
  width: 100%;
}

.filter-select select {
  appearance: none;
  width: 100%;
  padding: 0.7rem 2.5rem 0.7rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.25s var(--ease-out);
}

.filter-select select:hover,
.filter-select select:focus-visible {
  border-color: var(--navy);
}

.filter-select .icon {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--navy);
  pointer-events: none;
}

.project-search {
  position: relative;
  width: 100%;
}

@media (min-width: 640px) {
  .filter-select {
    width: auto;
  }

  .filter-select select {
    min-width: 13rem;
  }

  .project-search {
    max-width: 18rem;
  }
}

.project-search input {
  width: 100%;
  padding: 0.6rem 2rem 0.6rem 0;
  border: 0;
  border-bottom: 1px solid var(--navy);
  background: transparent;
  font-size: 0.9375rem;
  color: var(--navy);
  outline: none;
}

.project-search input::placeholder {
  color: var(--slate);
}

.project-search input:focus {
  border-bottom-color: var(--blue);
}

.project-search .icon {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--navy);
  pointer-events: none;
}

.project-grid {
  display: grid;
  gap: 1.25rem;
}

.project-grid > [hidden] {
  display: none;
}

.project-grid .explore-card {
  animation: tab-in 0.55s var(--ease-out);
}

.project-grid .explore-card__label {
  right: 1.5rem;
  bottom: 1.5rem;
  line-height: 1.2;
}

@media (prefers-reduced-motion: reduce) {
  .project-grid .explore-card {
    animation: none;
  }
}

@media (min-width: 640px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.75rem;
  }
}

.explore-card__label small {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.8);
}

.explore-card.is-highlighted {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

/* ---------- Brand logos ---------- */

.brand-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 7.5rem;
  padding: 0 1rem;
  user-select: none;
}

.brand-tile img {
  width: auto;
  max-width: 100%;
  max-height: 5.5rem;
  object-fit: contain;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.brand-grid > [hidden] {
  display: none;
}

.brand-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.brand-card:hover {
  border-color: var(--navy);
  box-shadow: 0 12px 32px -18px rgba(11, 28, 56, 0.35);
}

.brand-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  padding: 0.75rem;
}

.brand-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-card__body {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--line);
}

.brand-card__body strong {
  display: block;
  font-weight: 600;
  color: var(--navy);
}

.brand-card__body span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--slate);
}

@media (min-width: 768px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.chip:hover {
  border-color: var(--navy);
}

.chip[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ---------- Contact page ---------- */

.contact-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.contact-table th,
.contact-table td {
  padding: 1.1rem 1rem 1.1rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.contact-table th {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate);
}

.contact-table td {
  color: var(--body);
}

.contact-table td a {
  color: var(--navy);
  font-weight: 600;
}

.contact-table td a:hover {
  color: var(--blue);
}

.contact-table a[href^="tel:"] {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .contact-table thead {
    display: none;
  }

  .contact-table tr {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-table td {
    display: block;
    padding: 0.2rem 0;
    border: 0;
  }

  .contact-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--slate);
  }
}

.form-field {
  display: block;
}

.form-field > span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 1rem;
  color: var(--body);
  outline: none;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.form-field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2313294F' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 99, 181, 0.15);
}

.form-field [aria-invalid="true"] {
  border-color: #b42318;
}

.explore-card--tall {
  aspect-ratio: 3 / 4;
}

.explore-card--tall .explore-card__label {
  right: 1.5rem;
  bottom: 1.5rem;
  line-height: 1.2;
}

/* ---------- Carousel (infinite loop, swipe and drag) ---------- */

.carousel-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 1.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track > * {
  scroll-snap-align: start;
}

.carousel-track img {
  -webkit-user-drag: none;
  user-select: none;
}

@media (pointer: fine) {
  .carousel-track {
    cursor: grab;
  }
}

.carousel-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.carousel-track.is-dragging a {
  pointer-events: none;
}

@media (min-width: 768px) {
  .carousel-track {
    grid-auto-columns: calc((100% - 1.5rem) / 2);
    gap: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .carousel-track {
    grid-auto-columns: calc((100% - 3rem) / 2.4);
  }
}

.carousel-track.carousel-track--thirds {
  grid-auto-columns: 84%;
}

.carousel-track.carousel-track--logos {
  grid-auto-columns: 50%;
  gap: 0;
}

@media (min-width: 768px) {
  .carousel-track.carousel-track--thirds {
    grid-auto-columns: calc((100% - 1.25rem) / 2);
    gap: 1.25rem;
  }

  .carousel-track.carousel-track--logos {
    grid-auto-columns: calc(100% / 3);
  }
}

@media (min-width: 1024px) {
  .carousel-track.carousel-track--thirds {
    grid-auto-columns: calc((100% - 2.5rem) / 3);
  }

  .carousel-track.carousel-track--logos {
    grid-auto-columns: 25%;
  }
}

/* Arrows sit under the track on smaller screens and either side of it on wide ones. */
.carousel-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "track track" "prev next";
  gap: 1.5rem 0.75rem;
}

.carousel-shell > .carousel-track {
  grid-area: track;
  min-width: 0;
}

.carousel-shell__prev {
  grid-area: prev;
}

.carousel-shell__next {
  grid-area: next;
  justify-self: start;
}

@media (min-width: 1380px) {
  .carousel-shell {
    display: block;
    position: relative;
  }

  .carousel-shell__prev,
  .carousel-shell__next {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
  }

  .carousel-shell__prev {
    left: -4.5rem;
  }

  .carousel-shell__next {
    right: -4.5rem;
  }
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.carousel-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.carousel-progress {
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.carousel-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--blue);
  transition: width 0.4s var(--ease-out);
}

/* ---------- Forms ---------- */

.field-line {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.85rem 0;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s var(--ease-out);
}

.field-line::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.field-line:focus {
  border-bottom-color: #fff;
}
