/* fluidXlab modern theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --fx-font: 'Inter', 'Segoe UI', Tahoma, sans-serif;
  --fx-bg: linear-gradient(180deg, #f4f5f7 0%, #ffffff 70%, #ffffff 100%);
  --fx-surface: rgba(255, 255, 255, 0.94);
  --fx-surface-strong: #ffffff;
  --fx-surface-muted: rgba(244, 242, 241, 0.9);
  --fx-border-soft: rgba(31, 35, 41, 0.1);
  --fx-border-strong: rgba(31, 35, 41, 0.18);
  --fx-text: #1f2328;
  --fx-ink: #1f2328;
  --fx-muted: #4e545c;
  --fx-accent: #c91b21;
  --fx-accent-strong: #9d1a20;
  --fx-accent-soft: rgba(201, 27, 33, 0.12);
  --fx-accent-soft-strong: rgba(201, 27, 33, 0.2);
  --fx-shadow-md: 0 18px 40px rgba(17, 19, 23, 0.12);
  --fx-shadow-lg: 0 24px 55px rgba(17, 19, 23, 0.14);
  --fx-shadow-sm: 0 12px 30px rgba(17, 19, 23, 0.1);
  --fx-layout-max-width: 1240px;
  --fx-layout-gutter: clamp(22px, 5vw, 48px);
  --fx-layout-container-inline: clamp(
    320px,
    calc(100vw - (var(--fx-layout-gutter) * 2)),
    var(--fx-layout-max-width)
  );
  --landing-section-gap: clamp(4.5rem, 8vw, 6.5rem);
  --fx-layout-left-gutter: max(
    var(--fx-layout-gutter),
    calc((100vw - var(--fx-layout-container-inline)) / 2 + var(--fx-layout-gutter))
  );
}

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

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--fx-bg);
  color: var(--fx-text);
  font-family: var(--fx-font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:hover {
  color: inherit;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

:where(.card, [class*="card"], [class*="Card"]) {
  min-width: 0;
  max-inline-size: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

:where(.card, [class*="card"], [class*="Card"]) > * {
  min-width: 0;
}

@media (max-width: 640px) {
  .landing-frame,
  .site-chrome__inner,
  .site-footer__inner {
    padding-inline: clamp(16px, 6vw, var(--fx-layout-gutter));
  }
}

body.viewer-app {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font-family: var(--fx-font);
}

main {
  flex: 1;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

[data-config-format="multiline"] {
  white-space: pre-line;
}

.reg-mark {
  font-size: 0.65em;
  vertical-align: super;
  letter-spacing: normal;
  margin-left: 0.12em;
}

[data-config-text],
[data-config-field] {
  text-transform: none !important;
}

.reg-mark {
  font-size: 0.65em;
  vertical-align: super;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
 * Gallery page
 * ----------------------------------------------------------------------- */

.gallery-app main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.landing-app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: transparent;
}

.landing {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.landing > * {
  margin: 0;
}

.landing > * + * {
  margin-top: var(--landing-section-gap);
}

.landing > .landing-hero + .client-carousel {
  margin-top: var(--landing-section-gap);
}

.landing-hero {
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  inline-size: 100vw;
  margin-inline: calc(50% - 50vw);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(0.5rem, 1.5vw, 1rem);
  background: transparent;
  color: #111a2b;
  overflow: visible;
  isolation: isolate;
}

.landing-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(220px, 46%, 420px);
  z-index: 0;
  border-radius: 0;
  background: linear-gradient(
    90deg,
    rgba(243, 179, 184, 0.72) 0%,
    rgba(247, 199, 203, 0.68) 50%,
    rgba(243, 179, 184, 0.72) 100%
  );
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.92) 56%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.92) 56%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.landing-hero::after {
  content: none;
}


.landing-hero__visual,
.landing-hero__glass,
.landing-hero__visual .media-slot,
.landing-hero__visual .media-slot--active,
.landing-hero__visual .media-slot__content,
.landing-hero__visual .application-media,
.landing-hero__visual .application-media--image,
.landing-hero__visual figure {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.landing-hero__visual img,
.landing-hero__visual picture,
.landing-hero__visual svg {
  background: transparent !important;
}


.landing-hero__media,
.landing-hero__media::before,
.landing-hero__media::after,
.landing-hero__media-target,
.landing-hero__media-target::before,
.landing-hero__media-target::after {
  background: none !important;
  box-shadow: none !important;
}

.landing-hero__media img,
.landing-hero__media picture,
.landing-hero__media svg,
.landing-hero__media .application-media--image,
.landing-hero__media .application-media--image img {
  background: transparent !important;
  filter: none !important;
  box-shadow: none !important;
}


.landing-hero__visual,
.landing-hero__glass,
.landing-hero__visual .media-slot,
.landing-hero__visual .media-slot--active,
.landing-hero__visual .media-slot__content,
.landing-hero__visual .application-media,
.landing-hero__visual .application-media--image,
.landing-hero__visual figure {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.landing-hero__visual img,
.landing-hero__visual picture,
.landing-hero__visual svg {
  background: transparent !important;
}


.landing-hero__media,
.landing-hero__media::before,
.landing-hero__media::after,
.landing-hero__media-target,
.landing-hero__media-target::before,
.landing-hero__media-target::after {
  background: none !important;
  box-shadow: none !important;
}

.landing-hero__media img,
.landing-hero__media picture,
.landing-hero__media svg,
.landing-hero__media .application-media--image,
.landing-hero__media .application-media--image img {
  background: transparent !important;
  filter: none !important;
  box-shadow: none !important;
}

.landing-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  align-items: center;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}


.landing-frame,
.site-chrome__inner {
  box-sizing: border-box;
  inline-size: min(100%, var(--fx-layout-container-inline));
  width: min(100%, var(--fx-layout-container-inline));
  max-inline-size: var(--fx-layout-container-inline);
  margin-inline: auto;
  padding-inline: var(--fx-layout-gutter);
}

.landing-hero__inner::before,
.landing-hero__inner::after {
  content: none;
}

.landing-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.25rem, 2.8vw, 1.8rem);
  max-width: min(100%, 640px);
}

.landing-hero__actions {
  margin-bottom: clamp(0.6rem, 1.8vw, 1.4rem);
}


.landing-hero__media .landing-visual {
  width: min(100%, clamp(320px, 48vw, 600px));
  max-width: min(100%, clamp(320px, 48vw, 600px));
  margin: 0;
}

.landing-hero__media figure {
  margin: 0;
}

.landing-hero__media-target {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, clamp(320px, 48vw, 600px));
  max-width: min(100%, clamp(320px, 48vw, 600px));
  margin: 0;
}

.landing-hero__media .landing-visual {
  width: min(100%, clamp(320px, 48vw, 600px));
  max-width: min(100%, clamp(320px, 48vw, 600px));
  margin: 0;
}

.landing-hero__media figure {
  margin: 0;
}

.landing-hero__media-target {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, clamp(320px, 48vw, 600px));
  max-width: min(100%, clamp(320px, 48vw, 600px));
  margin: 0;
}

.landing-hero__media-target[hidden] {
  display: none !important;
}

.landing-hero__media-target > * {
  display: block;
  width: min(100%, clamp(320px, 48vw, 600px));
  max-width: min(100%, clamp(320px, 48vw, 600px));
  height: auto;
  margin: 0 auto;
}

.media-slot.media-slot--active [data-media-fallback] {
  display: none !important;
}

.landing-hero__media img,
.landing-hero__media svg,
.landing-hero__media picture,
.landing-hero__media video {
  width: min(100%, clamp(320px, 48vw, 600px));
  max-width: min(100%, clamp(320px, 48vw, 600px));
  height: auto;
}

@media (min-width: 960px) {
  .landing-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .landing-hero__content {
    max-width: min(100%, clamp(580px, 58vw, 780px));
    justify-self: stretch;
  }

  .landing-hero__media {
    justify-self: stretch;
  }
}

@media (min-width: 1280px) {
  .landing-hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.landing-hero__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: clamp(0.75rem, 1.6vw, 1.2rem);
  row-gap: clamp(0.45rem, 1vw, 0.7rem);
  min-height: clamp(28px, 3.4vw, 40px);
  max-width: 100%;
}

.landing-hero__brand-mark {
  display: block;
  max-height: clamp(22px, 2.9vw, 34px);
  width: auto;
}

.landing-hero__eyebrow {
  font-size: clamp(0.7rem, 0.62rem + 0.28vw, 0.82rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fx-accent);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  white-space: normal;
  flex: 1 1 clamp(220px, 38vw, 420px);
  max-width: 100%;
}

.landing-hero__eyebrow:empty {
  display: none;
}

.landing-hero__eyebrow::before {
  content: "";
  width: clamp(32px, 5vw, 48px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(210, 35, 42, 0.12), rgba(210, 35, 42, 0.55));
  flex: 0 0 auto;
}

.landing-hero__title {
  margin: 0;
  font-size: clamp(2.6rem, 4.8vw, 3.6rem);
  line-height: 1.08;
  font-weight: 700;
  text-wrap: balance;
  color: #111a2b;
}

.landing-hero__subtitle {
  margin: 0;
  font-size: clamp(1.02rem, 0.95rem + 0.6vw, 1.22rem);
  line-height: 1.75;
  color: rgba(17, 26, 43, 0.72);
  max-width: min(64ch, 100%);
  text-wrap: balance;
}

.landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2vw, 1.1rem);
}

.landing-hero__actions .btn {
  border-radius: 999px;
  padding-inline: clamp(1.6rem, 1.4rem + 1vw, 2.1rem);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 32px rgba(210, 35, 42, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.landing-hero__actions .btn:hover,
.landing-hero__actions .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(210, 35, 42, 0.22);
}

.landing-hero__actions .btn.btn--ghost {
  background: rgba(255, 255, 255, 0.9);
  color: rgba(17, 26, 43, 0.72);
  border-color: rgba(210, 35, 42, 0.35);
  box-shadow: 0 12px 26px rgba(17, 26, 43, 0.08);
}

.landing-visual {
  --visual-primary: rgba(210, 35, 42, 0.32);
  --visual-secondary: rgba(94, 126, 255, 0.28);
  --visual-surface: rgba(232, 240, 255, 0.9);
  position: relative;
  width: clamp(220px, 32vw, 420px);
  max-width: min(100%, clamp(220px, 32vw, 420px));
  aspect-ratio: 4 / 3;
  border-radius: clamp(28px, 4vw, 40px);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), var(--visual-surface));
  box-shadow: var(--fx-shadow-lg);
  isolation: isolate;
}

