/* Site-wide custom code (was Webflow head code + registered scripts) */

@font-face {
  font-family: Jost;
  src: url('/fonts/Jost-Variable-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Mobile footer links: tidy 2-column grid */
@media screen and (max-width: 767px) {
  .footer_legal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 1.5rem;
    grid-row-gap: 1rem;
    justify-items: start;
    align-items: start;
    width: 100%;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
body {
  background: #f8f5f0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
:focus-visible {
  outline: 2px solid #c5a46d;
  outline-offset: 3px;
}
.nav_menu.is-open {
  display: flex;
}
.nav_brand {
  text-decoration: none;
}
.button.is-large:not(.is-secondary):not(input)::after {
  content: '\2192';
  margin-left: 0.5rem;
  transition: transform 0.25s;
}
.button.is-large:not(.is-secondary):hover::after {
  transform: translateX(3px);
}
.check-list_icon {
  position: relative;
}
.check-list_icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 46%;
  width: 0.3rem;
  height: 0.55rem;
  border: solid #c5a46d;
  border-width: 0 1.5px 1.5px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}
.home-service_image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card_list {
  list-style: none;
  padding-left: 0;
}
.service-card_list-item {
  position: relative;
  padding-left: 1.5rem;
}
.service-card_list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 0.75rem;
  height: 1px;
  background: #c5a46d;
}
.process-tabs_link {
  cursor: pointer;
}
.process-tabs_link.is-active,
.process-tabs_link.is-active:hover {
  background: #14213d;
  color: #f8f5f0;
}
.process-tabs_pane.is-active {
  opacity: 1;
  visibility: visible;
}
.process-tabs_image {
  transform: scale(1.04);
  transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.process-tabs_pane.is-active .process-tabs_image {
  transform: none;
}
.blog-card_component {
  transition:
    background-color 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.blog-card_component:hover {
  background-color: #1d2f55f2;
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem -1rem #0000008c;
}
.blog-card_component:hover .blog-card_arrow {
  background: #c5a46d;
  border-color: #c5a46d;
  color: #14213d;
}
.blog-card_arrow {
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.w-dyn-item {
  height: 100%;
}
.contact_component::before {
  content: '';
  position: absolute;
  left: -3rem;
  bottom: -5rem;
  width: 22rem;
  aspect-ratio: 4/5;
  background: url('/images/vq-mark-navy.svg') center/contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
}
select.form_input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2314213d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 1rem center/1rem;
}
input.button {
  cursor: pointer;
  justify-self: start;
}
input.button:hover {
  background: #14213d;
  border-color: #14213d;
  color: #f8f5f0;
}
.contact_component .button:hover {
  background: #14213d;
  border-color: #14213d;
  color: #f8f5f0;
}
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  visibility: hidden;
  transition: visibility 0s linear 0.45s;
}
.modal.is-open {
  visibility: visible;
  transition-delay: 0s;
}
.modal_backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 24, 44, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.4s;
}
.modal.is-open .modal_backdrop {
  opacity: 1;
}
.modal_dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  width: min(100%, 60rem);
  max-height: calc(100dvh - 3rem);
  border-radius: 1rem;
  background: #f8f5f0;
  color: #14213d;
  box-shadow: 0 2.5rem 6rem rgba(8, 14, 28, 0.55);
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition:
    opacity 0.35s,
    transform 0.5s cubic-bezier(0.2, 0.9, 0.25, 1);
}
.modal.is-open .modal_dialog {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}
.modal_side {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  background: #14213d;
  color: #f8f5f0;
  overflow: hidden;
}
.modal_side::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, #c5a46d, transparent 70%);
}
.modal_side::after {
  content: '';
  position: absolute;
  right: -4.5rem;
  bottom: -5.5rem;
  width: 17rem;
  aspect-ratio: 4/5;
  background: url('/images/vq-mark-light.svg') center/contain no-repeat;
  opacity: 0.06;
}
.modal_mark {
  height: 2.75rem;
  width: auto;
  align-self: flex-start;
  margin-bottom: 2.5rem;
}
.modal_title {
  margin: 1rem 0 0;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  line-height: 1.2;
  font-weight: 500;
}
.modal_lead {
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  color: rgba(248, 245, 240, 0.72);
}
.modal_checks {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  margin: auto 0 0;
  padding: 2.5rem 0 0;
  list-style: none;
  font-size: 1rem;
}
.modal_checks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.modal_main {
  padding: 3.75rem 2.5rem 2.5rem;
  overflow-y: auto;
}
.modal_close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(20, 33, 61, 0.16);
  border-radius: 50%;
  background: #f8f5f0;
  color: #14213d;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.25s,
    color 0.25s,
    transform 0.4s;
}
.modal_close:hover {
  background: #14213d;
  color: #f8f5f0;
  transform: rotate(90deg);
}
.modal .form_field-wrapper {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.45s,
    transform 0.45s;
}
.modal.is-open .form_field-wrapper {
  opacity: 1;
  transform: none;
}
.modal.is-open .form_field-wrapper:nth-child(1) {
  transition-delay: 0.16s;
}
.modal.is-open .form_field-wrapper:nth-child(2) {
  transition-delay: 0.2s;
}
.modal.is-open .form_field-wrapper:nth-child(3) {
  transition-delay: 0.24s;
}
.modal.is-open .form_field-wrapper:nth-child(4) {
  transition-delay: 0.28s;
}
.modal.is-open .form_field-wrapper:nth-child(5) {
  transition-delay: 0.32s;
}
.modal.is-open .form_field-wrapper:nth-child(6) {
  transition-delay: 0.38s;
}
.modal-open,
.modal-open body {
  overflow: hidden;
}
@media (max-width: 760px) {
  .modal {
    padding: 0;
    place-items: end stretch;
  }
  .modal_dialog {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 94dvh;
    border-radius: 1rem 1rem 0 0;
    overflow-y: auto;
    transform: translateY(100%);
  }
  .modal_side {
    padding: 1.5rem 1.25rem;
  }
  .modal_mark,
  .modal_checks,
  .modal_side::after {
    display: none;
  }
  .modal_title {
    margin-top: 0.75rem;
  }
  .modal_main {
    padding: 1.25rem 1.25rem 1.75rem;
    overflow: visible;
  }
  .modal_close {
    background: transparent;
    border-color: rgba(248, 245, 240, 0.18);
    color: #f8f5f0;
  }
}
.preloader {
  display: none;
}
.intro body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 99;
  background: #14213d;
  animation: pl-lift 0.9s cubic-bezier(0.76, 0, 0.24, 1) 2.15s forwards;
}
.intro .preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.preloader_inner {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  animation: pl-out 0.45s ease 1.95s forwards;
}
.preloader_mark {
  width: 4.5rem;
  height: auto;
  overflow: visible;
}
.pl-v {
  clip-path: inset(0 0 100% 0);
  animation: pl-wipe 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.15s forwards;
}
.pl-ring {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(-24deg) scale(0.94);
  animation: pl-in 0.9s ease 0.45s forwards;
}
.pl-tail {
  opacity: 0;
  transform: translate(-70px, -150px);
  animation: pl-in 0.55s ease 1.05s forwards;
}
.preloader_type {
  height: 0.8125rem;
  width: auto;
  opacity: 0;
  animation: pl-fade 0.6s ease 1.15s forwards;
}
.preloader_line {
  width: 7rem;
  height: 1px;
  background: #c5a46d;
  transform: scaleX(0);
  transform-origin: left;
  animation: pl-line 0.9s cubic-bezier(0.65, 0, 0.35, 1) 1.1s forwards;
}
@keyframes pl-wipe {
  to {
    clip-path: inset(0);
  }
}
@keyframes pl-in {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pl-fade {
  to {
    opacity: 1;
  }
}
@keyframes pl-line {
  to {
    transform: scaleX(1);
  }
}
@keyframes pl-out {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}
@keyframes pl-lift {
  to {
    transform: translateY(-100%);
    visibility: hidden;
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: none;
  }
}
.intro .home-hero_image {
  animation: hero-zoom 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) 1.9s both;
}
.intro .nav_container,
.intro .home-hero_content > *,
.intro .home-hero_bottom {
  animation: fade-up 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.intro .nav_container {
  animation-delay: 2.45s;
}
.intro .home-hero_content > :nth-child(1) {
  animation-delay: 2.5s;
}
.intro .home-hero_content > :nth-child(2) {
  animation-delay: 2.6s;
}
.intro .home-hero_content > :nth-child(3) {
  animation-delay: 2.72s;
}
.intro .home-hero_content > :nth-child(4) {
  animation-delay: 2.84s;
}
.intro .home-hero_bottom {
  animation-delay: 3s;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .modal_dialog,
  .modal_backdrop,
  .modal .form_field-wrapper,
  .process-tabs_pane,
  .process-tabs_image {
    transition: none;
  }
}

/* Base styles */
body {
  font-family: Jost, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  color: #14213d;
}
.blog-article_rich h2 {
  margin: 2.5rem 0 0;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 1.2;
  font-weight: 500;
  color: #f8f5f0;
}
.blog-article_rich h3 {
  margin: 1.75rem 0 0;
  font-size: 1.3125rem;
  line-height: 1.3;
  font-weight: 500;
  color: #f8f5f0;
}
.blog-article_rich p {
  margin: 1rem 0 0;
}
.blog-article_rich > :first-child {
  margin-top: 0;
}
.blog-article_rich ul {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.blog-article_rich li {
  position: relative;
  padding-left: 1.5rem;
}
.blog-article_rich li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 0.75rem;
  height: 1px;
  background: #c5a46d;
}
.blog-hero_card .button:hover,
.service-overview_card .button:hover,
.process-tabs_panel .button:hover {
  background: #f8f5f0;
  border-color: #f8f5f0;
}
.section_service-hero .button:hover,
.legal_content .button:hover {
  background: #14213d;
  border-color: #14213d;
  color: #f8f5f0;
}

/* Legal pages: lists and date line */
.legal_updated {
  margin-top: 0;
  font-size: 0.95rem;
}
.legal_list {
  color: var(--text--on-light-muted);
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  list-style: disc;
}
.legal_list li {
  margin-top: 0.4rem;
  padding-left: 0.25rem;
}
.legal_list li::marker {
  color: var(--brand--camel);
}
.legal_content .legal_text a {
  color: inherit;
}

/* FAQ (pricing page) */
.faq_question::-webkit-details-marker {
  display: none;
}
.faq_question::marker {
  content: '';
}
.faq_item[open] .faq_icon {
  transform: rotate(45deg);
  background: #14213d;
  border-color: #14213d;
  color: #f8f5f0;
}
/* The "+" glyph sits off-centre in Jost, so the plus is drawn with two bars instead */
.faq_icon {
  position: relative;
  font-size: 0;
}
.faq_icon::before,
.faq_icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.75rem;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq_icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq_question:hover .faq_question-text {
  color: #4d5f85;
}
.pricing-faq_intro .heading-style-h2 {
  margin-top: 1.5rem;
}

/* Language switch */
.lang_switch {
  display: flex;
  gap: 0.125rem;
  flex: none;
  margin-right: -1.5rem;
  padding: 0.2rem;
  border: 1px solid rgba(248, 245, 240, 0.18);
  border-radius: 100vw;
}
.lang_btn {
  padding: 0.3rem 0.6rem;
  border: 0;
  border-radius: 100vw;
  background: none;
  color: #f8f5f0;
  font: 500 0.8125rem/1 Jost, sans-serif;
  letter-spacing: 0.08em;
  cursor: pointer;
  opacity: 0.7;
}
.lang_btn.is-active {
  background: #c5a46d;
  color: #14213d;
  opacity: 1;
}
.skiptranslate iframe,
#goog-gt-tt {
  display: none !important;
}
body {
  top: 0 !important;
}
@media (max-width: 991px) {
  .lang_switch {
    margin: 0 0 0 auto;
  }
  .nav_menu-button {
    margin-left: 0.75rem !important;
  }
}

