:root {
  --motion-ease-out: cubic-bezier(0.16, 0.84, 0.22, 1);
  --motion-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --motion-route-duration: 620ms;
  --motion-line-shift: clamp(1.25rem, 2vw, 2.1rem);
  --motion-image-shift: clamp(3.75rem, 7vw, 6.25rem);
  --motion-group-shift: clamp(0.65rem, 1.4vw, 1.15rem);
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.bc-page-transition {
  position: fixed;
  inset: 0;
  z-index: 1200;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.bc-page-transition.is-active {
  visibility: visible;
  pointer-events: auto;
}

.bc-page-transition-surface {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f5efe5;
  opacity: 0;
  will-change: opacity;
}

.bc-transition-smoke {
  position: absolute;
  width: min(92vw, 78rem);
  aspect-ratio: 1.9;
  border-radius: 50%;
  opacity: 0;
  filter: blur(34px);
  transform: scale(.72);
  background:
    radial-gradient(circle at 32% 48%, rgba(30, 49, 76, .19), transparent 31%),
    radial-gradient(circle at 61% 40%, rgba(197, 154, 75, .13), transparent 27%),
    radial-gradient(circle at 51% 62%, rgba(86, 104, 130, .16), transparent 36%);
  will-change: transform, opacity;
}

.bc-transition-smoke.is-secondary {
  transform: translate3d(10%, 3%, 0) scale(.62);
  filter: blur(52px);
  opacity: 0;
}

.bc-transition-wordmark {
  position: relative;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  color: #142237;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(2.1rem, 6.2vw, 6.4rem);
  font-weight: 400;
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: scale(.985);
  will-change: opacity, transform;
}

.bc-transition-wordmark-sharp,
.bc-transition-wordmark-soft {
  grid-area: 1 / 1;
  display: block;
  white-space: inherit;
}

.bc-transition-wordmark-sharp {
  opacity: 1;
}

.bc-transition-wordmark-soft {
  opacity: 0;
  filter: blur(13px);
  transform: none;
  will-change: opacity;
}

.bc-page-transition.is-initial {
  visibility: visible;
  pointer-events: auto;
}

.bc-page-transition.is-initial .bc-page-transition-surface {
  opacity: 1;
}

[data-bc-route-view] {
  min-height: 100vh;
}

.motion-block-reveal {
  --motion-block-tail: .2;
  overflow: visible !important;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 22%,
    rgba(0, 0, 0, var(--motion-block-tail)) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 22%,
    rgba(0, 0, 0, var(--motion-block-tail)) 100%
  );
}

.motion-texture-text {
  overflow: visible !important;
  transform-origin: 50% 100%;
  backface-visibility: hidden;
}

.motion-texture-text.motion-texture-fallback.is-texture-animating {
  will-change: transform, opacity;
}

.motion-measure-word {
  display: inline;
}

.motion-line-segment {
  display: inline-block;
  vertical-align: baseline;
}

.motion-texture-text.is-texture-animating .motion-line-segment {
  will-change: transform, opacity;
}

.motion-narrative-word {
  display: inline;
  color: rgba(19, 32, 51, .18);
}

.motion-bold-word {
  --motion-bold-stroke: 0px;
  display: inline;
  font-weight: 400;
  color: currentColor;
  -webkit-text-stroke: var(--motion-bold-stroke) currentColor;
  paint-order: stroke fill;
}

.motion-bold-block {
  font-weight: 400 !important;
}

/* Shared BC hero experience */
.bc-hero-scene {
  position: relative;
  z-index: 2;
  height: 182svh;
  background: #101927;
}

.bc-hero-scene > [data-bc-hero] {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh !important;
  min-height: 100svh !important;
  overflow: hidden;
  isolation: isolate;
}

.main-stage > .bc-hero-scene + * {
  position: relative;
  z-index: 8;
  margin-top: -12svh !important;
}

[data-bc-hero] {
  --bc-mask-opacity: .93;
  --bc-media-scale: 1.2;
  --bc-copy-y: 0px;
  --bc-copy-opacity: 1;
  --bc-mark-font-size: min(38vw, 52vh);
  background: #101927;
}

[data-bc-hero] .hero-media {
  transform: scale(var(--bc-media-scale)) !important;
  transform-origin: 50% 50%;
  filter: brightness(.92) contrast(1.04) !important;
  transition: none !important;
  will-change: transform;
}

[data-bc-hero] .hero-surface {
  display: none;
}

[data-bc-hero] .hero-grid {
  z-index: 3;
  transform: translate3d(0, var(--bc-copy-y), 0) !important;
  opacity: var(--bc-copy-opacity) !important;
  transition: none !important;
  will-change: transform, opacity;
}

@supports (animation-timeline: scroll(root)) {
  [data-bc-hero] .hero-media,
  [data-bc-hero] .hero-grid {
    animation: none !important;
  }
}

.bc-hero-mark {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 1;
  overflow: hidden;
}

.bc-hero-mark-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.bc-hero-mask-glyph,
.bc-hero-outline,
.bc-hero-outline-light {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: var(--bc-mark-font-size);
  font-weight: 400;
  letter-spacing: -.075em;
}

.bc-hero-navy-mask {
  fill: #101927;
  opacity: var(--bc-mask-opacity);
  will-change: opacity;
}

.bc-hero-outline,
.bc-hero-outline-light {
  fill: transparent;
  paint-order: stroke fill;
  vector-effect: non-scaling-stroke;
}

.bc-hero-outline {
  stroke: rgba(255, 250, 242, .26);
  stroke-width: 1.25;
}

.bc-hero-outline-light {
  stroke: url(#bc-hero-edge-light);
  stroke-width: 2;
  opacity: .95;
  filter: drop-shadow(0 0 8px rgba(197, 154, 75, .32));
}

[data-bc-hero].is-entrance-pending .hero-copy > *,
[data-bc-hero].is-entrance-pending .hero-grid > .hero-actions,
[data-bc-hero].is-entrance-pending .hero-grid > .hero-trust {
  opacity: 0;
  transform: translate3d(0, 1.25rem, 0);
}

.bc-hero-word {
  display: inline-block;
  white-space: pre;
  will-change: transform, opacity;
}

.site-header.is-bc-hero-transparent {
  position: absolute;
  backdrop-filter: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.site-header.is-bc-hero-transparent::after {
  opacity: 0;
}

.site-header.is-bc-page-sticky {
  position: fixed;
}

/* Homepage-only intro, deliberately separate from route transitions. */
.home-intro {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #142237;
  pointer-events: auto;
}

.home-intro-panel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #f5efe5;
}

.home-intro-smoke {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92vw, 78rem);
  aspect-ratio: 1.9;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 48%, rgba(30, 49, 76, .19), transparent 31%),
    radial-gradient(circle at 61% 40%, rgba(197, 154, 75, .13), transparent 27%),
    radial-gradient(circle at 51% 62%, rgba(86, 104, 130, .16), transparent 36%);
  filter: blur(34px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.72);
}