.landing-visual--hero {
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, clamp(320px, 48vw, 600px));
  max-width: min(100%, clamp(320px, 48vw, 600px));
}

.landing-visual--hero::after {
  display: none;
}

.landing-visual--hero .landing-visual__rings,
.landing-visual--hero .landing-visual__ribbon,
.landing-visual--hero .landing-visual__spark {
  display: none;
}

.landing-visual[data-media-placeholder] {
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  isolation: auto;
}

.landing-visual[data-media-placeholder]::after {
  display: none;
}

.landing-visual::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  opacity: 0.7;
  pointer-events: none;
}

.landing-visual__rings,
.landing-visual__ribbon,
.landing-visual__spark {
  position: absolute;
  pointer-events: none;
  mix-blend-mode: screen;
}

.landing-visual__rings {
  width: 140%;
  height: 140%;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.65), transparent 58%),
    radial-gradient(circle at center, var(--visual-primary), transparent 72%);
  opacity: 0.7;
}

.landing-visual__ribbon {
  width: 160%;
  height: 60%;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--visual-primary), rgba(255, 255, 255, 0));
  transform: rotate(16deg) translateY(14%);
  opacity: 0.6;
  filter: blur(0.5px);
}

.landing-visual__spark {
  width: 48%;
  height: 48%;
  border-radius: 40%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.85), transparent 58%),
    radial-gradient(circle at center, var(--visual-secondary), transparent 72%);
  opacity: 0.8;
}

.landing-hero__media .landing-hero__visual {
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.landing-hero__media .landing-hero__visual::after,
.landing-hero__media .landing-hero__visual .landing-visual__rings,
.landing-hero__media .landing-hero__visual .landing-visual__ribbon,
.landing-hero__media .landing-hero__visual .landing-visual__spark {
  display: none;
}

.landing-hero__media-slot,
.landing-hero__media-slot [data-media-target],
.landing-hero__media-slot .application-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-hero__media-slot img,
.landing-hero__media-slot picture,
.landing-hero__media-slot svg {
  max-width: 100%;
  height: auto;
  background: transparent;
}


.client-carousel {
  --client-carousel-bg-color: #08060b;
  --client-carousel-surface: linear-gradient(135deg, #08060b 0%, #a0111f 45%, #020003 100%);
  --client-carousel-duration: 28;
  position: relative;
  display: grid;
  gap: clamp(2.3rem, 5vw, 3.6rem);
  margin: 0;
  margin-block: var(--landing-section-gap);
}

.client-carousel__intro {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--fx-layout-container-inline);
  margin-block: 0;
  margin-inline: auto;
  padding-inline: var(--fx-layout-gutter);
  padding-block-start: clamp(1.5rem, 4vw, 2.75rem);
  padding-block-end: clamp(1.8rem, 4.8vw, 3.1rem);
  color: var(--fx-text);
  justify-self: stretch;
}

.client-carousel__intro-inner {
  display: grid;
  gap: clamp(0.6rem, 1.8vw, 1.4rem);
  max-width: min(640px, 100%);
  justify-items: start;
}

.client-carousel__kicker {
  margin: 0;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(31, 35, 41, 0.6);
  justify-self: stretch;
}

.client-carousel__headline {
  margin: 0;
  font-size: clamp(2.6rem, 5.4vw, 3.8rem);
  line-height: 1.14;
  letter-spacing: -0.018em;
  font-weight: 700;
  color: var(--fx-ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.25rem, 0.8vw, 0.4rem);
}

.client-carousel__headline-prefix {
  display: block;
}

.client-carousel__headline-accent {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45ch;
}

.client-carousel__accent-word {
  background: linear-gradient(90deg, #ff5470 0%, #ff8aa4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  display: inline-block;
  padding-block: 0.08em 0.14em;
  margin: 0;
  white-space: nowrap;
}

.client-carousel__accent-word--secondary {
  background: linear-gradient(90deg, #ff8aa4 0%, #fbd6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.client-carousel__summary {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  color: rgba(31, 35, 41, 0.72);
  max-width: min(640px, 100%);
}

.client-carousel__surface {
  position: relative;
  width: 100vw;
  margin-inline: calc((100vw - 100%) / -2);
  background: var(--client-carousel-surface);
  overflow: hidden;
  padding-block: clamp(2.5rem, 5vw, 5rem);
}

.client-carousel__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-block: clamp(1rem, 3vw, 2.4rem);
  padding-inline: clamp(2rem, 6vw, 6rem);
}

.client-carousel__viewport::before,
.client-carousel__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(48px, 12vw, 160px);
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(90deg, rgba(8, 6, 11, 0.88) 0%, rgba(8, 6, 11, 0) 100%);
}

.client-carousel__viewport::before {
  left: 0;
}

.client-carousel__viewport::after {
  right: 0;
  transform: scaleX(-1);
}

.client-carousel__track {
  --client-carousel-shift: 50%;
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  width: max(100%, fit-content);
  animation: none;
  will-change: transform;
}

.client-carousel__track--ready {
  animation: client-carousel-scroll linear infinite;
  animation-duration: calc(var(--client-carousel-duration, 28) * 1s);
  animation-play-state: running;
}

[data-logo-carousel][data-logo-ready="false"] .client-carousel__track {
  animation-play-state: paused;
}

.client-carousel__item {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.client-carousel__figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(120px, 16vw, 200px);
  height: clamp(56px, 10vw, 92px);
  padding-block: clamp(0.2rem, 1vw, 0.75rem);
}

.client-carousel__image {
  display: none;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(2.4) contrast(1.05);
  opacity: 0.9;
}

.client-carousel__name {
  color: #ffffff;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  max-width: 14ch;
}

[data-logo-carousel][data-logo-static="true"] .client-carousel__track {
  animation: none;
  transform: none;
}

@keyframes client-carousel-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--client-carousel-shift, 50%)), 0, 0);
  }
}

@media (hover: hover) {
  [data-logo-carousel]:hover .client-carousel__track {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-logo-carousel] .client-carousel__track {
    animation: none !important;
    transform: none !important;
  }
}

.landing-band {
  position: relative;
  padding-inline: var(--fx-layout-gutter);
  --band-surface: #ffffff;
  --band-overlay: none;
  --band-feature-surface: #ffffff;
  --band-feature-border: rgba(24, 28, 36, 0.12);
  --band-bullet: rgba(31, 35, 41, 0.36);
  --band-accent-ring: rgba(210, 35, 42, 0.16);
}

.landing-band__surface {
  position: relative;
  inline-size: min(100%, var(--fx-layout-container-inline));
  margin-inline: auto;
  border-radius: clamp(26px, 4.2vw, 36px);
  background: var(--band-surface);
  border: 1px solid rgba(24, 28, 36, 0.12);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  isolation: isolate;
}

.landing-band__surface::before {
  content: none;
}

.landing-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(34px, 7vw, 72px);
  align-items: stretch;
  padding: clamp(48px, 6vw, 80px) clamp(32px, 6vw, 72px);
}

.landing-band__content {
  display: grid;
  gap: clamp(20px, 4vw, 30px);
  align-content: start;
  max-width: min(640px, 100%);
}

.landing-band__header {
  display: grid;
  gap: clamp(10px, 2.5vw, 16px);
}

.landing-band__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(24, 28, 36, 0.56);
}

.landing-band__eyebrow--logo {
  display: inline-flex;
  align-items: center;
  gap: 0.24em;
  font-size: clamp(1.15rem, 2.8vw, 1.7rem);
  letter-spacing: 0.02em;
  text-transform: none;
  color: #1f2430;
}

.landing-band__eyebrow--chip {
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.35em, 0.8vw, 0.6em);
  line-height: 1.1;
}

.landing-band__eyebrow--logo .fxl-text-logo {
  font-size: inherit;
  letter-spacing: inherit;
}

.landing-band__eyebrow-tagline {
  display: block;
  font-size: clamp(0.72rem, 1.7vw, 0.95rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(24, 28, 36, 0.48);
  font-weight: 600;
}

.fxl-text-logo--chip {
  color: #241b32;
  letter-spacing: 0.03em;
}

.fxl-text-logo--chip .fxl-text-logo__accent {
  color: #a51e1e;
}

.landing-band__title {
  margin: 0;
  font-size: clamp(1.95rem, 3.6vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #1f2329;
}

.landing-band__copy {
  display: grid;
  gap: clamp(18px, 3.6vw, 28px);
}

.landing-band__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.72;
  color: rgba(24, 28, 36, 0.72);
}

.landing-band__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(14px, 3.4vw, 26px);
}

.landing-band__list--compact {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.landing-band__list-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 2.4vw, 18px);
  padding: clamp(16px, 3vw, 24px) clamp(18px, 3.2vw, 28px);
  border-radius: 18px;
  background: var(--band-feature-surface);
  border: 1px solid var(--band-feature-border);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.landing-band__list-icon {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--fx-accent);
  box-shadow: 0 0 0 6px var(--band-accent-ring);
  flex-shrink: 0;
}

.landing-band__list-copy {
  font-size: 1rem;
  line-height: 1.62;
  color: rgba(24, 28, 36, 0.74);
  font-weight: 500;
}

.landing-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.landing-band__footer {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 18px);
}

.landing-band__media {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  max-width: clamp(280px, 46vw, 520px);
  margin-inline: auto;
}

.landing-band__media.media-slot,
.landing-band__media.media-slot.media-slot--active {
  border: 0;
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  color: inherit;
}

.landing-band__media figure,
.landing-band__media .application-media {
  width: 100%;
  max-width: clamp(240px, 38vw, 460px);
  margin: 0 auto;
}

.landing-band--ecosystem,
.landing-band--inspior,
.landing-band--validation,
.landing-band--chips,
.landing-band--workspace {
  --band-accent-ring: rgba(210, 35, 42, 0.16);
}

.landing-band--workspace .landing-band__content {
  order: 2;
}

.landing-band--workspace .landing-band__media {
  order: 1;
}

.landing-band--workspace .application-media--image {
  position: relative;
  overflow: hidden;
  border-radius: clamp(18px, 4vw, 26px);
}

.landing-band--workspace .application-media--image::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 28%;
  background: linear-gradient(180deg, #050f1f 0%, #0b1a30 55%, rgba(11, 26, 48, 0) 100%);
  pointer-events: none;
}


.landing-cta {
  position: relative;
  padding-inline: var(--fx-layout-gutter);
  color: #ffffff;
  margin-bottom: clamp(48px, 8vw, 120px);
}

