:root {
  --js-black: #08080a;
  --js-charcoal: #111114;
  --js-dark: #1a1a1f;
  --js-gold: #c59e51;
  --js-gold-light: #e0c078;
  --js-gold-dim: #8c6c30;
  --js-white: #e6e1d7;
  --js-muted: #a8a29a;
  --js-rule: rgba(230, 225, 215, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--js-black);
  color: var(--js-white);
  overflow-x: hidden;
}

::selection {
  background: rgba(197, 158, 81, 0.22);
  color: var(--js-white);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--js-black);
}

::-webkit-scrollbar-thumb {
  background: rgba(197, 158, 81, 0.45);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(197, 158, 81, 0.7);
}

.site-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.045;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.09) 0, transparent 22%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.08) 0, transparent 18%),
    radial-gradient(circle at 30% 80%, rgba(255,255,255,0.06) 0, transparent 20%);
}

main,
footer,
header {
  position: relative;
  z-index: 2;
}

body.menu-open {
  overflow: hidden;
}

.site-header {
  transition:
    background-color 0.35s ease,
    backdrop-filter 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  background: transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8, 8, 10, 0.42), rgba(8, 8, 10, 0.08));
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

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

.site-header__inner {
  position: relative;
  z-index: 2;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(230, 225, 215, 0.08);
  transition: border-color 0.35s ease;
}

.site-header.is-scrolled .site-header__inner {
  border-bottom-color: rgba(197, 158, 81, 0.12);
}

/* Niche ticker — below nav, infinite horizontal scroll (solid bar + gold dots) */
.site-niche-ticker {
  position: relative;
  z-index: 2;
  background: #111111;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-niche-ticker__viewport {
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 2.5%,
    #000 97.5%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 2.5%,
    #000 97.5%,
    transparent 100%
  );
}

.site-niche-ticker__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  padding: 1.15rem 0;
  min-height: 3.55rem;
  will-change: transform;
  backface-visibility: hidden;
  animation-name: site-niche-ticker-scroll;
  animation-duration: 65s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-fill-mode: none;
}

.site-niche-ticker__set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  /* Equal space between every item ↔ dot ↔ item; padding-right MUST equal gap for a seamless loop */
  gap: 2.35rem;
  padding-right: 2.35rem;
  box-sizing: border-box;
}

.site-niche-ticker__item {
  font-family: "Jura", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a0a0a0;
  white-space: nowrap;
  padding: 0;
}

.site-niche-ticker__sep {
  display: block;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #c5a028;
  margin: 0;
  user-select: none;
  pointer-events: none;
}

@media (min-width: 768px) {
  .site-niche-ticker__set {
    gap: 2.75rem;
    padding-right: 2.75rem;
  }

  .site-niche-ticker__item {
    font-size: 0.76rem;
    letter-spacing: 0.13em;
  }

  .site-niche-ticker__track {
    padding: 1.25rem 0;
    min-height: 3.7rem;
  }

  .site-niche-ticker__sep {
    width: 8px;
    height: 8px;
  }
}

@media (min-width: 1280px) {
  .site-niche-ticker__set {
    gap: 3.1rem;
    padding-right: 3.1rem;
  }

  .site-niche-ticker__item {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
  }

  .site-niche-ticker__track {
    padding: 1.35rem 0;
    min-height: 3.85rem;
  }
}

@keyframes site-niche-ticker-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-niche-ticker__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
    gap: 0.65rem 0.85rem;
  }

  .site-niche-ticker__set {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding-right: 0;
  }

  .site-niche-ticker__set--clone {
    display: none;
  }

  .site-niche-ticker__viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-nav {
  gap: 2rem;
}

.nav-link,
.mobile-nav-link,
.footer-link {
  position: relative;
  text-decoration: none;
  color: var(--js-white);
  transition: color 0.25s ease, opacity 0.25s ease;
}

.nav-link {
  font-family: "Jura", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  opacity: 0.92;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(197, 158, 81, 0.95) 20%,
    rgba(224, 192, 120, 1) 50%,
    rgba(197, 158, 81, 0.95) 80%,
    transparent 100%
  );
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.32s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--js-gold-light);
  opacity: 1;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  margin-left: 2.5rem;
}

.mobile-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(197, 158, 81, 0.2);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.02);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.mobile-toggle:hover {
  border-color: rgba(224, 192, 120, 0.45);
  background: rgba(197, 158, 81, 0.06);
}