/* Contact form honeypot */
.form_hp {
  display: none;
}

/* Phones: short opener, hero content painted immediately for a faster LCP */
@media (max-width: 767px) {
  .intro body::before { animation-duration: 0.45s; animation-delay: 0.8s; }
  .intro .preloader_inner { animation-duration: 0.2s; animation-delay: 0.7s; }
  .intro .pl-v { animation-duration: 0.4s; animation-delay: 0s; }
  .intro .pl-ring { animation-duration: 0.4s; animation-delay: 0.1s; }
  .intro .pl-tail { animation-duration: 0.3s; animation-delay: 0.3s; }
  .intro .preloader_type { animation-duration: 0.3s; animation-delay: 0.3s; }
  .intro .preloader_line { animation-duration: 0.4s; animation-delay: 0.25s; }
  .intro .home-hero_image { animation: none; }
  .intro .nav_container, .intro .home-hero_content > *, .intro .home-hero_bottom { animation: none; }
}

/* Home hero background (src/components/HeroBackdrop.astro, public/js/hero-fx.js)
   Visual weight sits centre-right; the left stays dark for the headline. Motion is transform/opacity only. */
.section_home-hero {
  background: radial-gradient(120% 90% at 78% 40%, #1b2c4d 0%, #14213d 45%, #0e182c 100%);
}
.home-hero_overlay {
  background:
    linear-gradient(90deg, rgba(14, 24, 44, 0.9) 0%, rgba(14, 24, 44, 0.62) 34%, rgba(14, 24, 44, 0) 64%),
    linear-gradient(0deg, rgba(14, 24, 44, 0.75) 0%, rgba(14, 24, 44, 0) 32%);
}
.hero-fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}
.hero-fx_layer {
  position: absolute;
  inset: -3%;
  transform: translate3d(
    calc(var(--px, 0) * var(--d) * -26px),
    calc(var(--py, 0) * var(--d) * -18px + var(--sy, 0) * var(--d) * 0.14px),
    0
  );
  will-change: transform;
}
.hero-fx_glow {
  position: absolute;
  border-radius: 50%;
  will-change: transform, opacity;
}
.hero-fx_glow.is-gold {
  left: 46%;
  top: 4%;
  width: 62vmax;
  height: 62vmax;
  background: radial-gradient(closest-side, rgba(197, 164, 109, 0.2), rgba(197, 164, 109, 0.06) 55%, rgba(197, 164, 109, 0) 100%);
  animation: hfx-drift-a 38s ease-in-out infinite alternate;
}
.hero-fx_glow.is-blue {
  left: 62%;
  top: 38%;
  width: 70vmax;
  height: 70vmax;
  background: radial-gradient(closest-side, rgba(77, 95, 133, 0.42), rgba(77, 95, 133, 0) 100%);
  animation: hfx-drift-b 46s ease-in-out infinite alternate;
}
.hero-fx_grid,
.hero-fx_flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-fx_grid path {
  fill: none;
  stroke: #f8f5f0;
  stroke-opacity: 0.07;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.hero-fx_grid {
  -webkit-mask-image: linear-gradient(90deg, transparent 22%, #000 70%), linear-gradient(180deg, transparent 56%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 22%, #000 70%), linear-gradient(180deg, transparent 56%, #000 100%);
  mask-composite: intersect;
}
.hero-fx_flow-lines {
  animation: hfx-flow 30s ease-in-out infinite alternate;
}
.hero-fx_flow path {
  fill: none;
  stroke: url(#hero-fx-flow);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.hero-fx_flow .hero-fx_pulse {
  stroke: #d8bd8f;
  stroke-opacity: 0.7;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 90 2600;
  stroke-dashoffset: 2690;
  animation: hfx-pulse 16s linear infinite;
}
.hero-fx_flow .hero-fx_pulse.is-late {
  animation-delay: -8s;
  animation-duration: 21s;
}
.hero-fx_orbit {
  position: absolute;
  left: 69%;
  top: 49%;
  width: min(56vh, 40vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  perspective: 1400px;
}
.hero-fx_core {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 189, 143, 0.18) 0%, rgba(197, 164, 109, 0.06) 40%, rgba(197, 164, 109, 0) 70%);
  animation: hfx-breathe 14s ease-in-out infinite;
}
.hero-fx_gyro {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: hfx-gyro 120s linear infinite;
}
.hero-fx_ring {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: var(--t);
}
.hero-fx_ring i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(248, 245, 240, 0.15);
  background: conic-gradient(from 0deg, rgba(216, 189, 143, 0) 0deg, rgba(216, 189, 143, 0.9) 24deg, rgba(216, 189, 143, 0) 70deg, rgba(216, 189, 143, 0) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  animation: hfx-spin var(--dur, 40s) linear infinite;
}
.hero-fx_ring:nth-child(even) i {
  animation-direction: reverse;
}
.hero-fx_ring.is-parallel i {
  border-color: rgba(197, 164, 109, 0.22);
  background: none;
}
.hero-fx_ring.is-equator i {
  border-color: rgba(197, 164, 109, 0.32);
  background: conic-gradient(from 0deg, rgba(248, 245, 240, 0) 0deg, rgba(248, 245, 240, 0.7) 30deg, rgba(248, 245, 240, 0) 90deg, rgba(248, 245, 240, 0) 360deg);
}
.hero-fx.is-paused *,
.hero-fx.is-paused {
  animation-play-state: paused !important;
}
.intro .hero-fx {
  animation: hero-zoom 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) 1.9s both;
}
@keyframes hfx-drift-a {
  to {
    transform: translate3d(-6vmax, 4vmax, 0) scale(1.08);
  }
}
@keyframes hfx-drift-b {
  to {
    transform: translate3d(-8vmax, -5vmax, 0);
    opacity: 0.7;
  }
}
@keyframes hfx-flow {
  to {
    transform: translate3d(-30px, -22px, 0);
  }
}
@keyframes hfx-pulse {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes hfx-breathe {
  50% {
    transform: scale(1.035);
  }
}
@keyframes hfx-gyro {
  from {
    transform: rotateZ(-14deg) rotateX(-18deg) rotateY(0deg);
  }
  to {
    transform: rotateZ(-14deg) rotateX(-18deg) rotateY(360deg);
  }
}
@keyframes hfx-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 991px) {
  .hero-fx_orbit {
    left: 74%;
    top: 34%;
    width: min(58vh, 70vw);
    opacity: 0.75;
  }
}
@media (max-width: 767px) {
  .home-hero_overlay {
    background:
      linear-gradient(90deg, rgba(14, 24, 44, 0.86) 0%, rgba(14, 24, 44, 0.5) 100%),
      linear-gradient(0deg, rgba(14, 24, 44, 0.8) 0%, rgba(14, 24, 44, 0) 40%);
  }
  .hero-fx_orbit {
    left: 82%;
    top: 22%;
    width: 86vw;
    opacity: 0.6;
  }
  .hero-fx_glow.is-gold {
    left: 30%;
    top: -10%;
  }
  .hero-fx_flow .hero-fx_pulse,
  .hero-fx_grid {
    display: none;
  }
  .intro .hero-fx {
    animation: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-fx,
  .hero-fx * {
    animation: none !important;
  }
  .hero-fx_layer {
    transform: none;
  }
}

/* Portfolio (src/components/PortfolioFeature.astro, src/pages/portfolio) */
.portfolio-list {
  display: grid;
  gap: 4.5rem;
}
.portfolio-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}
.portfolio-feature_media {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 1rem;
  overflow: hidden;
  background: #14213d;
  box-shadow: 0 1.5rem 3.5rem rgba(20, 33, 61, 0.18);
}
.portfolio-feature_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.portfolio-feature_media:hover .portfolio-feature_image {
  transform: scale(1.03);
}
.portfolio-feature_heading {
  margin: 1rem 0 0;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #14213d;
}
.portfolio-feature_text {
  margin: 1.25rem 0 0;
  color: #4d5f85;
}
.portfolio-feature .project-metrics {
  margin-top: 1.75rem;
}
.portfolio-feature .button-group {
  margin-top: 2rem;
}
.button.is-secondary.is-on-light {
  border-color: rgba(20, 33, 61, 0.16);
  background-color: transparent;
  color: #14213d;
}
.button.is-secondary.is-on-light:hover {
  border-color: #14213d;
  background-color: #14213d;
  color: #f8f5f0;
}
.portfolio-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 2.5rem;
  border: 1px dashed rgba(20, 33, 61, 0.24);
  border-radius: 1rem;
}
.project-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(20, 33, 61, 0.16);
}
.project-metric_value {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
  color: #14213d;
}
.project-metric_label {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.35;
  color: #4d5f85;
}
.project-back {
  margin: 0 0 1.5rem;
}
.project-stack {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(248, 245, 240, 0.18);
}
.project-stack_label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}
.project-stack_list {
  margin-top: 0.5rem;
}