.landing-cta__surface {
  position: relative;
  inline-size: min(100%, var(--fx-layout-container-inline));
  margin-inline: auto;
  border-radius: clamp(30px, 5vw, 44px);
  background: linear-gradient(135deg, #1f2329, #2a3038 60%, #1b2026 100%);
  box-shadow: 0 40px 70px rgba(8, 12, 28, 0.42);
  overflow: hidden;
  isolation: isolate;
}

.landing-cta__surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.landing-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(32px, 6vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  align-items: center;
  padding: clamp(60px, 9vw, 110px) clamp(34px, 6vw, 72px);
}

.landing-cta__content {
  display: grid;
  gap: clamp(16px, 3vw, 26px);
  max-width: min(560px, 100%);
}

.landing-cta__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
}

.landing-cta__title {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.landing-cta__lead {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.78);
}

.landing-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.landing-cta__actions .btn {
  box-shadow: 0 18px 32px rgba(12, 15, 30, 0.32);
}

.landing-cta__actions .btn.btn--ghost {
  border-color: rgba(255, 255, 255, 0.38);
  color: rgba(255, 255, 255, 0.88);
}

.landing-cta__actions .btn.btn--ghost:hover,
.landing-cta__actions .btn.btn--ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.landing-cta__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-visual--hero {
  --visual-primary: rgba(210, 35, 42, 0.4);
  --visual-secondary: rgba(94, 126, 255, 0.32);
  --visual-surface: rgba(231, 238, 255, 0.92);
}

.landing-visual--ecosystem {
  --visual-primary: rgba(86, 119, 255, 0.38);
  --visual-secondary: rgba(210, 35, 42, 0.26);
  --visual-surface: rgba(233, 240, 255, 0.9);
}

.landing-visual--inspior {
  --visual-primary: rgba(210, 35, 42, 0.4);
  --visual-secondary: rgba(255, 190, 92, 0.28);
  --visual-surface: rgba(255, 236, 230, 0.88);
}

.landing-visual--validation {
  --visual-primary: rgba(49, 128, 206, 0.38);
  --visual-secondary: rgba(120, 220, 255, 0.28);
  --visual-surface: rgba(230, 244, 255, 0.9);
}

.landing-visual--chips {
  --visual-primary: rgba(132, 96, 170, 0.36);
  --visual-secondary: rgba(255, 170, 226, 0.28);
  --visual-surface: rgba(244, 234, 255, 0.88);
}

.landing-visual--workspace {
  --visual-primary: rgba(68, 140, 255, 0.38);
  --visual-secondary: rgba(61, 214, 255, 0.26);
  --visual-surface: rgba(236, 244, 255, 0.88);
}

.landing-visual--cta {
  --visual-primary: rgba(255, 114, 146, 0.46);
  --visual-secondary: rgba(106, 161, 255, 0.38);
  --visual-surface: rgba(58, 34, 92, 0.88);
  box-shadow: 0 26px 50px rgba(8, 10, 26, 0.55);
}

.landing-visual--cta::after {
  border-color: rgba(255, 255, 255, 0.25);
}

.landing-cta .landing-visual__rings {
  opacity: 0.85;
}

.landing-cta .landing-visual__spark {
  opacity: 0.92;
}

@media (max-width: 960px) {
  .landing-hero__inner,
  .landing-band__inner,
  .landing-cta__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-band__inner {
    padding: clamp(44px, 9vw, 64px) clamp(28px, 8vw, 44px);
  }

  .landing-band__media,
  .landing-cta__media {
    justify-content: center;
  }

  .landing-band__media {
    max-width: min(420px, 100%);
  }
}

@media (max-width: 720px) {
  .landing-hero__title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .landing-band__title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  .landing-band__content {
    text-align: center;
    justify-items: center;
  }

  .landing-band__header {
    justify-items: center;
  }

  .landing-cta__title {
    font-size: clamp(1.9rem, 7vw, 2.4rem);
  }

  .landing-insight {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .landing-insight__icon {
    margin-bottom: 6px;
    align-self: center;
  }

  .landing-band__footer,
  .landing-band__actions {
    justify-content: center;
  }
}
.landing-platforms {
  padding: 0 0 clamp(60px, 9vw, 110px);
}

.landing-platforms__inner {
  display: grid;
  gap: clamp(34px, 6vw, 54px);
}

.landing-platforms__header {
  display: grid;
  gap: clamp(12px, 2.6vw, 18px);
  max-width: 780px;
}

.landing-platforms__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(24, 28, 36, 0.56);
}

.landing-platforms__title {
  margin: 0;
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  letter-spacing: -0.016em;
  color: #1f2430;
}

.landing-platforms__lead {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(24, 28, 36, 0.7);
}

.landing-platforms__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(20px, 4vw, 28px);
}

.landing-platform {
  position: relative;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(245, 246, 252, 0.86));
  border: 1px solid rgba(31, 35, 41, 0.1);
  border-radius: 26px;
  padding: clamp(1.8rem, 3.4vw, 2.6rem);
  box-shadow: 0 28px 52px rgba(20, 26, 42, 0.1);
  display: grid;
  gap: clamp(0.9rem, 2vw, 1.2rem);
  backdrop-filter: blur(16px);
}

.landing-platform::after {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.6);
  opacity: 0.6;
  pointer-events: none;
}

.landing-platform__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(147, 32, 38, 0.8);
  background: rgba(210, 35, 42, 0.12);
  border: 1px solid rgba(210, 35, 42, 0.2);
}

.landing-platform__title {
  margin: 0;
  font-size: 1.28rem;
  color: #1b2332;
}

.landing-platform__body {
  margin: 0;
  color: rgba(24, 28, 36, 0.72);
  line-height: 1.68;
}

.landing-platform__list {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 0.65rem;
  font-size: 0.98rem;
  color: rgba(24, 28, 36, 0.72);
  line-height: 1.6;
}

.landing-platform__list li {
  padding-left: 0.25em;
}


.landing-panels {
  display: grid;
  gap: clamp(20px, 4vw, 32px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: clamp(48px, 8vw, 96px);
}

@media (max-width: 720px) {
  .landing-panels {
    grid-template-columns: 1fr;
  }
}

.landing-hero__overview {
  background: #ffffff;
  margin-top: clamp(2.4rem, 5vw, 4.2rem);
}

.landing-hero__overview::before {
  content: none;
}

.landing-hero__overview-inner {
  display: grid;
  gap: clamp(18px, 3.8vw, 28px);
  padding-top: clamp(24px, 5vw, 40px);
  padding-bottom: clamp(12px, 2.8vw, 20px);
}

.landing-hero__overview-header {
  max-width: min(680px, 100%);
  display: grid;
  gap: clamp(10px, 2.6vw, 16px);
}

.landing-hero__overview-eyebrow {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #1f2430;
}

.landing-hero__overview-summary {
  margin: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  line-height: 1.6;
  color: rgba(24, 28, 36, 0.75);
}

.landing-hero__overview .landing-panels {
  margin: 0;
  padding: clamp(12px, 3vw, 24px);
}

.landing-insights {
  position: relative;
  isolation: isolate;
}

.landing-insights::before {
  content: "";
  position: absolute;
  inset: -32% -12% -40% -12%;
  background:
    radial-gradient(circle at 18% 24%, rgba(210, 35, 42, 0.14), transparent 65%),
    radial-gradient(circle at 78% 18%, rgba(94, 126, 255, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), transparent 80%);
  z-index: -1;
  opacity: 0.85;
  pointer-events: none;
}

.landing-insights__inner {
  display: grid;
  gap: clamp(32px, 6vw, 52px);
}

.landing-insights__header {
  display: grid;
  gap: clamp(12px, 2.8vw, 18px);
  max-width: min(680px, 100%);
}

.landing-insights__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(24, 28, 36, 0.58);
}

.landing-insights__summary {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.7;
  color: rgba(24, 28, 36, 0.72);
}

.landing-insights__grid {
  display: grid;
  gap: clamp(20px, 3.6vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.landing-insight {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 2.6vw, 22px);
  padding: clamp(18px, 3vw, 24px);
  border-radius: clamp(24px, 5vw, 28px);
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.9), rgba(236, 238, 246, 0.78));
  border: 1px solid rgba(120, 132, 150, 0.18);
  box-shadow:
    0 20px 42px rgba(17, 19, 23, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.landing-insight::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
  opacity: 0;
  transition: opacity 280ms ease;
}

.landing-insight:hover,
.landing-insight:focus-visible {
  transform: translateY(-6px);
  box-shadow:
    0 28px 58px rgba(17, 19, 23, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.landing-insight:hover::after,
.landing-insight:focus-visible::after {
  opacity: 1;
}

.landing-insight__icon {
  width: clamp(52px, 6vw, 62px);
  height: clamp(52px, 6vw, 62px);
  border-radius: 22px;
  align-self: flex-start;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.85), transparent 70%),
    radial-gradient(circle at 70% 70%, rgba(210, 35, 42, 0.22), transparent 65%),
    linear-gradient(140deg, rgba(210, 35, 42, 0.3), rgba(94, 126, 255, 0.3));
  box-shadow:
    0 14px 24px rgba(17, 19, 23, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.landing-insight__content {
  display: grid;
  gap: 8px;
}

.landing-insight__metric {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(147, 32, 38, 0.76);
  font-weight: 600;
}

.landing-insight__title {
  margin: 0;
  font-size: clamp(1.08rem, 2.2vw, 1.32rem);
  color: #1f2430;
}

.landing-insight__body {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(24, 28, 36, 0.72);
}

.landing-panel {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3.4vw, 32px);
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(24, 28, 36, 0.12);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.landing-panel:hover,
.landing-panel:focus-visible {
  border-color: rgba(210, 35, 42, 0.22);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.14);
}

.landing-panel:focus-visible {
  outline: 3px solid rgba(210, 35, 42, 0.25);
  outline-offset: 4px;
}

.landing-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(210, 35, 42, 0.08);
  color: #b31b21;
  box-shadow:
    0 16px 28px rgba(15, 23, 42, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.landing-panel__icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.landing-panel__title {
  margin: 0;
  font-size: clamp(1.06rem, 2vw, 1.24rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.35;
  color: #1f2430;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.fxl-text-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
  font-weight: 500;
  letter-spacing: 0.035em;
  color: #2a2e2f;
  font-kerning: normal;
  white-space: nowrap;
  line-height: 1;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fxl-text-logo__word,
.fxl-text-logo__accent {
  display: inline-block;
  letter-spacing: inherit;
  text-transform: none;
}

.fxl-text-logo__word {
  font-weight: 500;
}

.fxl-text-logo__accent {
  margin-inline: 0.045em;
  font-weight: 700;
  color: #a51e1e;
  letter-spacing: 0;
  transform: translateY(-0.5%) scale(1.05);
  transform-origin: center;
}

.landing-panel__title .fxl-text-logo {
  font-size: clamp(1.7rem, 3.3vw, 2.25rem);
  letter-spacing: 0.03em;
}

.landing-panel__title .fxl-text-logo__accent {
  margin-inline: 0.05em;
}

.fxl-text-logo .reg-mark {
  font-size: 0.52em;
  margin-left: 0.18em;
  vertical-align: super;
  opacity: 0.7;
}

.fxl-text-logo--inspior {
  color: #101418;
  letter-spacing: 0.02em;
}

.fxl-text-logo--inspior .fxl-text-logo__accent {
  color: #101418;
  transform: scale(1.0);
  margin-inline: 0.02em;
}

.landing-panel__body {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(24, 28, 36, 0.7);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.landing-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b31b21;
}

.landing-panel__cta > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.landing-panel__cta svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.landing-panel--workspace {
  grid-column: 2;
  grid-row: 2;
}

@media (max-width: 720px) {
  .landing-panel--workspace {
    grid-column: auto;
    grid-row: auto;
  }
}

.landing-solutions {
  position: relative;
  padding: 0 clamp(24px, 6vw, 72px) clamp(72px, 10vw, 120px);
  overflow: hidden;
}

.landing-solutions::before {
  content: '';
  position: absolute;
  inset: -12% 0 18% 0;
  background:
    radial-gradient(circle at 12% 16%, rgba(210, 35, 42, 0.18), transparent 58%),
    radial-gradient(circle at 88% 12%, rgba(148, 87, 162, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 244, 243, 0.92));
  z-index: 0;
  pointer-events: none;
}

.landing-solutions__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(32px, 7vw, 48px);
}

.landing-solutions__header {
  display: grid;
  gap: clamp(18px, 3vw, 26px);
  max-width: min(820px, 100%);
}

.landing-solutions__eyebrow {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(147, 32, 38, 0.7);
}

.landing-solutions__title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  letter-spacing: -0.01em;
}

.landing-solutions__lead {
  margin: 0;
  font-size: clamp(1rem, 2.1vw, 1.16rem);
  line-height: 1.7;
  color: rgba(31, 35, 41, 0.72);
}

.landing-solutions__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.landing-solutions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 4vw, 28px);
}