.mobile-toggle__line {
  width: 18px;
  height: 1.5px;
  background: var(--js-white);
  border-radius: 999px;
  transition:
    transform 0.28s ease,
    opacity 0.2s ease,
    background 0.25s ease;
}

.mobile-toggle.is-active .mobile-toggle__line:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.mobile-toggle.is-active .mobile-toggle__line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-active .mobile-toggle__line:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.mobile-panel {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.96), rgba(17, 17, 20, 0.98));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(197, 158, 81, 0.1);
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.mobile-panel.is-open {
  opacity: 1;
  transform: translateY(0);
}

.mobile-panel__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0;
  color: var(--js-white);
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--js-gold-light);
}

.mobile-nav-link.is-active {
  text-shadow: 0 0 22px rgba(197, 158, 81, 0.14);
}

.footer-link:hover {
  color: var(--js-gold-light);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.92rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 158, 81, 0.32);
  background: linear-gradient(180deg, rgb(44 32 8 / 16%), rgb(242 164 7 / 27%));
  color: var(--js-white);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
  box-shadow:
    0 0 0 1px rgba(197, 158, 81, 0.08),
    0 12px 30px rgba(0, 0, 0, 0.26);
}

.btn-primary:hover {
  color: var(--js-white);
  border-color: rgba(224, 192, 120, 0.6);
  background:
    linear-gradient(180deg, rgba(197, 158, 81, 0.22), rgba(197, 158, 81, 0.1));
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(224, 192, 120, 0.12),
    0 18px 38px rgba(0, 0, 0, 0.34);
}

.mono-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--js-gold);
}

.gold-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 158, 81, 0.7), transparent);
}

.hero-section {
  background:
    radial-gradient(circle at top left, rgba(197, 158, 81, 0.08), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(197, 158, 81, 0.05), transparent 24%),
    linear-gradient(180deg, #08080a 0%, #0b0b0e 48%, #08080a 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(230, 225, 215, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 225, 215, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 82%);
  -webkit-mask-image: radial-gradient(circle at center, black 28%, transparent 82%);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.28;
}

.hero-orb--1 {
  width: 320px;
  height: 320px;
  top: 10%;
  left: -80px;
  background: rgba(197, 158, 81, 0.12);
}

.hero-orb--2 {
  width: 240px;
  height: 240px;
  right: 6%;
  top: 18%;
  background: rgba(197, 158, 81, 0.09);
}

.hero-kicker {
  opacity: 0.9;
}

.hero-title {
  max-width: 14.5ch;
  text-wrap: balance;
}

.hero-text {
  text-wrap: pretty;
}

.hero-proof-card {
  position: relative;
  padding: 1.4rem 1.25rem;
  border: 1px solid rgba(197, 158, 81, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-proof-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(224, 192, 120, 0.24),
    rgba(224, 192, 120, 0.02),
    rgba(224, 192, 120, 0.12)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(230, 225, 215, 0.08);
}

.hero-proof-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-proof-number {
  font-family: "Big Shoulders Display", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--js-gold-light);
  text-transform: uppercase;
}

.hero-proof-label {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--js-muted);
}

.hero-bottom {
  position: relative;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.92rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(230, 225, 215, 0.12);
  color: var(--js-white);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    color 0.28s ease;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 192, 120, 0.3);
  color: var(--js-gold-light);
  background: rgba(197, 158, 81, 0.04);
}

@media (max-width: 1023px) {
  .hero-title {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .hero-proof-card {
    padding: 1.2rem 1rem;
    border-radius: 20px;
  }

  .hero-bottom {
    margin-top: 3.5rem;
  }
}

.intro-video-section {
  position: relative;
  background:
    linear-gradient(180deg, #08080a 0%, #0a0a0c 50%, #08080a 100%);
  border-top: 1px solid rgba(230, 225, 215, 0.06);
}

.intro-video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(197, 158, 81, 0.07), transparent 42%);
  opacity: 0.85;
}

.intro-video-heading {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.intro-video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(197, 158, 81, 0.18);
  background:
    linear-gradient(145deg, rgba(17, 17, 20, 0.95), rgba(8, 8, 10, 0.98));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.intro-video-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03) 0%,
      transparent 40%,
      rgba(0, 0, 0, 0.15) 100%
    );
}

.intro-video-placeholder__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 1;
}

