/* Shared visual system: original photography and composition, restored interactions. */
html.lenis,
html.lenis body {
  height: auto;
}
html.lenis {
  scroll-behavior: auto !important;
}
body { font-family: Montserrat, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font-family: inherit; }
body .navbar {
  transition:
    background 0.45s ease,
    box-shadow 0.45s ease;
}
body .navbar.scrolled {
  background: #fffffff5;
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 #14263815;
}
body .navbar a {
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}
body .navbar .nav-link:hover {
  opacity: 0.65;
}
body:has(main > .slider-section:first-child)
  .navbar:not(.scrolled)
  :is(.brand, .nav-link, .nav-button) {
  color: white;
}
body:has(main > .slider-section:first-child) .navbar:not(.scrolled) .menu-icon {
  filter: brightness(0) invert(1);
}
body:has(main > .slider-section:first-child)
  .navbar:not(.scrolled)
  .nav-button {
  border-color: #ffffff60;
}
body .navbar.scrolled .menu-icon {
  filter: none;
}
body .looping-wrapper {
  width: max-content;
  overflow: visible;
  margin-left: 0;
  animation: logo-flow 48s linear infinite;
  will-change: transform;
}
body .marquee-group {
  display: flex;
  flex-shrink: 0;
}
body .logo-item-grid {
  width: auto;
  flex-shrink: 0;
}
body .logo-box {
  min-width: 240px;
  padding: 0 64px;
}
@keyframes logo-flow {
  to {
    transform: translateX(-50%);
  }
}
body .hero-feature-card .list-item-arrow {
  opacity: 0;
  transform: translateX(-12px);
  transition:
    opacity 0.4s,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
body .hero-feature-card:is(:hover, :focus-visible) .list-item-arrow {
  opacity: 1;
  transform: translateX(0);
}
body .services-card {
  background: #fff;
  transition: color 0.4s;
  isolation: isolate;
}
body .services-card .background-wrapper {
  z-index: -1;
}
body .services-card .background-cover {
  display: block !important;
  z-index: 2;
  background: white;
  transform: translateY(0);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
body .services-card:is(:hover, :focus-within) .background-cover {
  transform: translateY(-102%);
}
body .services-card .overlay {
  background: #0c1c2cba;
}
body .services-card:is(:hover, :focus-within),
body .services-card:is(:hover, :focus-within) .body-display {
  color: white;
}
body .w-slider-arrow-left,
body .w-slider-arrow-right {
  background: transparent !important;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
body .w-slider-arrow-left:hover,
body .w-slider-arrow-right:hover {
  border-color: white;
  transform: scale(1.06);
}
body .project-slider .w-slider-arrow-left,
body .project-slider .w-slider-arrow-right {
  border-color: #15233350;
}
body .project-slider {
  width: 100%;
  max-width: none;
}
body .project-mask {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
  overscroll-behavior-x: contain;
}
body .project-mask::-webkit-scrollbar {
  display: none;
}
body .project-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  width: calc((100% - 48px) / 3);
  margin: 0;
  white-space: normal;
}
body .project-slide .project-card {
  width: 100%;
  min-height: 420px;
}
body .project-card {
  isolation: isolate;
  overflow: hidden;
}
body .project-card .project-background {
  transform: scale(1);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
body .project-card .skew-background-wrapper {
  transform: translateX(-102%) skewX(-10deg);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: left center;
}
body .project-card .skew-background {
  transform: scale(1.16) skewX(10deg);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
body .project-card:is(:hover, :focus-visible) .project-background {
  transform: scale(1.07);
}
body .project-card:is(:hover, :focus-visible) .skew-background-wrapper {
  transform: translateX(0) skewX(0);
}
body .project-card:is(:hover, :focus-visible) .skew-background {
  transform: scale(1.04) skewX(0);
}
body .project-card .project-name {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
body .project-card:is(:hover, :focus-visible) .project-name {
  transform: translateY(-8px);
}
body .testimonial-tabs .tab-mask {
  min-height: 250px;
}
body .team-images {
  overflow: hidden;
}
body .founder-image {
  will-change: transform;
}
body .lightbox-link {
  background-position: 50% 32%;
  overflow: hidden;
}
body .portrait-gallery .background,
body .portrait-gallery [style*="background-image"] {
  background-position: 50% 30% !important;
}
body .portrait-gallery img:not(.slider-arrow-icon) {
  object-fit: cover;
  object-position: 50% 30%;
}
body .journal-list-card .background-cover {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
body .journal-list-card .background {
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
body .journal-list-card:is(:hover, :focus-visible) .background {
  transform: scale(1.05);
}
body .journal-list-card {
  transition: color 0.4s;
}
body .three-grid .card {
  overflow: hidden;
  isolation: isolate;
}
body .three-grid .card-cover {
  transform: translateY(0);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
body .three-grid .card:is(:hover, :focus-visible) .card-cover {
  transform: translateY(-105%);
}
body .three-grid .card-info {
  z-index: 20;
  transition:
    color 0.4s,
    transform 0.7s;
}
body .three-grid .card:is(:hover, :focus-visible) .card-info {
  color: #fff;
  transform: translateY(-6px);
}
body .three-grid .card .background {
  transform: scale(1.08);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
body .three-grid .card:is(:hover, :focus-visible) .background {
  transform: scale(1);
}
body .tab-top {
  cursor: pointer;
  padding: 26px 0;
}
body .tab-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
body .tab-title > [class*="text-block"] {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.02em;
}
body .lottie-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid #14263830;
  border-radius: 50%;
  transition: transform 0.4s;
}
body .lottie-tab-icon:after {
  content: "+";
  font:
    24px/1 Montserrat,
    sans-serif;
}
body .tab-top[aria-expanded="true"] .lottie-tab-icon:after {
  content: "−";
}
body .tab-bottom {
  overflow: hidden;
}
body .tab-bottom-content {
  padding: 0 0 28px;
}
body .tab-bottom .body-display-4 {
  font-size: 16px;
  line-height: 1.8;
}
body .tab-top .hover-cover {
  display: none;
}
body .cookie-notice {
  left: 24px;
  bottom: 24px;
  width: 390px;
  max-width: calc(100vw - 48px);
  padding: 24px;
  background: #fffffff5;
  backdrop-filter: blur(20px);
  border: 1px solid #17233216;
  border-radius: 16px;
  color: #172332;
  box-shadow: 0 12px 60px #14263820;
  font:
    13px/1.65 Montserrat,
    sans-serif;
}
body .cookie-notice strong {
  font-size: 15px;
  font-weight: 550;
}
body .cookie-notice p {
  margin: 10px 0 16px;
  font-size: 13px;
  line-height: 1.65;
}
body .cookie-notice button {
  border-radius: 7px;
  font-size: 12px;
  padding: 10px 18px;
  color: #172332;
  border: 1px solid #17233230;
  background: transparent;
}
body .cookie-notice button:first-of-type {
  background: #172b3a;
  color: white;
  border-color: #172b3a;
}
body .privacy-control {
  border-radius: 20px;
  padding: 6px 12px;
  opacity: 0.85;
}
body .video-dialog {
  backdrop-filter: blur(12px);
}
body .video-dialog iframe {
  height: auto;
  max-height: 80vh;
  background: #000;
  border-radius: 8px;
}
body .video-close {
  border-radius: 30px;
  color: #172332;
}
body .video-library {
  padding: 100px max(24px, 6vw);
  background: #f3f5f5;
}
body .video-library > .grid-wrapper {
  width: 100%;
  max-width: 1280px;
  display: block;
  margin: auto;
}
body .video-library .content-grid-video,
body .video-library .video-content {
  display: block;
  width: 100%;
}
body .video-library .centered-intro {
  max-width: 800px;
  margin: 0 auto 44px;
}
body .video-library ._50--aside {
  width: 100%;
}
body .video-library ._50--bside {
  display: none;
}
body .video-library .lightbox-link-3.hero {
  height: auto;
  aspect-ratio: 16/8;
  margin: 0;
  border-radius: 12px;
  background-position: 50% 35%;
  overflow: hidden;
}
body .video-library > .div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1280px;
  width: 100%;
  margin: 28px auto 0;
  padding: 0;
}
body .video-library .mini-video-wrapper {
  width: 100%;
  max-width: none;
}
body .video-library .lightbox-link-2 {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 10px;
  background-position: center;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
body .video-library .lightbox-link-2:hover {
  transform: translateY(-4px);
}
body .video-library .text-block-12 {
  font-size: 15px;
  line-height: 1.6;
  margin-top: 18px;
}
.services-portal {
  max-width: 1400px;
  margin: auto;
  padding: 100px 5vw;
}
.portal-heading {
  max-width: 760px;
  margin-bottom: 40px;
}
.portal-heading h2 {
  font-size: clamp(32px, 4vw, 54px);
  margin-top: 16px;
}
.service-search {
  display: block;
  max-width: 650px;
}
.service-search span {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
}
.service-search input {
  border: 1px solid #17233230;
  border-radius: 8px;
  background: #f7f8f8;
  width: 100%;
  padding: 18px 20px;
  font-size: 16px;
  color: #172332;
}
.service-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.service-filters button {
  border: 1px solid #17233230;
  padding: 10px 18px;
  border-radius: 30px;
  background: white;
  color: #172332;
  font-size: 13px;
  transition:
    background 0.25s,
    color 0.25s;
}
.service-filters button[aria-pressed="true"] {
  background: #172b3a;
  color: white;
}
.result-count {
  font-size: 13px;
  color: #51616b;
}
.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.portal-card {
  display: block;
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 10px;
  color: white;
  background: #142638;
}
.portal-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.portal-card > div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  background: linear-gradient(transparent 15%, #0b1e30e8);
}
.portal-card span {
  font-size: 11px;
  letter-spacing: 0.1em;
}
.portal-card h3 {
  font-size: 25px;
  margin: 12px 0 24px;
  color: white;
}
.portal-card .portal-arrow {
  font-size: 28px;
  transition: transform 0.4s;
}
.portal-card:is(:hover, :focus-visible) > img {
  transform: scale(1.07);
}
.portal-card:is(:hover, :focus-visible) .portal-arrow {
  transform: translate(5px, -5px);
}
@media (max-width: 991px) {
  body .project-slide {
    flex-basis: calc((100% - 24px) / 2);
    width: calc((100% - 24px) / 2);
  }
  .portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body .video-library {
    padding: 70px 24px;
  }
}
@media (max-width: 600px) {
  body .project-slide {
    flex-basis: 85%;
    width: 85%;
  }
  body .project-slide .project-card {
    min-height: 360px;
  }
  body .video-library > .div {
    grid-template-columns: 1fr;
  }
  body .video-library .lightbox-link-3.hero {
    aspect-ratio: 4/3;
  }
  body .tab-title > [class*="text-block"] {
    font-size: 16px;
  }
  body .cookie-notice {
    left: 16px;
    bottom: 16px;
    max-width: calc(100vw - 32px);
    padding: 20px;
  }
  .portal-grid {
    grid-template-columns: 1fr;
  }
  .services-portal {
    padding: 64px 24px;
  }
    body .logo-box {
    min-width: 180px;
    padding: 0 42px;
  }
  body .portrait-gallery .background {
    background-position: 50% 28% !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body .looping-wrapper {
    animation: none;
  }
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
body .logo-box {
  width: 240px;
  max-width: 240px;
  min-width: 240px;
  box-sizing: border-box;
}
body .logo-box img {
  display: block;
  width: 100%;
  max-width: 130px;
  max-height: 65px;
  height: auto;
  object-fit: contain;
}
body .lottie-tab-icon {
  filter: none;
  opacity: 1;
  color: #172b3a;
}
body .tab-title {
  text-transform: none;
  letter-spacing: normal;
}
body .portrait-gallery .slider-background.team-one {
  background-position: 76% 27% !important;
}
body .portrait-gallery .slider-background.team-two {
  background-position: 27% 25% !important;
}
body .portrait-gallery .slider-background.team-three {
  background-position: 67% 25% !important;
}
body .lightbox-link {
  background-position: 23% 22%;
}
@media (max-width: 600px) {
  body .logo-box {
    width: 180px;
    max-width: 180px;
    min-width: 180px;
  }
}
body .logo-wrapper:hover .looping-wrapper {
  animation-play-state: paused;
}
@media (max-width: 600px) {
  body .portrait-gallery .slider-background.team-one {
    background-position: 100% 27% !important;
  }
  body .portrait-gallery .slider-background.team-two {
    background-position: 0% 25% !important;
  }
  body .portrait-gallery .slider-background.team-three {
    background-position: 90% 25% !important;
  }
  body .lightbox-link {
    background-position: 0% 22%;
  }
}

/* Keep footer arrows in the layout so hover-out can finish without snapping. */
body .footer-list-item .project-arrow-2 {
  display: block !important;
  opacity: 0;
  transform: translate3d(-18px, 0, 0);
  transition: opacity .35s ease, transform .55s cubic-bezier(.22,1,.36,1);
}
body .footer-list-item .underline-hover-fill {
  display: block !important;
  transform: translateX(-101%);
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}
body .footer-list-item:is(:hover,:focus-visible) .project-arrow-2 {
  opacity: 1;
  transform: translate3d(0,0,0);
}
body .footer-list-item:is(:hover,:focus-visible) .underline-hover-fill { transform: translateX(0); }
body .call-to-action-section .former-h1 {
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.3;
}
@media (prefers-reduced-motion: reduce) {
  body .footer-list-item .project-arrow-2,
  body .footer-list-item .underline-hover-fill { transition: none; }
}