.landing-solution {
  padding: clamp(24px, 4vw, 32px);
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(24, 28, 36, 0.12);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 1rem;
}

.landing-solution__title {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(147, 32, 38, 0.82);
}

.landing-solution__body {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(31, 35, 41, 0.75);
}

.landing-solution__list {
  margin: 0;
  padding-left: 1.1em;
  display: grid;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: rgba(31, 35, 41, 0.68);
}

.landing-solutions__industries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(20px, 4vw, 32px);
}

.landing-solutions__industries span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(24, 28, 36, 0.65);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(242, 238, 248, 0.85));
  border: 1px solid rgba(210, 35, 42, 0.2);
  box-shadow: 0 14px 26px rgba(17, 19, 23, 0.12);
  backdrop-filter: blur(10px);
}

.landing-workspace-promo {
  position: relative;
  padding: clamp(84px, 13vw, 152px) 0 clamp(96px, 14vw, 168px);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(210, 35, 42, 0.12), transparent 58%),
    radial-gradient(circle at 88% 12%, rgba(79, 113, 241, 0.14), transparent 60%),
    linear-gradient(185deg, rgba(244, 247, 254, 0.6), rgba(255, 255, 255, 0.95));
}

.landing-workspace-promo::before {
  content: '';
  position: absolute;
  inset: clamp(24px, 6vw, 60px) clamp(18px, 5vw, 48px);
  border-radius: clamp(48px, 8vw, 96px);
  background:
    radial-gradient(circle at 20% 22%, rgba(210, 35, 42, 0.2), transparent 65%),
    radial-gradient(circle at 78% 18%, rgba(90, 123, 255, 0.18), transparent 60%);
  filter: blur(60px);
  opacity: 0.6;
  pointer-events: none;
}

.landing-workspace-promo__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 0 clamp(24px, 6vw, 80px);
}

.landing-workspace-promo__card {
  position: relative;
  width: min(100%, 1120px);
  padding: clamp(32px, 5vw, 64px);
  border-radius: clamp(36px, 5vw, 56px);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.97), rgba(245, 247, 254, 0.98)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 45px 100px rgba(15, 23, 42, 0.12),
    0 20px 44px rgba(70, 82, 122, 0.08);
  display: grid;
  gap: clamp(28px, 4.5vw, 40px);
  overflow: hidden;
}

.landing-workspace-promo__card::after {
  content: '';
  position: absolute;
  inset: clamp(12px, 3vw, 28px);
  border-radius: clamp(30px, 4.6vw, 52px);
  background:
    radial-gradient(circle at 18% 24%, rgba(210, 35, 42, 0.18), transparent 64%),
    radial-gradient(circle at 78% 18%, rgba(97, 119, 245, 0.16), transparent 64%);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.landing-workspace-promo__card > * {
  position: relative;
  z-index: 1;
}

.landing-workspace-promo__header {
  display: grid;
  gap: clamp(14px, 3vw, 22px);
  max-width: 680px;
}

.landing-workspace-promo__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(31, 35, 41, 0.55);
}

.landing-workspace-promo__title {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  letter-spacing: -0.01em;
  color: #101828;
}

.landing-workspace-promo__lead {
  margin: 0;
  font-size: clamp(1.02rem, 1.85vw, 1.2rem);
  line-height: 1.72;
  color: rgba(31, 35, 41, 0.74);
}

.landing-workspace-promo__grid {
  display: grid;
  gap: clamp(18px, 3.4vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.landing-workspace-promo__highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: clamp(18px, 3vw, 28px);
  border-radius: clamp(22px, 4vw, 32px);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 255, 0.9));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 24px 45px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.landing-workspace-promo__marker {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f8b65a, #d2232a);
  box-shadow: 0 0 0 6px rgba(210, 35, 42, 0.14);
  margin-top: 6px;
}

.landing-workspace-promo__copy h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #1f2329;
}

.landing-workspace-promo__copy p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.68;
  color: rgba(31, 35, 41, 0.7);
}

.landing-workspace-promo__footer {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.landing-workspace-promo__summary {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(31, 35, 41, 0.76);
  max-width: 740px;
}

.landing-workspace-promo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.landing-workspace-promo__actions .btn {
  min-width: 0;
}

@media (max-width: 960px) {
  .landing-hero__inner {
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .landing-hero__inner {
    gap: clamp(2.6rem, 6vw, 4.8rem);
  }

  .landing-hero__content {
    max-width: min(100%, clamp(600px, 52vw, 820px));
  }
}

@media (max-width: 720px) {
  .landing-hero {
    padding: clamp(40px, 14vw, 72px) 0;
  }

  .landing-hero__content {
    text-align: center;
    align-items: center;
  }

  .landing-hero__brand {
    justify-content: center;
  }

  .landing-hero__actions {
    justify-content: center;
  }

  .landing-hero__meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-panel {
    text-align: center;
  }

  .landing-panel__icon {
    justify-self: center;
  }

  .landing-panels__header {
    text-align: center;
    justify-items: center;
  }

  .landing-workspace-promo__card {
    padding: clamp(24px, 8vw, 40px);
  }

  .landing-workspace-promo__header {
    text-align: center;
    justify-items: center;
  }

  .landing-workspace-promo__summary {
    text-align: center;
    margin-inline: auto;
  }

  .landing-workspace-promo__actions {
    justify-content: center;
  }

  .landing-workspace-promo__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-workspace-promo__highlight {
    align-items: center;
  }

  .landing-workspace-promo__marker {
    margin-top: 0;
  }
}

/* --------------------------------------------------------------------------
 * Collection (Products & Services) pages
 * ----------------------------------------------------------------------- */

.collection-app {
  background: linear-gradient(180deg, #fbf8fc 0%, #f4f6fb 52%, #f2f5fa 100%);
}

.collection {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(72px, 10vw, 144px);
}

.collection-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(48px, 9vw, 96px);
  margin-bottom: clamp(6rem, 10vw, 12rem);
}

.collection-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 120% at -5% 12%, rgba(210, 35, 42, 0.22), transparent 65%),
    radial-gradient(140% 120% at 82% -15%, rgba(121, 97, 255, 0.22), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.collection-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 48px) clamp(18px, 5vw, 48px) clamp(72px, 10vw, 120px);
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

@media (max-width: 960px) {
  .collection-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .collection-hero__copy {
    justify-items: center;
    text-align: center;
  }

  .collection-hero__actions {
    justify-content: center;
  }
}

.collection-hero__copy {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  max-width: 560px;
}

.collection-hero__eyebrow {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(24, 28, 36, 0.6);
}

.collection-hero__title {
  margin: 0;
  font-size: clamp(2.4rem, 4.6vw, 3.4rem);
  line-height: 1.15;
  color: #1f2329;
}

.collection-hero__subtitle {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.75;
  color: rgba(24, 28, 36, 0.72);
}

.collection-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.collection-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(320px, 32vw, 440px);
}

.collection-hero__orb {
  position: absolute;
  width: clamp(280px, 28vw, 380px);
  height: clamp(280px, 28vw, 380px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 70% 80%, rgba(210, 35, 42, 0.25), transparent 70%),
    radial-gradient(circle at 20% 85%, rgba(255, 181, 197, 0.2), transparent 68%);
  box-shadow: 0 45px 90px rgba(54, 62, 80, 0.18);
  opacity: 0.9;
}

.collection-hero__orb--services {
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 70% 78%, rgba(126, 107, 255, 0.28), transparent 68%),
    radial-gradient(circle at 20% 80%, rgba(124, 211, 255, 0.24), transparent 72%);
}

.collection-hero__shield {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(220px, 26vw, 340px);
  aspect-ratio: 1 / 1;
  border-radius: clamp(36px, 5vw, 60px);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.92) 0%, rgba(229, 235, 244, 0.78) 100%),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(132, 145, 168, 0.3);
  box-shadow:
    0 35px 70px rgba(47, 55, 72, 0.18),
    inset 0 0 36px rgba(255, 255, 255, 0.4);
}

.collection-hero__shield--services {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.94) 0%, rgba(221, 235, 255, 0.82) 100%),
    rgba(255, 255, 255, 0.72);
}

.collection-hero__shield svg {
  width: clamp(140px, 18vw, 220px);
  height: auto;
  fill: rgba(24, 28, 36, 0.58);
}