.intro-video-placeholder__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  color: var(--js-gold-light);
  background: rgba(197, 158, 81, 0.08);
  border: 1px solid rgba(197, 158, 81, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.intro-video-placeholder__label {
  opacity: 0.85;
}

.intro-video-subtitle {
  text-wrap: balance;
}

.intro-video-text {
  text-wrap: pretty;
}

/* ── Home: Selected use cases — horizontal marquee ───────────────────────── */
.use-cases-showcase {
  position: relative;
}

.use-cases-marquee--bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

.use-cases-marquee__viewport {
  position: relative;
  z-index: 1;
  padding-top: 0.75rem;
  padding-bottom: 1rem;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 4%,
    #000 96%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 4%,
    #000 96%,
    transparent 100%
  );
}

.use-cases-marquee__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(48px, 5vw);
  z-index: 2;
  pointer-events: none;
}

.use-cases-marquee__edge--left {
  left: 0;
  background: linear-gradient(90deg, #09090c, transparent);
}

.use-cases-marquee__edge--right {
  right: 0;
  background: linear-gradient(270deg, #09090c, transparent);
}

.use-cases-marquee__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  padding: 0.35rem 0 0.5rem;
  will-change: transform;
  backface-visibility: hidden;
  animation-name: use-cases-marquee-scroll;
  animation-duration: 140s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-fill-mode: none;
}

.use-cases-marquee__set {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
  /* Trailing space matches gap so one full cycle = exactly 50% of the track */
  padding-right: 1.25rem;
}

.use-cases-marquee:has(.project-slide-card:hover) .use-cases-marquee__track,
.use-cases-marquee:has(.project-slide-card:focus-visible) .use-cases-marquee__track {
  animation-play-state: paused;
}

@keyframes use-cases-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .use-cases-marquee__track {
    animation: none;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    width: 100%;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .use-cases-marquee__set {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 1.25rem;
  }

  .use-cases-marquee__set[aria-hidden="true"] {
    display: none;
  }

  .use-cases-marquee--bleed {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .use-cases-marquee__viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.project-slide-card {
  position: relative;
  flex: 0 0 auto;
  width: min(100vw - 3rem, 22rem);
  max-width: 22rem;
  padding: 1.35rem 1.35rem 1.5rem;
  border-radius: 26px;
  border: 1px solid rgba(230, 225, 215, 0.1);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  outline: none;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease,
    background 0.45s ease;
}

.project-slide-card__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.project-slide-card__title-row .project-slide-card__title {
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}

.project-slide-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: rgba(197, 158, 81, 0.55);
  transition:
    color 0.3s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-slide-card__arrow svg {
  display: block;
}

.project-slide-card:hover,
.project-slide-card:focus-visible {
  transform: scale(1.07);
  z-index: 3;
  border-color: rgba(197, 158, 81, 0.35);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(197, 158, 81, 0.12),
    0 0 48px rgba(197, 158, 81, 0.08);
  background:
    linear-gradient(165deg, rgba(197, 158, 81, 0.09), rgba(255, 255, 255, 0.04));
}

.project-slide-card:hover .project-slide-card__arrow,
.project-slide-card:focus-visible .project-slide-card__arrow {
  color: var(--js-gold-light);
  transform: translate(3px, -3px);
}

.project-slide-card:focus-visible {
  outline: 2px solid rgba(197, 158, 81, 0.55);
  outline-offset: 3px;
}

.project-slide-card__badge {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(230, 225, 215, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--js-muted);
}

.project-slide-card__badge--gold {
  border-color: rgba(197, 158, 81, 0.22);
  background: rgba(197, 158, 81, 0.08);
  color: var(--js-gold-light);
}

.project-slide-card__tag {
  border-radius: 999px;
  border: 1px solid rgba(230, 225, 215, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem 0.65rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--js-muted);
}

.reach-out-title {
  text-wrap: balance;
}

.reach-out-intro {
  text-wrap: pretty;
  max-width: 52ch;
}

/* Flat 5-column process strip + hover “card” lift */
.reach-out-steps-strip {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(230, 225, 215, 0.14);
  border-bottom: 1px solid rgba(230, 225, 215, 0.14);
  isolation: isolate;
  overflow: visible;
}

.reach-out-step {
  position: relative;
  margin: 0;
  padding: 0.45rem 0.4rem;
}

.reach-out-step + .reach-out-step {
  border-top: 1px solid rgba(230, 225, 215, 0.12);
}

.reach-out-step__surface {
  position: relative;
  height: 100%;
  text-align: left;
  padding: 1.85rem 1.2rem;
  border-radius: 20px;
  border: 1px solid transparent;
  background: transparent;
  cursor: default;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease,
    background 0.45s ease;
  will-change: transform;
}

.reach-out-step__surface::before {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(197, 158, 81, 0.55),
    rgba(224, 192, 120, 0.85),
    rgba(197, 158, 81, 0.55),
    transparent
  );
  opacity: 0;
  transform: scaleX(0.6);
  transition:
    opacity 0.4s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reach-out-step:hover .reach-out-step__surface {
  transform: scale(1.055) translateY(-8px);
  border-color: rgba(197, 158, 81, 0.35);
  background:
    linear-gradient(
      165deg,
      rgba(197, 158, 81, 0.12) 0%,
      rgba(255, 255, 255, 0.06) 42%,
      rgba(8, 8, 10, 0.65) 100%
    );
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(197, 158, 81, 0.15),
    0 0 48px rgba(197, 158, 81, 0.12);
  z-index: 2;
}

.reach-out-step:hover .reach-out-step__surface::before {
  opacity: 1;
  transform: scaleX(1);
}

.reach-out-step:hover {
  z-index: 3;
}

.reach-out-step__index {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--js-gold);
  margin: 0 0 1.15rem;
  transition: color 0.35s ease, letter-spacing 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.reach-out-step:hover .reach-out-step__index {
  color: var(--js-gold-light);
  letter-spacing: 0.24em;
}

.reach-out-step__title {
  font-family: "Big Shoulders Display", sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--js-white);
  margin: 0 0 0.85rem;
  transition: color 0.3s ease;
}

.reach-out-step:hover .reach-out-step__title {
  color: #f0ebe3;
}

.reach-out-step__text {
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--js-muted);
  margin: 0;
  max-width: 30ch;
  transition: color 0.3s ease;
}

.reach-out-step:hover .reach-out-step__text {
  color: rgba(230, 225, 215, 0.88);
}

@media (prefers-reduced-motion: reduce) {
  .reach-out-step__surface,
  .reach-out-step__surface::before,
  .reach-out-step__index {
    transition: none;
  }

  .reach-out-step:hover .reach-out-step__surface {
    transform: none;
  }

  .reach-out-step:hover .reach-out-step__surface::before {
    opacity: 0.85;
    transform: none;
  }
}

@media (min-width: 1024px) {
  .reach-out-steps-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .reach-out-step {
    padding: 0.5rem 0.45rem;
    min-height: 100%;
  }

  .reach-out-step + .reach-out-step {
    border-top: 0;
    border-left: 1px solid rgba(230, 225, 215, 0.12);
  }

  .reach-out-step__surface {
    padding: 2.15rem 1.25rem 2.45rem;
  }

  .reach-out-step__text {
    font-size: 1rem;
    max-width: none;
  }
}

@media (min-width: 1280px) {
  .reach-out-step__surface {
    padding: 2.55rem 1.5rem 2.85rem;
  }

  .reach-out-step__title {
    font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  }

  .reach-out-step__text {
    font-size: 1.05rem;
  }
}

.brand-thesis-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0)),
    linear-gradient(180deg, #08080a 0%, #0a0a0d 100%);
}