/* Partnership (src/pages/partnership.astro, src/components/PartnerBand.astro) */
.partner-heading {
  max-width: 20em;
  margin-top: 1.5rem;
}
.partner-proof {
  margin-top: 2.5rem;
}
.partner-bridge {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.partner-bridge::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #c5a46d;
}
.partner-bridge_node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.25rem;
  border: 1px solid rgba(20, 33, 61, 0.16);
  border-radius: 1rem;
  background: #f8f5f0;
}
.partner-bridge_node.is-highlight {
  border-color: #14213d;
  background: #14213d;
  color: #f8f5f0;
}
.partner-bridge_label {
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4d5f85;
}
.partner-bridge_node.is-highlight .partner-bridge_label {
  color: #d8bd8f;
}
.partner-bridge_text {
  margin: 1rem 0 0;
  color: #4d5f85;
}
.partner-bridge_node.is-highlight .partner-bridge_text {
  color: rgba(248, 245, 240, 0.78);
}
.partner-bridge_node .services-list_link {
  margin-top: 1.25rem;
}
.partner-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  margin-top: 2.5rem;
}
.partner-step {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(20, 33, 61, 0.16);
}
.partner-step .pricing-plan_item-title {
  margin-top: 0.75rem;
}
.partner-note {
  margin: 2.5rem 0 0;
  font-size: 1rem;
  color: #4d5f85;
}
.partner-band_logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.partner-band_logo {
  height: 0.875rem;
  width: auto;
}
.partner-band_logo.is-studio {
  height: 1.75rem;
}
.partner-band_plus {
  width: 1px;
  height: 1.5rem;
  background: #c5a46d;
}
.modal_link {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: 1rem;
  color: #d8bd8f;
}
@media (max-width: 991px) {
  .portfolio-feature {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .portfolio-next {
    flex-direction: column;
    align-items: flex-start;
  }
  .partner-bridge {
    grid-template-columns: 1fr;
  }
  .partner-bridge::before {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }
  .partner-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 479px) {
  .partner-steps {
    grid-template-columns: 1fr;
  }
  .portfolio-next,
  .partner-bridge_node {
    padding: 1.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-feature_image {
    transition: none;
  }
}

/* Cookie and analytics choice (CookieBanner.astro): under the contact modal and the home intro */
.consent {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 80;
  width: min(28rem, calc(100vw - 3rem));
  padding: 0.875rem 1.375rem 1.25rem;
  border: 1px solid rgba(248, 245, 240, 0.16);
  border-radius: 0.5rem;
  background: var(--brand--navy-1000);
  color: var(--brand--ivory);
  font-family: var(--typography--font-primary);
  box-shadow: 0 24px 70px rgba(14, 24, 44, 0.45);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.35s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.consent[hidden] {
  display: none;
}
.consent.is-open {
  opacity: 1;
  transform: none;
}
.consent_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(248, 245, 240, 0.16);
}
.consent_policy {
  color: var(--text--on-dark-muted);
  font-size: 0.8125rem;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.3s;
}
.consent_policy:hover {
  color: var(--brand--camel);
}
.consent_head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.consent_head svg {
  flex: none;
}
.consent_title {
  margin: 0;
  color: var(--brand--ivory);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}
.consent_text {
  margin: 0.75rem 0 0;
  color: var(--text--on-dark-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.consent_actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.125rem;
}
.consent_button {
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 1px solid var(--brand--camel);
  border-radius: 0.25rem;
  background: transparent;
  color: var(--brand--ivory);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s;
}
.consent_button:hover {
  background: var(--brand--camel);
  color: var(--brand--navy-1000);
}
.consent_choose {
  min-height: 2.75rem;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text--on-dark-muted);
  font: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: color 0.3s;
}
.consent_choose:hover {
  color: var(--brand--camel);
}
.consent_rows {
  display: grid;
  gap: 0.875rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.consent_rows li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.125rem;
}
.consent_rows strong {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
}
.consent_rows small {
  display: block;
  margin-top: 0.1875rem;
  color: var(--text--on-dark-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}
.consent_sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.consent_switch {
  position: relative;
  flex: none;
  width: 40px;
  height: 24px;
  margin: 2px 0 0;
  cursor: pointer;
}
.consent_switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: inherit;
}
.consent_switch input:disabled {
  cursor: not-allowed;
}
.consent_switch i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(248, 245, 240, 0.35);
  border-radius: 999px;
  pointer-events: none;
  transition: background 0.3s;
}
.consent_switch i::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text--on-dark-muted);
  transition:
    transform 0.3s,
    background 0.3s;
}
.consent_switch input:checked + i {
  background: var(--brand--camel);
  border-color: var(--brand--camel);
}
.consent_switch input:checked + i::after {
  background: var(--brand--navy-1000);
  transform: translateX(16px);
}
.consent_switch input:disabled + i {
  opacity: 0.5;
}
.consent_switch input:focus-visible + i {
  outline: 1px solid var(--brand--ivory);
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .consent {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: auto;
    padding: 0.75rem 1rem 0.875rem;
  }
  .consent_title {
    font-size: 1.125rem;
  }
  .consent_text {
    font-size: 0.875rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .consent {
    transform: none;
    transition: none;
  }
}

/* QR card for the pitch deck (DeckQr.astro): bottom right, opposite the cookie card */
.deckqr {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 79;
  display: flex;
  align-items: center;
  gap: 1.125rem;
  width: min(25rem, calc(100vw - 3rem));
  padding: 1.125rem 2.25rem 1.125rem 1.125rem;
  border: 1px solid rgba(248, 245, 240, 0.16);
  border-radius: 0.5rem;
  background: var(--brand--navy-1000);
  color: var(--brand--ivory);
  font-family: var(--typography--font-primary);
  box-shadow: 0 24px 70px rgba(14, 24, 44, 0.45);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.35s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.deckqr[hidden] {
  display: none;
}
.deckqr.is-open {
  opacity: 1;
  transform: none;
}
.deckqr_code {
  flex: none;
  display: block;
  padding: 0.5rem;
  border-radius: 0.375rem;
  background: var(--brand--ivory);
}
.deckqr_code img {
  display: block;
  width: 7.5rem;
  height: 7.5rem;
}
.deckqr_text {
  display: grid;
  gap: 0.5rem;
}
.deckqr_title {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.25;
  font-weight: 500;
}
.deckqr_link {
  color: var(--brand--camel);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.deckqr_close {
  position: absolute;
  top: 0.375rem;
  right: 0.625rem;
  padding: 0.25rem;
  border: 0;
  background: none;
  color: var(--text--on-dark-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.deckqr_close:hover {
  color: var(--brand--ivory);
}
.deckqr_icon,
.deckqr_meta,
.deckqr_open,
.deckqr_title.is-touch {
  display: none;
}
/* Phones and tablets (DeckQr.astro adds .is-touch): a slim bar with an Open button instead of the QR */
.deckqr.is-touch {
  left: 0.75rem;
  right: 0.75rem;
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  width: auto;
  max-width: 28rem;
  margin: 0 auto;
  gap: 0.875rem;
  padding: 0.75rem 0.75rem 0.75rem 0.875rem;
  border-radius: 0.875rem;
  border-color: rgba(197, 164, 109, 0.35);
  box-shadow: 0 18px 50px rgba(8, 14, 28, 0.55);
}
.deckqr.is-touch .deckqr_code,
.deckqr.is-touch .deckqr_link,
.deckqr.is-touch .deckqr_title:not(.is-touch),
.deckqr.is-touch .eyebrow_component {
  display: none;
}
.deckqr.is-touch .deckqr_icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(197, 164, 109, 0.45);
  border-radius: 0.625rem;
  background: rgba(197, 164, 109, 0.1);
  color: var(--brand--camel);
}
.deckqr.is-touch .deckqr_text {
  flex: 1;
  min-width: 0;
  gap: 0.125rem;
}
.deckqr.is-touch .deckqr_title.is-touch {
  display: block;
  font-size: 1rem;
}
.deckqr.is-touch .deckqr_meta {
  display: block;
  font-size: 0.8125rem;
  color: var(--text--on-dark-muted);
}
.deckqr.is-touch .deckqr_open {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1.125rem;
  border-radius: 100vw;
  background: var(--brand--camel);
  color: var(--brand--navy-1000);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.deckqr.is-touch .deckqr_close {
  position: static;
  order: 3;
  flex: none;
  width: 2.25rem;
  height: 2.75rem;
  margin-left: -0.25rem;
  font-size: 1.5rem;
}
@media (prefers-reduced-motion: reduce) {
  .deckqr {
    transform: none;
    transition: none;
  }
}

/* Pitch deck QR in the closing band (CtaBand.astro with `deck`), on /partnership */
.cta-band_component.has-deck {
  align-items: center;
}
.cta-band_button {
  margin-top: 2rem;
}
.cta-band_deck {
  flex: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.75rem 1.25rem 1.25rem;
  border: 1px solid rgba(197, 164, 109, 0.3);
  border-radius: 0.75rem;
  background: rgba(248, 245, 240, 0.04);
}
.cta-band_qr {
  flex: none;
  display: block;
  padding: 0.625rem;
  border-radius: 0.5rem;
  background: var(--brand--ivory);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta-band_qr:hover {
  transform: scale(1.03);
}
.cta-band_qr img {
  display: block;
  width: 8.25rem;
  height: 8.25rem;
}
.cta-band_deck-text {
  display: grid;
  gap: 0.625rem;
  max-width: 12rem;
}
.cta-band_deck-title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 500;
}
.cta-band_deck-link {
  color: var(--brand--camel);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-band_deck-link:hover {
  color: var(--brand--ivory);
}
@media screen and (max-width: 991px) {
  .cta-band_component.has-deck {
    align-items: stretch;
  }
  .cta-band_button {
    margin-top: 1.5rem;
  }
}
@media screen and (max-width: 479px) {
  .cta-band_deck {
    gap: 1rem;
    padding: 1rem;
  }
  .cta-band_qr img {
    width: 6.5rem;
    height: 6.5rem;
  }
  .cta-band_deck-title {
    font-size: 1.0625rem;
  }
}