.collection-highlights {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(20px, 4vw, 36px);
  align-items: stretch;
  padding: 0 clamp(18px, 5vw, 48px);
}

.collection-highlights__item {
  position: relative;
  display: grid;
  gap: 6px;
  padding: clamp(24px, 4vw, 32px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(218, 222, 233, 0.9);
  box-shadow: 0 20px 50px rgba(71, 82, 102, 0.14);
  text-align: center;
}

.collection-highlights__value {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.collection-highlights__label {
  font-size: 0.95rem;
  color: rgba(24, 28, 36, 0.6);
}

.collection-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 32vw, 360px), 1fr));
  gap: clamp(28px, 5vw, 40px);
  padding: 0 clamp(18px, 5vw, 48px);
}

.collection-card {
  position: relative;
  display: grid;
  gap: clamp(16px, 3vw, 24px);
  padding: clamp(28px, 4vw, 36px);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(232, 238, 246, 0.78) 100%),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(215, 221, 233, 0.9);
  box-shadow: 0 28px 60px rgba(64, 76, 102, 0.16);
}

.collection-card--spotlight {
  background:
      linear-gradient(150deg, rgba(26, 95, 255, 0.12) 0%, rgba(255, 255, 255, 0.92) 55%, rgba(210, 35, 42, 0.1) 100%),
      linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(235, 241, 253, 0.86) 100%);
  border: 1px solid rgba(26, 95, 255, 0.25);
  box-shadow: 0 32px 70px rgba(30, 64, 140, 0.22);
}

.collection-card__title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #1f2329;
}

.collection-card__body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(24, 28, 36, 0.68);
}

.collection-card__list {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 10px;
  color: rgba(24, 28, 36, 0.62);
}

.collection-card__list li {
  line-height: 1.6;
}

.collection-callout {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(231, 238, 249, 0.8) 100%),
    rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(210, 218, 233, 0.85);
  box-shadow: 0 30px 64px rgba(64, 76, 102, 0.15);
  grid-template-columns: minmax(0, 1fr) auto;
}

@media (max-width: 1024px) {
  .collection-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    justify-items: center;
  }

  .collection-card {
    width: min(100%, 420px);
  }
}

@media (max-width: 760px) {
  .collection-highlights {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .collection-highlights__item {
    text-align: center;
    width: min(100%, 360px);
  }

  .collection-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
  }

  .collection-card {
    width: 100%;
    padding: clamp(24px, 6vw, 32px);
  }

  .collection-callout {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .collection-callout__actions {
    justify-content: center;
  }
}

.collection-callout--services {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(225, 236, 255, 0.85) 100%),
    rgba(255, 255, 255, 0.78);
}

.collection-callout__content h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: 0.02em;
}

.collection-callout__content p {
  margin: 0;
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(24, 28, 36, 0.68);
}

.collection-callout__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

@media (max-width: 720px) {
  .collection {
    gap: clamp(48px, 10vw, 72px);
  }

  .collection-hero__inner {
    padding-bottom: clamp(56px, 16vw, 96px);
  }

  .collection-callout {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .collection-callout__actions {
    flex-direction: column;
    align-items: center;
  }
}

.wrap {
  box-sizing: border-box;
  inline-size: min(100%, var(--fx-layout-container-inline));
  width: min(100%, var(--fx-layout-container-inline));
  max-inline-size: var(--fx-layout-container-inline);
  margin-inline: auto;
  padding: 32px var(--fx-layout-gutter) 72px;
}

.wrap--narrow {
  max-inline-size: min(860px, var(--fx-layout-container-inline));
}

.section-kicker {
  margin: 0;
  font-size: clamp(0.85rem, 0.75rem + 0.4vw, 1rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fx-accent);
}

.company-menu-hero {
  position: relative;
  background: transparent;
  color: var(--fx-text);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(0.5rem, 1.5vw, 1rem);
  overflow: hidden;
}

.company-menu-hero__inner {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr);
}

.company-menu-hero__content {
  max-width: 960px;
  display: grid;
  gap: clamp(1.4rem, 2.8vw, 2rem);
}

.company-menu-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 4.8vw, 3.6rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--fx-text);
}

.company-menu-hero p {
  margin: 0;
  font-size: clamp(1.02rem, 0.95rem + 0.6vw, 1.22rem);
  line-height: 1.7;
  color: #5c6672;
  max-width: 72ch;
}

.company-menu-hero__aside {
  display: none;
}

.company-menu-hero__metric {
  display: grid;
  gap: 0.35rem;
}

.company-menu-hero__metric-label {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #5c6672;
}

.company-menu-hero__metric-value {
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  font-weight: 600;
  color: var(--fx-text);
}

.page-hero {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(20px, 5vw, 36px);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--fx-text);
}

.page-hero .subtitle {
  margin: 0;
  max-width: 620px;
  color: var(--fx-muted);
  line-height: 1.55;
}

.page-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-heading h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--fx-text);
}

.page-heading .subtitle {
  margin: 0;
  font-size: 1.05rem;
  color: var(--fx-muted);
  max-width: 640px;
  line-height: 1.55;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--fx-border-soft);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.toolbar input[type="search"],
.toolbar select {
  flex: 1 1 260px;
  min-width: 200px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: var(--fx-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.toolbar input[type="search"]:focus,
.toolbar select:focus {
  border-color: rgba(210, 35, 42, 0.65);
  box-shadow: 0 0 0 3px rgba(210, 35, 42, 0.12);
}

.toolbar select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(15, 23, 42, 0.45) 50%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.45) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1.1em), calc(100% - 13px) calc(1.1em);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.note {
  margin: 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--fx-muted);
  font-size: 0.96rem;
}

.group {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 12px 0 28px;
}

.group h2 {
  margin: 0;
  padding-left: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fx-text);
  border-left: 4px solid rgba(210, 35, 42, 0.85);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 22px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(210, 35, 42, 0.45);
  box-shadow: 0 32px 60px rgba(210, 35, 42, 0.18);
}

.thumb {
  aspect-ratio: 5 / 3;
  background: linear-gradient(135deg, #f8f9ff 0%, #eef1f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 22px 24px;
}

.title {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--fx-text);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--fx-muted);
  align-items: center;
}

.led {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.led.green {
  background: #20c15a;
}

.led.red {
  background: #e03131;
}

.meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.55);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #d2232a, #8c1318);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(210, 35, 42, 0.32);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(140, 19, 24, 0.28);
}

.btn:focus-visible {
  outline: 3px solid rgba(210, 35, 42, 0.4);
  outline-offset: 3px;
}

.btn.btn--light {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 38px rgba(2, 8, 24, 0.45);
}

.btn.btn--light:hover {
  box-shadow: 0 24px 44px rgba(2, 8, 24, 0.52);
}

.btn.btn--light:active {
  box-shadow: 0 16px 32px rgba(2, 8, 24, 0.48);
}

.btn.btn--outline {
  background: rgba(255, 255, 255, 0.08);
  color: #f5f7fb;
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 14px 36px rgba(7, 10, 18, 0.35);
}

/* ---------------------------------------------------------------
   Services collection page
   --------------------------------------------------------------- */

.collection.collection--services {
  gap: clamp(64px, 10vw, 120px);
  padding-bottom: clamp(96px, 13vw, 168px);
}

.services-hero {
  padding: clamp(72px, 11vw, 120px) 0 clamp(48px, 8vw, 96px);
}

.services-hero__inner {
  display: grid;
  gap: clamp(20px, 4vw, 32px);
  inline-size: min(100%, var(--fx-layout-container-inline));
  width: min(100%, var(--fx-layout-container-inline));
  margin-inline: auto;
  padding-inline: var(--fx-layout-gutter);
  text-align: left;
  align-items: flex-start;
}

.services-hero__eyebrow {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(31, 35, 41, 0.55);
}

.services-hero__headline {
  margin: 0;
  font-size: clamp(2.6rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  color: #1f2329;
  text-transform: uppercase;
}

.services-hero__description {
  margin: 0;
  max-width: clamp(520px, 70vw, 760px);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.8;
  color: rgba(31, 35, 41, 0.72);
}

.services-grid {
  padding: 0;
}

.services-grid__inner {
  inline-size: min(100%, var(--fx-layout-container-inline));
  width: min(100%, var(--fx-layout-container-inline));
  max-inline-size: var(--fx-layout-container-inline);
  margin-inline: auto;
  padding-inline: var(--fx-layout-gutter);
  display: grid;
  gap: clamp(28px, 4vw, 40px);
  grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 30vw, 360px), 1fr));
}

.services-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 246, 250, 0.94));
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(19, 22, 28, 0.14);
  border: 1px solid rgba(210, 215, 225, 0.7);
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.services-card:hover,
.services-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 38px 80px rgba(19, 22, 28, 0.18);
}

.services-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.services-card__content {
  display: grid;
  gap: clamp(16px, 3vw, 22px);
  padding: clamp(24px, 4vw, 32px);
  flex: 1 1 auto;
}

.services-card__title {
  margin: 0;
  font-size: clamp(1.3rem, 2.3vw, 1.6rem);
  line-height: 1.35;
  color: #1f2329;
}

.services-card__body {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(31, 35, 41, 0.72);
}

.services-card__cta {
  justify-self: start;
  margin-top: clamp(8px, 1vw, 12px);
  font-size: 0.82rem;
  padding-inline: clamp(1.1rem, 2.5vw, 1.4rem);
}

@media (max-width: 640px) {
  .services-card__cta {
    justify-self: stretch;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .services-hero {
    padding: clamp(56px, 14vw, 72px) 0 clamp(36px, 12vw, 52px);
  }

  .services-hero__inner {
    gap: clamp(16px, 6vw, 24px);
  }

  .services-grid__inner {
    gap: clamp(24px, 6vw, 32px);
  }

  .services-card {
    border-radius: 22px;
  }

  .services-card__content {
    padding: clamp(20px, 7vw, 26px);
  }
}

.btn.btn--outline:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 18px 44px rgba(7, 10, 18, 0.42);
}