.brand-thesis-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(197, 158, 81, 0.06), transparent 26%),
    radial-gradient(circle at 78% 70%, rgba(197, 158, 81, 0.04), transparent 24%);
  opacity: 0.9;
}

.thesis-wrap {
  position: relative;
  padding-top: 0.25rem;
}

.thesis-title {
  max-width: 11ch;
  text-wrap: balance;
}

.thesis-text {
  max-width: 64ch;
  text-wrap: pretty;
}

.thesis-text--lead {
  max-width: 34ch;
}

.thesis-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(230, 225, 215, 0.08);
}

.thesis-point {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 0 0;
}

.thesis-point__index {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--js-gold);
}

.thesis-point__text {
  font-family: "Big Shoulders Display", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--js-white);
}

@media (max-width: 1023px) {
  .thesis-title,
  .thesis-text--lead,
  .thesis-text {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .thesis-points {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .thesis-point {
    padding-top: 0.9rem;
    border-top: 1px solid rgba(230, 225, 215, 0.06);
  }

  .thesis-point:first-child {
    border-top: 0;
  }
}

.capabilities-section {
  position: relative;
  background:
    linear-gradient(180deg, #0a0a0d 0%, #09090c 100%);
}

.capabilities-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 18%, rgba(197, 158, 81, 0.05), transparent 24%),
    radial-gradient(circle at 18% 74%, rgba(197, 158, 81, 0.04), transparent 22%);
}

.capabilities-title {
  max-width: 11ch;
  text-wrap: balance;
}

.capabilities-intro {
  text-wrap: pretty;
}

.capabilities-grid {
  position: relative;
}

.capability-card {
  position: relative;
  min-height: 320px;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: 28px;
  border: 1px solid rgba(230, 225, 215, 0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.025);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.capability-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(197, 158, 81, 0.12), transparent 28%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.capability-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 158, 81, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.02));
  box-shadow:
    0 26px 54px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.03);
}