.home-intro-smoke.is-secondary {
  filter: blur(52px);
  transform: translate(-42%, -47%) scale(.62);
}

.home-intro-lockup {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.home-intro-wordmark {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  color: #142237;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(2.1rem, 6.2vw, 6.4rem);
  font-weight: 400;
  letter-spacing: .055em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: scale(.975);
  will-change: transform, opacity;
}

.home-intro-letter {
  display: inline-block;
  overflow: hidden;
  flex: 0 0 auto;
  white-space: pre;
  transform-origin: 50% 50%;
  will-change: width, transform, opacity;
}

.home-intro-letter.is-bc-letter {
  overflow: visible;
}

body.home-intro-active {
  overflow: clip;
}

@media (max-width: 680px), (hover: none), (pointer: coarse) {
  .bc-hero-scene {
    height: 160svh;
  }

  .main-stage > .bc-hero-scene + * {
    margin-top: -10svh !important;
  }

  [data-bc-hero] {
    --bc-mark-font-size: min(66vw, 38vh);
  }

  .bc-hero-outline-light {
    opacity: .52;
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bc-hero-scene {
    height: 100svh;
  }

  .main-stage > .bc-hero-scene + * {
    margin-top: 0 !important;
  }

  [data-bc-hero] {
    --bc-media-scale: 1;
    --bc-mask-opacity: .72;
  }

  [data-bc-hero].is-entrance-pending .hero-copy > *,
  [data-bc-hero].is-entrance-pending .hero-grid > .hero-actions,
  [data-bc-hero].is-entrance-pending .hero-grid > .hero-trust {
    opacity: 1;
    transform: none;
  }

  .home-intro {
    display: none;
  }
}

.motion-image-shell {
  position: relative;
  display: block;
  width: 100%;
  overflow: visible;
  background: transparent;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.motion-image-float,
.motion-image-plane {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.motion-image-float {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
}

.motion-image-frame {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: clip;
  border-radius: inherit;
  background: rgba(19, 32, 51, 0.055);
  isolation: isolate;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 1900ms cubic-bezier(0.16, 0.84, 0.22, 1);
}

.motion-image-frame > img,
.motion-image-frame > video,
.motion-image-frame > picture,
.motion-image-frame > picture > img,
.motion-image-content,
.motion-image-content > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.motion-image-pair {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  transform-origin: 50% 50%;
}

.motion-image-pair > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.motion-image-organic-layer {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  contain: strict;
}

.motion-image-shell.is-motion-near,
.motion-image-shell.is-motion-near .motion-image-float,
.motion-image-shell.is-motion-near .motion-image-plane,
.motion-image-shell.is-motion-near .motion-image-frame,
.motion-image-shell.is-motion-near .motion-image-pair,
.motion-image-shell.is-motion-near .motion-image-frame > img,
.motion-image-shell.is-motion-near .motion-image-frame > video,
.motion-image-shell.is-motion-near .motion-image-frame > picture,
.motion-image-shell.is-motion-near .motion-image-frame > picture > img,
.motion-image-shell.is-motion-near .motion-image-content,
.motion-image-shell.is-motion-near .motion-image-content > img {
  will-change: transform;
}

.motion-image-caption {
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  display: block;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-200vw, -200vh, 0);
  transition: opacity 360ms cubic-bezier(0.16, 0.84, 0.22, 1);
  transition-delay: 0ms;
  will-change: transform, opacity;
}

.motion-image-caption.is-visible {
  opacity: 1;
  transition-duration: 680ms;
  transition-delay: 180ms;
}

.motion-button-hint {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  pointer-events: none;
  white-space: nowrap;
  color: #fff;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(.62rem, .75vw, .72rem);
  font-weight: 300;
  letter-spacing: .045em;
  line-height: 1;
  opacity: 0;
  mix-blend-mode: difference;
  transform: translate3d(-200vw, -200vh, 0);
  transition: opacity 420ms cubic-bezier(0.16, 0.84, 0.22, 1);
  will-change: transform, opacity;
}

.motion-button-hint.is-visible {
  opacity: .96;
}

[data-hover-hint] {
  position: relative;
  isolation: isolate;
}

[data-hover-hint]::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  box-shadow: inset 0 0 2rem rgba(6, 14, 28, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: opacity 860ms cubic-bezier(0.16, 0.84, 0.22, 1);
}

[data-hover-hint]:hover::after,
[data-hover-hint]:focus-within::after {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .motion-image-shell:hover .motion-image-frame {
    transform: scale(1.032);
    transition-duration: 1450ms;
    will-change: transform;
  }
}

@media (hover: none), (pointer: coarse) {
  .motion-button-hint {
    display: none;
  }
}

.bc-route-pending [data-bc-route-view] {
  pointer-events: none;
}

.bc-motion-ready .lab-highlight,
.bc-motion-ready .blog-mark {
  background-size: 0 0.5em;
}

.bc-motion-ready .lab-animated-bold,
.bc-motion-ready .blog-strong {
  text-shadow: none;
}

@media (max-width: 760px) {
  :root {
    --motion-line-shift: 1.25rem;
    --motion-image-shift: 3.25rem;
  }

  .motion-image-shell {
    min-height: 0 !important;
  }

  .bc-hero-word {
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
    hyphens: auto;
  }

  .motion-narrative-block,
  .motion-texture-heading,
  .motion-line-segment {
    min-width: 0;
    max-width: 100%;
  }

  .motion-narrative-word,
  .motion-texture-heading {
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bc-page-transition-surface,
  [data-bc-route-view],
  .motion-block-reveal,
  .motion-texture-text,
  .motion-line-segment,
  .motion-bold-word,
  .motion-narrative-word,
  .motion-image-shell,
  .motion-image-float,
  .motion-image-plane,
  .motion-image-frame,
  .motion-image-pair,
  .motion-image-frame > img,
  .motion-image-frame > video,
  .motion-image-organic-layer,
  .motion-image-caption,
  .motion-group-item {
    transform: none !important;
    opacity: 1 !important;
    clip-path: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .motion-image-organic-layer {
    display: none !important;
  }

  .bc-transition-wordmark {
    opacity: 1 !important;
    transform: none !important;
  }

  .bc-transition-wordmark-sharp,
  .bc-transition-wordmark-soft {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .motion-bold-word {
    -webkit-text-stroke-width: .42px !important;
  }

  .motion-narrative-word {
    color: inherit !important;
  }

  .bc-motion-ready .lab-highlight,
  .bc-motion-ready .blog-mark {
    background-size: 100% 0.5em;
  }
}