.btn.btn--outline:active {
  transform: translateY(0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn.btn--ghost {
  background: rgba(255, 255, 255, 0.85);
  color: #b31b21;
  border-color: rgba(210, 35, 42, 0.24);
  box-shadow: 0 12px 28px rgba(17, 19, 23, 0.08);
}

.btn.btn--ghost:hover {
  color: #8c1318;
  box-shadow: 0 16px 32px rgba(17, 19, 23, 0.12);
}

.btn.btn--ghost:active {
  box-shadow: 0 10px 20px rgba(17, 19, 23, 0.12);
}

.btn.btn--ghost:focus-visible {
  outline: 3px solid rgba(140, 19, 24, 0.35);
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(210, 35, 42, 0.9);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(210, 35, 42, 0.25);
}

.info-section {
  margin: 72px 0 0;
  padding: 36px clamp(18px, 4vw, 48px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
}

.info-section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--fx-text);
}

.info-section p {
  margin: 0;
  color: var(--fx-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 720px;
}

@media (max-width: 720px) {
  .wrap {
    padding: 24px 18px 64px;
    gap: 22px;
  }

  .toolbar {
    padding: 16px;
  }

  .grid {
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .card {
    border-radius: 18px;
  }
}

/* --------------------------------------------------------------------------
 * Shared chrome (top navigation + footer)
 * ----------------------------------------------------------------------- */

.site-chrome {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: clamp(16px, 2vw, 24px) 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(120%);
  border-bottom: none;
  box-shadow: none;
  overflow: visible;
}

.site-chrome::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 1px;
  background: rgba(201, 27, 33, 0.35);
  opacity: 0.6;
  z-index: 1;
}

.site-chrome__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 42px);
  position: relative;
}

.site-chrome__cluster {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  flex: 0 0 auto;
  min-width: 0;
}

.site-chrome__brand-group {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  min-width: 0;
}

.site-chrome__menu-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(31, 35, 41, 0.08);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(17, 19, 23, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-chrome__menu-toggle:hover,
.site-chrome__menu-toggle:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(17, 19, 23, 0.16);
  border-color: rgba(201, 27, 33, 0.32);
}

.site-chrome__menu-toggle:focus-visible {
  outline: 3px solid rgba(201, 27, 33, 0.32);
  outline-offset: 3px;
}

.site-chrome__menu-icon {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 20px;
}

.site-chrome__menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: rgba(31, 35, 41, 0.75);
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.site-chrome__menu-toggle.is-open .site-chrome__menu-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-chrome__menu-toggle.is-open .site-chrome__menu-icon span:nth-child(2) {
  opacity: 0;
}

.site-chrome__menu-toggle.is-open .site-chrome__menu-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

  .site-chrome__brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    padding: 0;
    border-radius: 0;
    background: none;
    border: none;
    box-shadow: none;
    text-decoration: none;
  }

  .site-chrome__brand:hover {
    transform: none;
  }

  .site-chrome__brand:focus-visible {
    outline: 2px solid rgba(201, 27, 33, 0.4);
    outline-offset: 4px;
  }

  .site-chrome__brand.is-active {
    box-shadow: none;
  }

  .site-chrome__brand img {
    display: block;
    width: clamp(150px, 18vw, 198px);
    height: auto;
  }

  .site-chrome__tagline {
    display: block;
    padding-inline: 4px;
    margin: 0 auto;
    font-size: clamp(0.68rem, 1.4vw, 0.8rem);
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(17, 31, 46, 0.6);
    white-space: nowrap;
  }

.site-chrome__nav-shell {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.site-chrome__nav {
  position: relative;
  display: flex;
  justify-content: flex-end;
  flex: 0 1 100%;
  min-width: 0;
}

  .site-nav {
    display: inline-flex;
    align-items: center;
    gap: clamp(6px, 1.6vw, 16px);
    list-style: none;
    margin: 0;
    padding: clamp(0.5rem, 0.8vw, 0.7rem) clamp(0.9rem, 2vw, 1.5rem);
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(17, 31, 46, 0.08);
    box-shadow: 0 14px 28px rgba(17, 31, 46, 0.08);
    backdrop-filter: none;
  }

.site-nav__item {
  position: relative;
  flex: 0 0 auto;
}

.site-nav__link,
.site-nav__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #2a2e2f;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav__toggle {
  padding-right: 1.8rem;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__toggle:hover,
.site-nav__toggle:focus-visible {
  color: var(--fx-accent);
  background: #fbe9ea;
  box-shadow: inset 0 0 0 1px rgba(201, 27, 33, 0.25);
}

.site-nav__link:focus-visible,
.site-nav__toggle:focus-visible {
  outline: 3px solid rgba(201, 27, 33, 0.35);
  outline-offset: 4px;
}

.site-nav__toggle span {
  pointer-events: none;
}

.site-nav__chevron {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.site-nav__item--has-children.is-open > .site-nav__toggle .site-nav__chevron {
  transform: rotate(180deg);
}

.site-nav__item--icon {
  margin-left: clamp(6px, 1.4vw, 18px);
  display: inline-flex;
}

.site-nav__link--icon {
  justify-content: center;
  align-items: center;
  padding: 0;
  width: clamp(42px, 3.4vw, 46px);
  height: clamp(42px, 3.4vw, 46px);
  border-radius: 50%;
  border: 1px solid rgba(201, 27, 33, 0.18);
  background: #ffffff;
  box-shadow: 0 16px 28px rgba(31, 35, 41, 0.14);
  color: rgba(31, 35, 41, 0.7);
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-nav__link--icon::after {
  display: none;
}

.site-nav__link--icon .site-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(20px, 1.9vw, 24px);
  height: clamp(20px, 1.9vw, 24px);
}

.site-nav__link--icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.site-nav__link--icon:hover,
.site-nav__link--icon:focus-visible {
  color: #1f2328;
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(31, 35, 41, 0.18);
}

.site-nav__link--icon:focus-visible {
  outline: 3px solid rgba(201, 27, 33, 0.32);
  outline-offset: 4px;
}

.site-nav__link--contact {
  color: var(--fx-accent);
}

.site-nav__link--contact:hover,
.site-nav__link--contact:focus-visible {
  color: #9d1a20;
}

.site-nav__label {
  line-height: 1;
}

body.shows-auth-indicator .site-nav__link--icon[data-section='login'] {
  color: #0f766e;
}

body.shows-auth-indicator .site-nav__link--icon[data-section='login']:hover,
body.shows-auth-indicator .site-nav__link--icon[data-section='login']:focus-visible {
  color: #0d5f55;
}

body.shows-auth-indicator .site-nav__link--icon[data-section='login'] .site-nav__icon {
  position: relative;
}

body.shows-auth-indicator .site-nav__link--icon[data-section='login'] .site-nav__icon::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.site-nav__submenu {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  min-width: 220px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(201, 27, 33, 0.16);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.16);
  list-style: none;
  margin: 0;
  z-index: 20;
}

.site-nav__submenu[hidden] {
  display: none !important;
}

.site-nav__item--has-children.is-open > .site-nav__submenu {
  display: flex;
}

.site-nav__sublink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(31, 35, 41, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav__sublink:hover,
.site-nav__sublink:focus-visible {
  color: var(--fx-text);
}

.site-nav__sublink.is-active {
  color: var(--fx-text);
}

.site-nav__link--cta {
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  background: #c91b21;
  box-shadow: 0 14px 28px rgba(201, 27, 33, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.site-nav__link--cta::after {
  display: none;
}

.site-nav__link--cta:hover,
.site-nav__link--cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(201, 27, 33, 0.32);
  filter: brightness(1.05);
}

.site-nav__link--cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.65);
  outline-offset: 4px;
}

.site-nav__link--outline {
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fx-text);
  border: 1.5px solid rgba(201, 27, 33, 0.5);
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-nav__link--outline::after {
  display: none;
}

.site-nav__link--outline:hover,
.site-nav__link--outline:focus-visible {
  color: #9d1a20;
  border-color: rgba(201, 27, 33, 0.8);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.16);
}

.site-nav__link--outline:focus-visible {
  outline: 3px solid rgba(201, 27, 33, 0.35);
  outline-offset: 4px;
}

.site-nav__icon svg {
  width: clamp(22px, 2.8vw, 26px);
  height: clamp(22px, 2.8vw, 26px);
  fill: currentColor;
  display: block;
}

.site-footer {
  position: relative;
  margin-top: auto;
  padding: clamp(90px, 14vw, 150px) 0 clamp(24px, 5vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  color: #0d1724;
  overflow: hidden;
}

.site-footer::before,
.site-footer::after {
  content: none;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: rgba(201, 27, 33, 0.35);
  opacity: 0.6;
  z-index: 1;
}


.site-footer__inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  inline-size: min(100%, var(--fx-layout-container-inline));
  width: min(100%, var(--fx-layout-container-inline));
  max-inline-size: var(--fx-layout-container-inline);
  margin-inline: auto;
  padding-inline: var(--fx-layout-gutter);
  display: grid;
  gap: clamp(56px, 9vw, 90px);
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
}

.site-footer__brand {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: 440px;
}

.site-footer__brand .site-chrome__brand-group {
  gap: clamp(14px, 2.4vw, 20px);
}

.site-footer__brand .site-chrome__tagline {
  margin: 0;
}

.site-footer__grid {
  display: grid;
  gap: clamp(32px, 5vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-auto-flow: row dense;
  align-content: start;
}

.footer-group--contact {
  grid-column: span 2;
  min-width: min(100%, 440px);
}

.footer-heading {
  margin: 0 0 18px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fx-accent);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.48);
}


.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.footer-links li {
  display: flex;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(10, 17, 27, 0.95);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--fx-accent-strong);
  transform: translateX(4px);
}

.footer-links--inline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.4), rgba(236, 240, 248, 0.28));
  color: rgba(19, 26, 38, 0.92);
  box-shadow: inset 0 0 0 1px rgba(40, 52, 70, 0.24), 0 14px 30px rgba(12, 16, 24, 0.18);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.footer-links .icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-links a:hover .icon,
.footer-links a:focus-visible .icon {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.46), rgba(236, 240, 248, 0.32));
  color: var(--fx-accent-strong);
  box-shadow: inset 0 0 0 1px rgba(210, 35, 42, 0.46), 0 16px 32px rgba(12, 16, 24, 0.24);
}

.footer-links a:hover .icon,
.footer-links a:focus-visible .icon {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.46), rgba(236, 240, 248, 0.32));
  color: var(--fx-accent-strong);
  box-shadow: inset 0 0 0 1px rgba(210, 35, 42, 0.46), 0 16px 32px rgba(12, 16, 24, 0.24);
}

.footer-links a:hover .icon,
.footer-links a:focus-visible .icon {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.46), rgba(236, 240, 248, 0.32));
  color: var(--fx-accent-strong);
  box-shadow: inset 0 0 0 1px rgba(210, 35, 42, 0.46), 0 16px 32px rgba(12, 16, 24, 0.24);
}

.footer-links a:hover .icon,
.footer-links a:focus-visible .icon {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.46), rgba(236, 240, 248, 0.32));
  color: var(--fx-accent-strong);
  box-shadow: inset 0 0 0 1px rgba(210, 35, 42, 0.46), 0 16px 32px rgba(12, 16, 24, 0.24);
}