.capability-card:hover::before {
  opacity: 1;
}

.capability-card--large {
  min-height: 360px;
}

.capability-card--accent {
  border-color: rgba(197, 158, 81, 0.14);
  background:
    linear-gradient(180deg, rgba(197, 158, 81, 0.06), rgba(255,255,255,0.02));
}

.capability-card__top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.capability-card__index {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--js-gold);
  flex-shrink: 0;
}

.capability-card__line {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(197, 158, 81, 0.4),
    rgba(230, 225, 215, 0.05)
  );
}

.capability-card__title {
  max-width: 12ch;
  margin: 0 0 1rem;
  font-family: "Big Shoulders Display", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--js-white);
}

.capability-card__text {
  margin: 0 0 1.5rem;
  max-width: 34ch;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--js-muted);
  text-wrap: pretty;
}

.capability-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-card__tags li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(230, 225, 215, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--js-white);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 1023px) {
  .capabilities-title {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .capability-card,
  .capability-card--large {
    min-height: auto;
    padding: 1.25rem 1rem 1rem;
    border-radius: 22px;
  }

  .capability-card__top {
    margin-bottom: 1.4rem;
  }

  .capability-card__title,
  .capability-card__text {
    max-width: 100%;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Icon Frame
   Premium framed container for Lucide inline SVGs.
   ───────────────────────────────────────────────────────────────────────────── */
.icon-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid rgba(197, 158, 81, 0.2);
  background: rgba(197, 158, 81, 0.07);
  color: var(--js-gold-light);
  flex-shrink: 0;
  margin-bottom: 1.1rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.icon-frame:hover,
article:hover .icon-frame {
  border-color: rgba(197, 158, 81, 0.38);
  background: rgba(197, 158, 81, 0.12);
}

.icon-frame--sm {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  margin-bottom: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   External Link (archive cards, ETS cards)
   ───────────────────────────────────────────────────────────────────────────── */
.card-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 1.1rem;
  padding: 5px 10px 5px 0;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--js-gold-light);
  opacity: 0.9;
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 158, 81, 0.3);
  transition: opacity 0.22s ease, gap 0.22s ease, border-color 0.22s ease;
}

.card-link:hover {
  opacity: 1;
  gap: 10px;
  border-bottom-color: rgba(197, 158, 81, 0.75);
}

.card-link svg {
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.card-link:hover svg {
  transform: translate(3px, -3px);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Capability Row — horizontal rail variant (overrides .capability-card visuals)
   ───────────────────────────────────────────────────────────────────────────── */
.cap-row {
  min-height: auto !important;
  border-radius: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.cap-row:hover {
  transform: none !important;
  background: rgba(255, 255, 255, 0.018) !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

.cap-row:hover::before {
  opacity: 0 !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Proof strip cells — horizontal stat display (overrides .proof-card if used)
   ───────────────────────────────────────────────────────────────────────────── */
.proof-strip-cell {
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.proof-strip-cell:hover {
  transform: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Numbered list rail — editorial vertical list with dividers
   ───────────────────────────────────────────────────────────────────────────── */
.list-rail-row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(230, 225, 215, 0.08);
  transition: background 0.2s ease;
}

.list-rail-row:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .list-rail-row {
    grid-template-columns: 3.5rem minmax(0, 1fr) auto;
    gap: 2rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Stat strip — unified panel with internal dividers (no individual card borders)
   ───────────────────────────────────────────────────────────────────────────── */
.stat-strip {
  border: 1px solid rgba(230, 225, 215, 0.07);
  border-radius: 28px;
  overflow: hidden;
}

.stat-strip-cell {
  padding: 2rem 1.75rem;
}

@media (min-width: 640px) {
  .stat-strip-cell {
    padding: 2.25rem 2rem;
  }
}

/* Let's Talk — hash link #inquiry clears fixed header */
#inquiry.talk-inquiry-section {
  scroll-margin-top: max(5.75rem, 92px);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Premium form inputs
   ───────────────────────────────────────────────────────────────────────────── */
.form-label {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--js-muted);
  margin-bottom: 0.5rem;
}

.form-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(230, 225, 215, 0.1);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  color: var(--js-white);
  font-family: "Jura", sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  resize: none;
}

.form-field:focus {
  border-color: rgba(197, 158, 81, 0.38);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 3px rgba(197, 158, 81, 0.06);
}

.form-field::placeholder {
  color: var(--js-muted);
  opacity: 0.65;
}

select.form-field {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a8a29a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select.form-field option {
  background: #111114;
  color: var(--js-white);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Archive list rows — compact project list inside archive sections
   Padding and layout handled by Tailwind utilities on the element.
   ───────────────────────────────────────────────────────────────────────────── */
.archive-list-item {
  display: block;
  border-bottom: 1px solid rgba(230, 225, 215, 0.07);
  transition: background 0.2s ease;
}

.archive-list-item:last-child {
  border-bottom: none;
}

.archive-list-item:hover {
  background: rgba(255, 255, 255, 0.016);
}

/* ─────────────────────────────────────────────────────────────────────────────
   data-page — Body-level polish
   Stronger active nav, per-page header mood, section separator variety.
   ───────────────────────────────────────────────────────────────────────────── */

/* Universal: active nav links get full gold treatment */
body[data-page] .nav-link.is-active {
  color: var(--js-gold-light) !important;
  opacity: 1 !important;
}

body[data-page] .nav-link.is-active::after {
  transform: scaleX(1);
  background: var(--js-gold);
}

/* Home — warm header on scroll */
body[data-page="home"] .site-header.is-scrolled {
  background: rgba(10, 8, 5, 0.84);
  border-bottom-color: rgba(197, 158, 81, 0.14);
}

/* Use Cases — slightly warmer hero zone */
body[data-page="use-cases"] .site-header.is-scrolled {
  background: rgba(9, 8, 6, 0.86);
}

/* Consultancy — more institutional, cooler tone */
body[data-page="consultancy"] .site-header.is-scrolled {
  background: rgba(6, 6, 10, 0.9);
}

/* Let's Talk — gold accent border on scroll */
body[data-page="lets-talk"] .site-header.is-scrolled {
  border-bottom-color: rgba(197, 158, 81, 0.18);
}

/* Section separator: gold rule on home page */
body[data-page="home"] .gold-rule {
  background: linear-gradient(90deg,
    var(--js-gold-dim) 0%,
    rgba(197, 158, 81, 0.18) 55%,
    transparent 100%
  );
}

/* Section separator: brighter rule on let's talk */
body[data-page="lets-talk"] .gold-rule {
  background: linear-gradient(90deg,
    var(--js-gold) 0%,
    rgba(197, 158, 81, 0.22) 45%,
    transparent 100%
  );
}

/* Selected card emphasis: accent card gets stronger glow on use-cases page */
body[data-page="use-cases"] .ets-company-card:nth-child(3),
body[data-page="use-cases"] .archive-card:first-child {
  border-color: rgba(197, 158, 81, 0.22);
}

/* Hero mood: home gets stronger orb presence */
body[data-page="home"] .hero-section::before {
  opacity: 0.06;
}

/* About: slightly cooler header */
body[data-page="about"] .site-header.is-scrolled {
  background: rgba(8, 7, 11, 0.88);
}

/* ─── WhatsApp Floating Action Button ─────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0,0,0,0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  text-decoration: none;
}

.whatsapp-fab:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45), 0 4px 14px rgba(0,0,0,0.4);
  background: #20c05c;
}

.whatsapp-fab:active {
  transform: scale(0.97);
}

.whatsapp-fab__tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: rgba(12, 11, 15, 0.92);
  color: rgba(230, 225, 215, 0.9);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
  backdrop-filter: blur(8px);
}

.whatsapp-fab:hover .whatsapp-fab__tooltip {
  opacity: 1;
}

@media (max-width: 640px) {
  .whatsapp-fab {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 3rem;
    height: 3rem;
  }

  .whatsapp-fab__tooltip {
    display: none;
  }
}