.footer-links a:hover .icon,
.footer-links a:focus-visible .icon {
  background: rgba(255, 255, 255, 0.34);
  color: var(--fx-accent-strong);
  box-shadow: inset 0 0 0 1px rgba(210, 35, 42, 0.48), 0 14px 26px rgba(12, 16, 24, 0.24);
}

.footer-links a:hover .icon,
.footer-links a:focus-visible .icon {
  background: rgba(255, 255, 255, 0.34);
  color: var(--fx-accent-strong);
  box-shadow: inset 0 0 0 1px rgba(210, 35, 42, 0.48), 0 14px 26px rgba(12, 16, 24, 0.24);
}

.footer-links a:hover .icon,
.footer-links a:focus-visible .icon {
  background: rgba(255, 255, 255, 0.34);
  color: var(--fx-accent-strong);
  box-shadow: inset 0 0 0 1px rgba(210, 35, 42, 0.48), 0 14px 26px rgba(12, 16, 24, 0.24);
}

.footer-links a:hover .icon,
.footer-links a:focus-visible .icon {
  background: rgba(41, 47, 58, 0.22);
  color: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(41, 47, 58, 0.24);
}

.footer-links .label {
  white-space: nowrap;
}

.footer-contact {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.footer-contact__card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 26px 30px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(241, 244, 250, 0.96)),
    linear-gradient(120deg, rgba(118, 152, 220, 0.08), transparent 68%);
  border: 1px solid rgba(176, 186, 202, 0.62);
  box-shadow: 0 24px 52px rgba(26, 34, 48, 0.16);
  align-content: start;
  overflow: hidden;
}

.footer-contact__card::before {
  content: "";
  position: absolute;
  inset: -38% 48% auto auto;
  width: 200px;
  height: 200px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 20% 20%, rgba(126, 166, 236, 0.18), rgba(126, 166, 236, 0));
  pointer-events: none;
}

.footer-contact__header {
  position: relative;
  display: grid;
  gap: 10px;
  z-index: 1;
}

.footer-contact__badge {
  justify-self: start;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.38), rgba(237, 241, 248, 0.28));
  border: 1px solid rgba(108, 124, 150, 0.36);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15, 22, 34, 0.92);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.footer-contact__title {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(11, 18, 28, 0.96);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.footer-contact__address {
  position: relative;
  z-index: 1;
  margin: 0;
  display: grid;
  gap: 6px;
  font-style: normal;
  line-height: 1.6;
  color: rgba(17, 25, 38, 0.9);
}

.footer-contact__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(11, 18, 28, 0.96);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-contact__link:hover,
.footer-contact__link:focus-visible {
  color: var(--fx-accent-strong);
  transform: translateY(-1px);
}

.footer-contact__link .icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(237, 241, 248, 0.28));
  color: rgba(19, 26, 38, 0.94);
  box-shadow: inset 0 0 0 1px rgba(44, 56, 72, 0.26), 0 16px 34px rgba(12, 16, 24, 0.2);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.footer-contact__link:hover .icon,
.footer-contact__link:focus-visible .icon {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.48), rgba(237, 241, 248, 0.34));
  color: var(--fx-accent-strong);
  box-shadow: inset 0 0 0 1px rgba(210, 35, 42, 0.48), 0 18px 40px rgba(12, 16, 24, 0.26);
}

.footer-contact__note {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(18, 26, 38, 0.84);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.site-footer__legal {
  position: relative;
  z-index: 1;
  margin-top: clamp(44px, 7vw, 70px);
  padding: clamp(18px, 3vw, 28px) clamp(24px, 6vw, 64px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 3vw, 18px);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(14, 21, 32, 0.88);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(104, 116, 134, 0.28);
}

.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 3vw, 20px);
}

.site-footer__legal-link {
  color: rgba(14, 21, 32, 0.88);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__legal-link:hover,
.site-footer__legal-link:focus-visible {
  color: rgba(6, 12, 22, 0.88);
}

@media (max-width: 1280px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }


  .site-footer__grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .footer-group--contact {
    grid-column: span 2;
  }
}

@media (max-width: 880px) {
  .site-footer {
    padding: clamp(72px, 16vw, 120px) 0 clamp(40px, 9vw, 80px);
  }

  .site-footer__inner {
    gap: clamp(44px, 10vw, 72px);
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-group--contact {
    grid-column: span 1;
  }

  .footer-links {
    gap: 12px;
  }

  .footer-links .label {
    white-space: normal;
  }

  .footer-links--inline {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .site-footer__brand {
    text-align: center;
    justify-content: center;
  }

  .footer-links a {
    font-size: 0.78rem;
  }

  .footer-contact__card {
    padding: 20px 22px;
  }
}


@media (max-width: 1100px) {
  .site-chrome__menu-toggle {
    display: inline-flex;
  }

  .site-chrome__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .site-chrome__cluster {
    width: 100%;
    justify-content: space-between;
  }

  .site-chrome__nav-shell {
    width: 100%;
  }

  .site-chrome__nav {
    order: 3;
    width: 100%;
    flex: 1 1 100%;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 40px rgba(17, 19, 23, 0.14);
    border: 1px solid rgba(31, 35, 41, 0.1);
    display: none;
  }

  .site-chrome[data-menu-open="true"] .site-chrome__nav {
    display: flex;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .site-nav__item {
    width: 100%;
  }

  .site-nav__link,
  .site-nav__toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 6px;
    border-radius: 14px;
  }

  .site-nav__item--has-children > .site-nav__submenu {
    position: static;
    display: none;
    padding: 6px 0 12px 18px;
    margin: 0;
    box-shadow: none;
    border: none;
    background: #ffffff;
    border-radius: 14px;
    gap: 4px;
  }

  .site-nav__item--has-children.is-open > .site-nav__submenu {
    display: flex;
  }

  .site-nav__sublink {
    padding: 8px 0;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  .site-nav__link--cta {
    justify-content: center;
    margin-top: 12px;
  }

  .site-nav__link--outline {
    justify-content: center;
    margin-top: 12px;
  }

  .site-nav__item--icon {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    display: flex;
    padding-inline: 6px;
  }

  .site-nav__item--icon + .site-nav__item--icon {
    margin-top: 4px;
  }

  .site-nav__item--icon .site-nav__link--icon {
    margin: 0;
    padding: 12px 10px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: none;
    background: rgba(248, 250, 255, 0.85);
  }

  .site-nav__icon svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 720px) {
  .site-chrome__inner {
    padding: 16px clamp(18px, 5vw, 24px);
  }

  .site-chrome__cluster {
    width: 100%;
    justify-content: space-between;
  }

  .site-chrome__brand {
    width: clamp(150px, 52vw, 220px);
  }

  .site-chrome__brand-group {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .site-chrome__tagline {
    font-size: 0.6rem;
    letter-spacing: 0.24em;
    padding: 5px 12px;
    margin: 0 auto;
  }
}

/* --------------------------------------------------------------------------
 * Viewer layout
 * ----------------------------------------------------------------------- */

body.viewer-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}

.viewer-app {
  --viewer-shell-max: calc(100vw - clamp(48px, 12vw, 220px));
  --viewer-toolbar-size: 54px;
  --viewer-toolbar-gap: 16px;
  --viewer-panel-radius: clamp(22px, 3vw, 32px);
  --viewer-insights-max: min(1080px, calc(100vw - clamp(72px, 18vw, 320px)));
  background:
    radial-gradient(circle at -12% -18%, rgba(210, 35, 42, 0.18), transparent 55%),
    radial-gradient(circle at 120% 0%, rgba(90, 123, 255, 0.12), transparent 60%),
    linear-gradient(165deg, #f6f8fb 0%, #fbf7f3 52%, #ffffff 100%);
}

.viewer-app .site-footer {
  display: none;
}

.viewer-app main {
  position: relative;
  flex: 1;
  padding: clamp(28px, 4vw, 60px) clamp(20px, 8vw, 96px) clamp(96px, 12vw, 144px);
}

.viewer-shell {
  position: relative;
  margin: 0 auto;
  width: min(100%, var(--viewer-shell-max));
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 56px);
}

.viewer-stage {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: clamp(640px, 82vh, 1080px);
}

.viewer-stage__frame {
  position: relative;
  flex: 1;
  border-radius: clamp(38px, 5vw, 56px);
  padding: clamp(28px, 3.4vw, 56px);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(240, 244, 251, 0.92)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 48px 96px rgba(17, 19, 23, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

#svg-container {
  position: relative;
  flex: 1;
  border-radius: clamp(30px, 4.8vw, 52px);
  display: grid;
  place-items: center;
  background: #ffffff;
  min-height: clamp(600px, 80vh, 1020px);
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}

@media (max-width: 1280px) {
  .viewer-app {
    --viewer-shell-max: calc(100vw - clamp(36px, 10vw, 96px));
  }

  .viewer-stage {
    min-height: clamp(560px, 78vh, 960px);
  }

  #svg-container {
    min-height: clamp(520px, 74vh, 920px);
  }
}

@media (max-width: 960px) {
  .viewer-app {
    --viewer-shell-max: calc(100vw - clamp(24px, 8vw, 72px));
  }

  .viewer-stage {
    min-height: clamp(520px, 76vh, 880px);
  }

  #svg-container {
    min-height: clamp(480px, 72vh, 840px);
  }

  .viewer-insights {
    padding: clamp(24px, 6vw, 40px);
  }
}

@media (max-width: 720px) {
  .viewer-app main {
    padding: clamp(20px, 6vw, 32px) clamp(16px, 6vw, 32px) clamp(80px, 14vw, 120px);
  }

  .viewer-shell {
    gap: clamp(28px, 6vw, 40px);
  }

  .viewer-stage {
    min-height: clamp(480px, 78vh, 760px);
  }

  #svg-container {
    min-height: clamp(420px, 74vh, 720px);
  }
}

#svg-container.grabbing {
  cursor: grabbing;
}

#svg-container svg,
#svg-container .viewer-empty {
  grid-area: 1 / 1;
}

#svg-container .viewer-empty {
  align-self: center;
  justify-self: center;
}

#svg-container svg {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: contain;
}

.viewer-empty {
  max-width: min(520px, 88vw);
  padding: 2.4rem 2.1rem;
  border-radius: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 34px 65px rgba(17, 19, 23, 0.14);
  color: #111827;
  font: 500 1rem/1.6 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.viewer-empty h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 650;
  color: #0f172a;
}

.viewer-empty p {
  margin: 0;
  color: #1f2937;
}

.viewer-empty a {
  color: #c81e1e;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 30, 30, 0.4);
}

.viewer-empty a:hover,
.viewer-empty a:focus {
  color: #a4161a;
  border-bottom-color: rgba(164, 22, 26, 0.7);
}
#toolbar {
  position: absolute;
  top: 50%;
  left: clamp(32px, 6vw, 52px);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: var(--viewer-toolbar-gap);
  padding: 16px;
  border-radius: 22px;
  background: rgba(20, 27, 45, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(18px);
  z-index: 3;
}

#toolbar button {
  width: var(--viewer-toolbar-size);
  height: var(--viewer-toolbar-size);
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #f8fafc;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#toolbar button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

#toolbar button:hover,
#toolbar button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.3);
  transform: translateY(-1px);
}

#toolbar button:active {
  transform: translateY(1px) scale(0.97);
}

#toolbar button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

#toolbar button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(148, 163, 184, 0.3);
  border-color: rgba(148, 163, 184, 0.4);
  box-shadow: none;
}

.viewer-insights {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
  position: relative;
  z-index: 1;
  padding: clamp(28px, 4vw, 48px);
  border-radius: clamp(32px, 5vw, 52px);
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.94), rgba(241, 246, 255, 0.98));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 42px 88px rgba(17, 19, 23, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  max-width: var(--viewer-insights-max);
  width: 100%;
  margin: 0 auto;
}

.viewer-insights__header {
  display: grid;
  gap: 10px;
}

.viewer-insights__eyebrow {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(24, 28, 36, 0.55);
}

.viewer-insights__title {
  margin: 0;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 1.2;
  color: #1f2329;
}

.viewer-insights__subtitle {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(31, 35, 41, 0.68);
}

.viewer-insights__stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.viewer-panel {
  border-radius: var(--viewer-panel-radius);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 28px 55px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
  padding: 1.25rem 1.35rem;
}

.viewer-panel strong.panel-title,
.viewer-panel strong {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #1f2329;
}

#metadata-box,
#description-box {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(31, 35, 41, 0.74);
}
.legend-panel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.legend-panel__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1f2329;
  font-weight: 700;
}

.legend-panel__title::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d2232a;
  box-shadow: 0 0 0 4px rgba(210, 35, 42, 0.22);
}

.legend-panel__entries {
  display: grid;
  gap: 12px;
  max-height: min(46vh, 260px);
  overflow-y: auto;
  padding-right: 4px;
}

.legend-panel__entries .legend-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #1f2329;
}

.legend-panel__entries .legend-swatch {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.legend-panel__entries .legend-label {
  flex: 1;
  min-width: 0;
  font-weight: 500;
  word-break: break-word;
}

.viewer-settings-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 3.5vw, 32px);
  border-radius: clamp(28px, 4.5vw, 40px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 252, 0.96));
  border: 1px solid rgba(120, 132, 150, 0.16);
  box-shadow: 0 28px 55px rgba(17, 19, 23, 0.12);
}

.viewer-settings-shell__header {
  display: grid;
  gap: 8px;
}

.viewer-settings-shell__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(24, 28, 36, 0.55);
}

.viewer-settings-shell__title {
  margin: 0;
  font-size: 1.35rem;
  color: #1f2329;
}

.viewer-settings-shell__description {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(31, 35, 41, 0.68);
}
#settings-panel {
  position: static;
  padding: 1.2rem 1.3rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#settings-panel.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.viewer-app .viewer-settings-shell {
  display: none !important;
}

.viewer-app #chip-id-badge {
  display: none !important;
}

#settings-panel label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: rgba(31, 35, 41, 0.78);
}

#settings-panel label span {
  font-weight: 600;
  letter-spacing: 0.02em;
}

#settings-panel label.inline-control {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

#settings-panel label.inline-control span {
  flex: 1;
}

#settings-panel input[type="number"],
#settings-panel input[type="color"] {
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0.7rem;
  font-size: 0.92rem;
  background: rgba(244, 247, 252, 0.9);
  color: #1f2329;
  min-width: 140px;
}

#settings-panel input[type="number"] {
  width: 100%;
}

#settings-panel input[type="color"] {
  padding: 0;
  width: 44px;
  height: 34px;
  border-radius: 12px;
  cursor: pointer;
}

#settings-panel input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--fx-accent);
}

#settings-panel .settings-panel__hint {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.55);
}

#metadata-content table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

#metadata-content td {
  padding: 0.25rem 0.35rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(31, 35, 41, 0.68);
  vertical-align: top;
  word-break: break-word;
  overflow-wrap: anywhere;
}

#metadata-content td:first-child {
  width: 32%;
  font-weight: 600;
  color: #1f2329;
  padding-right: 0.75rem;
  white-space: nowrap;
}
#chip-id-badge {
  position: absolute;
  top: clamp(24px, 5vw, 42px);
  right: clamp(24px, 5vw, 42px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.45rem, 1.1vw, 0.65rem) clamp(0.9rem, 2.2vw, 1.4rem);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #f8fafc;
  font-size: clamp(0.62rem, 1.1vw, 0.78rem);
  font-weight: 700;
  letter-spacing: clamp(0.12em, 0.32vw, 0.18em);
  text-transform: uppercase;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.35);
  pointer-events: none;
  max-width: clamp(180px, 32vw, 320px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(14px);
}

#hud-cluster {
  position: absolute;
  left: clamp(32px, 6vw, 56px);
  bottom: clamp(28px, 7vh, 80px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}

#hud-cluster .viewer-panel {
  margin: 0;
  padding: 0.75rem 1.1rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(31, 35, 41, 0.68);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
}

#scale-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

#scale-line {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.35));
}

#scale-label {
  font-weight: 600;
  color: #1f2329;
}

.viewer-app .viewer-panel.hidden {
  display: none !important;
}

/* Responsive adjustments */
@media (max-width: 1180px) {
  #toolbar {
    top: auto;
    bottom: clamp(28px, 8vh, 72px);
    left: 50%;
    transform: translate(-50%, 0);
    flex-direction: row;
    padding: 14px 18px;
  }

  #chip-id-badge {
    position: relative;
    top: auto;
    right: auto;
    margin: 0 auto;
    max-width: min(72%, 320px);
  }

  #hud-cluster {
    position: relative;
    left: auto;
    bottom: auto;
    align-items: center;
  }
}

@media (max-width: 960px) {
  .viewer-stage__frame {
    padding: clamp(20px, 4vw, 32px);
  }

  #svg-container {
    min-height: clamp(360px, 55vh, 520px);
  }

  .viewer-insights__stack,
  .viewer-settings-shell {
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .viewer-settings-shell {
    padding: 20px;
    border-radius: 24px;
  }

  #toolbar button {
    width: 48px;
    height: 48px;
  }

  #chip-id-badge {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    padding: 0.5rem 1.1rem;
    max-width: min(82%, 260px);
  }

  #hud-cluster .viewer-panel {
    font-size: 0.76rem;
    padding: 0.65rem 0.95rem;
  }
}


/* ---- Viewer hotfixes (badge + large-screen stage) ---- */

/* So the ID badge stays compact on small screens and never overwhelms */
#chip-id-badge{
  /* tighter placement at all sizes */
  top: clamp(12px, 2vw, 28px);
  right: clamp(12px, 2vw, 28px);

  /* responsive text + padding that actually shrinks on tiny widths */
  font-size: clamp(0.62rem, 1.2vw, 0.78rem);
  padding: clamp(6px, 1.2vw, 10px) clamp(10px, 1.6vw, 18px);

  /* keep label from eating the screen */
  max-width: min(46ch, 48vw);
}

/* When the layout stacks (<=1180px), keep the badge small and centered */
@media (max-width:1180px){
  #chip-id-badge{
    margin: 8px auto 0;
    font-size: clamp(0.6rem, 3.2vw, 0.74rem);
    padding: 8px 12px;
  }
}

/* Let the stage and SVG grow on large monitors (remove the 720px ceiling) */
.viewer-stage{
  min-height: clamp(520px, 62vh, 86vh);
}
#svg-container{
  min-height: clamp(420px, 54vh, 80vh);
}

/* Prevent odd aspect behavior: let SVG keep aspect and fill height sensibly */
#svg-container svg{
  width: 100%;
  height: auto;          /* was 100% height; this avoids distortion in wide shells */
  max-height: 100%;
  object-fit: contain;
}

/* Viewer hotfixes */
#chip-id-badge{
  top: clamp(12px, 2vw, 28px);
  right: clamp(12px, 2vw, 28px);
  font-size: clamp(0.62rem, 1.2vw, 0.78rem);
  padding: clamp(6px, 1.2vw, 10px) clamp(10px, 1.6vw, 18px);
  max-width: min(46ch, 48vw);
}
@media (max-width:1180px){
  #chip-id-badge{ margin: 8px auto 0; font-size: clamp(0.6rem, 3.2vw, 0.74rem); padding: 8px 12px; }
}
.viewer-stage{ min-height: clamp(520px, 62vh, 86vh); }
#svg-container{ min-height: clamp(420px, 54vh, 80vh); }
#svg-container svg{ width: 100%; height: auto; max-height: 100%; object-fit: contain; }

/* Compact chip ID badge on small screens */
@media (max-width: 600px){
  #chip-id-badge{
    top: 10px;
    right: 10px;
    font-size: clamp(0.56rem, 3.4vw, 0.68rem);
    padding: 6px 10px;
    letter-spacing: 0.08em;          /* was 0.18em */
    max-width: 62vw;                  /* tighter cap */
    z-index: 4;                       /* sit above toolbar strip */
  }
}

/* If your IDs can be long, let them wrap instead of overflowing */
@media (max-width: 420px){
  #chip-id-badge{
    white-space: normal;              /* allow wrap */
    line-height: 1.2;
    text-overflow: clip;
  }
}


/* Mobile: tame text that lives inside the SVG */
@media (max-width: 600px){
  /* make ALL svg text tiny so it doesn't overwhelm */
  #svg-container svg text,
  #svg-container svg tspan{
    font-size: 8px !important;
    letter-spacing: 0 !important;
  }

  /* …and hide common "title" layers if present */
  #svg-container svg [id*="title" i],
  #svg-container svg [class*="title" i],
  #svg-container svg [id*="chip" i][id*="name" i],
  #svg-container svg [id*="chip" i][id*="id" i]{
    display: none !important;
  }
}
@media (max-width: 600px){
  #chip-id-badge{
    font-size: clamp(0.56rem, 3.4vw, 0.68rem);
    padding: 6px 10px;
    letter-spacing: 0.08em;
    max-width: 62vw;
  }
}
