/* ==========================================================================
   InfoSoftCrux — design system
   Hand-authored, dependency-free. No Bootstrap, no framework, no build step.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Inter var';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Sora var';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/sora-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Surfaces — near-black with a blue cast so accents read as light, not paint */
  --bg: #05060f;
  --bg-soft: #080a18;
  --bg-elev: #0c0f21;
  --surface: rgba(255, 255, 255, 0.032);
  --surface-strong: rgba(255, 255, 255, 0.058);
  --hairline: rgba(255, 255, 255, 0.09);
  --hairline-strong: rgba(255, 255, 255, 0.16);

  /* Ink */
  --text: #eef0fb;
  --text-soft: #b6bcd9;
  --text-dim: #8189ad;

  /* Brand */
  --brand: #6366f1;
  --brand-bright: #818cf8;
  --cyan: #22d3ee;
  --violet: #c084fc;
  --mint: #34d399;

  --brand-rgb: 99, 102, 241;
  --cyan-rgb: 34, 211, 238;
  --violet-rgb: 192, 132, 252;

  --gradient-brand: linear-gradient(120deg, var(--cyan), var(--brand-bright) 46%, var(--violet));

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.95);
  --glow: 0 0 0 1px rgba(var(--brand-rgb), 0.35), 0 20px 60px -22px rgba(var(--brand-rgb), 0.65);

  /* Rhythm */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.45s;

  --header-h: 76px;
  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   3. Reset
   -------------------------------------------------------------------------- */

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter var', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

/* Keeps <picture> out of the layout so the inner <img> stays a direct child */
picture {
  display: contents;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(var(--brand-rgb), 0.42);
  color: #fff;
}

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Sora var', 'Inter var', ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.65rem);
  font-weight: 700;
  letter-spacing: -0.042em;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  letter-spacing: -0.038em;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  text-wrap: pretty;
}

.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: var(--text-soft);
  line-height: 1.62;
}

.muted {
  color: var(--text-dim);
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mono {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

/* --------------------------------------------------------------------------
   5. Layout primitives
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: 1400px;
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.stack > * + * {
  margin-top: var(--stack-gap, 1rem);
}

.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus-visible {
  top: 1rem;
}

/* Section heading block */
.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
  padding: 0.35rem 0.85rem 0.35rem 0.6rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(var(--cyan-rgb), 0.18);
}

.section-head p {
  margin-top: 1.1rem;
}

/* --------------------------------------------------------------------------
   6. Ambient background — aurora + grid + grain
   -------------------------------------------------------------------------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient__grid {
  position: absolute;
  inset: -50%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 10%, transparent 72%);
}

.ambient__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
  will-change: transform;
}

.ambient__blob--1 {
  width: 46vw;
  height: 46vw;
  min-width: 380px;
  min-height: 380px;
  top: -14vw;
  left: -8vw;
  background: radial-gradient(circle, rgba(var(--brand-rgb), 0.6), transparent 68%);
  animation: drift-a 26s var(--ease-in-out) infinite alternate;
}

.ambient__blob--2 {
  width: 38vw;
  height: 38vw;
  min-width: 320px;
  min-height: 320px;
  top: 6vw;
  right: -10vw;
  background: radial-gradient(circle, rgba(var(--cyan-rgb), 0.4), transparent 68%);
  animation: drift-b 32s var(--ease-in-out) infinite alternate;
}

.ambient__blob--3 {
  width: 42vw;
  height: 42vw;
  min-width: 320px;
  min-height: 320px;
  top: 58vh;
  left: 34vw;
  background: radial-gradient(circle, rgba(var(--violet-rgb), 0.3), transparent 70%);
  animation: drift-c 38s var(--ease-in-out) infinite alternate;
}

.ambient__noise {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.36'/%3E%3C/svg%3E");
}

@keyframes drift-a {
  to {
    transform: translate3d(9vw, 7vh, 0) scale(1.16);
  }
}

@keyframes drift-b {
  to {
    transform: translate3d(-11vw, 10vh, 0) scale(1.22);
  }
}

@keyframes drift-c {
  to {
    transform: translate3d(-8vw, -12vh, 0) scale(1.1);
  }
}

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--surface-strong);
  --btn-fg: var(--text);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
    background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), opacity 0.2s linear;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

.btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand) 0%, #7c3aed 55%, #4f46e5 100%);
  color: #fff;
  box-shadow: 0 14px 34px -14px rgba(var(--brand-rgb), 0.9);
}

/* Sheen sweep on hover */
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.42) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease-out);
}

.btn--primary:hover::after {
  transform: translateX(130%);
}

.btn--primary:hover {
  box-shadow: 0 20px 46px -14px rgba(var(--brand-rgb), 1);
}

.btn--ghost:hover {
  background: var(--surface-strong);
  border-color: var(--hairline-strong);
}

.btn--lg {
  padding: 1.05rem 2rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.86rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn[aria-busy='true'] {
  opacity: 0.62;
  pointer-events: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Arrow that nudges on hover */
.btn .arrow {
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* Plain inline link with animated underline */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-bright);
  font-weight: 550;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s var(--ease-out), color 0.2s linear;
}

.link:hover {
  background-size: 100% 1px;
}

/* --------------------------------------------------------------------------
   8. Cards & glass surfaces
   -------------------------------------------------------------------------- */

.card {
  position: relative;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

/* Cursor-tracking spotlight, driven by --mx/--my set in JS */
.card--spot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(var(--brand-rgb), 0.16),
    transparent 62%
  );
  transition: opacity 0.35s var(--ease-out);
}

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

.card--spot:hover {
  transform: translateY(-4px);
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   9. Header / navigation
   -------------------------------------------------------------------------- */

.topbar {
  position: relative;
  z-index: 60;
  border-bottom: 1px solid var(--hairline);
  background: rgba(5, 6, 15, 0.72);
  font-size: 0.83rem;
  color: var(--text-dim);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 42px;
  padding-block: 0.35rem;
}

.topbar__group {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s linear;
}

.topbar a:hover {
  color: var(--text);
}

.topbar svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  flex: none;
}

.topbar__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.7rem;
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: var(--r-pill);
  background: rgba(52, 211, 153, 0.08);
  color: #6ee7b7;
  font-weight: 500;
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  flex: none;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: pulse 2.2s var(--ease-out) infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
    backdrop-filter 0.35s var(--ease-out);
}

.header.is-stuck {
  background: rgba(5, 6, 15, 0.82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--hairline);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Sora var', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  flex: none;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 3px 12px rgba(var(--brand-rgb), 0.55));
}

.brand span {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  position: relative;
  padding: 0.55rem 0.95rem;
  border-radius: var(--r-pill);
  color: var(--text-soft);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.2s linear, background-color 0.2s linear;
}

.nav a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav a.is-active {
  color: var(--text);
}

.nav a.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: var(--gradient-brand);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hamburger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  background: var(--surface);
}

.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease-out), opacity 0.2s linear;
}

.burger span + span {
  margin-top: 4.5px;
}

.burger[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 1.1rem var(--gutter) 2.5rem;
  background: rgba(5, 6, 15, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.3s;
}

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

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.mobile-menu__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  background: var(--surface);
}

.mobile-menu__close svg {
  width: 18px;
  height: 18px;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.mobile-menu nav a {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hairline);
  font-family: 'Sora var', sans-serif;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  opacity: 0;
  transform: translateY(14px);
}

.mobile-menu.is-open nav a {
  animation: menu-in 0.5s var(--ease-out) forwards;
}

@keyframes menu-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu__foot {
  display: grid;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

body.is-locked {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   10. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero .lead {
  max-width: 34rem;
  margin-bottom: 2.25rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  padding: 0.42rem 1rem 0.42rem 0.55rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--text-soft);
}

.hero__badge b {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.12rem 0.6rem;
  border-radius: var(--r-pill);
  background: rgba(var(--brand-rgb), 0.2);
  color: var(--brand-bright);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Trust strip under the CTAs */
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  margin-top: 2.5rem;
  padding-top: 1.9rem;
  border-top: 1px solid var(--hairline);
}

.hero__proof li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.hero__proof svg {
  width: 16px;
  height: 16px;
  color: var(--mint);
  flex: none;
}

/* Hero visual */
.hero__visual {
  position: relative;
}

.hero__panel {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(var(--cyan-rgb), 0.6), transparent 42%, rgba(var(--violet-rgb), 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero__panel img {
  width: 100%;
  border-radius: var(--r-lg);
  animation: float 7s var(--ease-in-out) infinite alternate;
}

@keyframes float {
  to {
    transform: translateY(-14px);
  }
}

/* Floating stat chips around the hero art */
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  background: rgba(12, 15, 33, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  line-height: 1.25;
  white-space: nowrap;
}

.chip strong {
  display: block;
  font-family: 'Sora var', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.chip span {
  color: var(--text-dim);
  font-size: 0.76rem;
}

.chip__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(var(--brand-rgb), 0.18);
  color: var(--brand-bright);
  flex: none;
}

.chip__icon svg {
  width: 16px;
  height: 16px;
}

.chip--a {
  top: 8%;
  left: -6%;
  animation: float 6s var(--ease-in-out) 0.4s infinite alternate;
}

.chip--b {
  bottom: 9%;
  right: -4%;
  animation: float 6.5s var(--ease-in-out) 1s infinite alternate;
}

/* --------------------------------------------------------------------------
   11. Logo marquee
   -------------------------------------------------------------------------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 1.4rem;
  border-block: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.015);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: clamp(2.25rem, 5vw, 4rem);
}

/* JS duplicates the items first — animating before that would jump. */
.marquee__track.is-ready {
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.marquee__item:hover {
  filter: grayscale(0);
  opacity: 1;
}

.marquee__item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   11b. Corporate scale indicators
   -------------------------------------------------------------------------- */

/* Full-width band used to separate major chapters of a long page */
.section--panel {
  border-block: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent 60%);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.stat {
  position: relative;
  padding-left: 1.6rem;
}

.stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  border-radius: 2px;
  background: var(--gradient-brand);
  opacity: 0.75;
}

.stat__value {
  display: flex;
  align-items: baseline;
  font-family: 'Sora var', sans-serif;
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  margin-top: 0.6rem;
  color: var(--text-dim);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   11c. Industries
   -------------------------------------------------------------------------- */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(0.75rem, 1.4vw, 1rem);
}

.industry {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: transform 0.35s var(--ease-out), border-color 0.3s var(--ease-out),
    background-color 0.3s var(--ease-out);
}

.industry:hover {
  transform: translateY(-3px);
  border-color: var(--hairline-strong);
  background: var(--surface-strong);
}

.industry svg {
  width: 20px;
  height: 20px;
  color: var(--brand-bright);
  flex: none;
  transition: color 0.25s linear;
}

.industry:hover svg {
  color: var(--cyan);
}

.industry span {
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   11d. Assurance / governance
   -------------------------------------------------------------------------- */

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.assurance {
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline);
}

.assurance__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
  color: var(--brand-bright);
}

.assurance__icon svg {
  width: 19px;
  height: 19px;
}

.assurance h3 {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.assurance p {
  color: var(--text-soft);
  font-size: 0.91rem;
}

/* --------------------------------------------------------------------------
   11e. Global delivery
   -------------------------------------------------------------------------- */

.global-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.regions {
  display: grid;
  gap: 0.6rem;
}

.region {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--hairline);
}

.region:last-child {
  border-bottom: 0;
}

.region strong {
  font-family: 'Sora var', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.region span {
  color: var(--text-dim);
  font-size: 0.86rem;
  text-align: right;
}

/* Engagement model card variant of .plan */
.plan__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.75rem 0 0.9rem;
  padding: 0.28rem 0.75rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.plan__lead {
  font-family: 'Sora var', sans-serif;
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

/* --------------------------------------------------------------------------
   11f. Case studies (anonymous engagements)
   -------------------------------------------------------------------------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.case {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.35rem, 2.2vw, 1.75rem);
}

.case__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.case__type {
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.case h3 {
  margin-bottom: 1.15rem;
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  line-height: 1.3;
}

.case__story {
  display: grid;
  gap: 0.95rem;
  flex: 1;
}

.case__story > div {
  padding-left: 0.85rem;
  border-left: 2px solid var(--hairline);
}

.case__story dt {
  margin-bottom: 0.28rem;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case__story dd {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.case__outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--hairline);
}

.case__outcomes li {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.35;
}

.case__outcomes strong {
  color: var(--text);
  font-weight: 650;
}

@media (min-width: 960px) {
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case--lead {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
    align-items: start;
  }

  .case--lead .case__intro {
    padding-right: clamp(0.5rem, 2vw, 1rem);
    border-right: 1px solid var(--hairline);
  }

  .case--lead .case__story {
    align-self: stretch;
  }
}

@media (max-width: 959px) {
  .case--lead .case__intro {
    padding-right: 0;
    padding-bottom: 1.15rem;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }
}

/* --------------------------------------------------------------------------
   12. Services
   -------------------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1rem, 1.8vw, 1.35rem);
}

/* First card spans two columns on wide screens for a bento rhythm */
.service--feature {
  grid-column: span 2;
  background: linear-gradient(140deg, rgba(var(--brand-rgb), 0.16), rgba(255, 255, 255, 0.02) 55%);
}

.service__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.4rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(var(--brand-rgb), 0.28), rgba(var(--cyan-rgb), 0.1));
  color: var(--brand-bright);
  transition: transform 0.4s var(--ease-out), color 0.3s linear;
}

.card--spot:hover .service__icon {
  transform: translateY(-3px) scale(1.06);
  color: var(--cyan);
}

.service__icon svg {
  width: 23px;
  height: 23px;
}

.service h3 {
  margin-bottom: 0.7rem;
}

.service p {
  color: var(--text-soft);
  font-size: 0.945rem;
}

.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.tag {
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text-dim);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   13. Process
   -------------------------------------------------------------------------- */

.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 2.25rem;
  border-top: 1px solid var(--hairline);
}

.step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: -0.85rem;
  left: 0;
  padding-right: 0.8rem;
  background: var(--bg);
  font-family: 'Sora var', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-bright);
}

.step::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-brand);
  transition: width 0.9s var(--ease-out);
}

.step.is-visible::after {
  width: 100%;
}

.step h3 {
  margin-bottom: 0.6rem;
  font-size: 1.18rem;
}

.step p {
  color: var(--text-soft);
  font-size: 0.925rem;
}

/* Principles list (about section) */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.principles {
  display: grid;
  gap: 1.1rem;
  margin-top: 2rem;
}

.principles li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.principles svg {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--mint);
  flex: none;
}

.principles p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.principles strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}

.about__art {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(var(--violet-rgb), 0.14), rgba(255, 255, 255, 0.015));
}

/* --------------------------------------------------------------------------
   14. Work / projects
   -------------------------------------------------------------------------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 1.8vw, 1.4rem);
}

.work {
  position: relative;
  display: block;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.35s var(--ease-out),
    box-shadow 0.45s var(--ease-out);
}

.work:hover {
  transform: translateY(-5px);
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-lg);
}

.work__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: radial-gradient(circle at 50% 22%, rgba(var(--brand-rgb), 0.2), transparent 62%);
}

.work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s var(--ease-out);
}

.work:hover .work__media img {
  transform: scale(1.055);
}

.work__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  border-top: 1px solid var(--hairline);
}

.work__body h3 {
  font-size: 1.02rem;
  margin-bottom: 0.15rem;
}

.work__body p {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.work__arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  color: var(--text-dim);
  flex: none;
  transition: transform 0.35s var(--ease-out), color 0.25s linear, border-color 0.25s linear;
}

.work__arrow svg {
  width: 14px;
  height: 14px;
}

.work:hover .work__arrow {
  transform: rotate(-45deg);
  color: var(--brand-bright);
  border-color: rgba(var(--brand-rgb), 0.5);
}

/* --------------------------------------------------------------------------
   15. Pricing
   -------------------------------------------------------------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr));
  gap: clamp(1rem, 1.6vw, 1.25rem);
  align-items: start;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.6rem, 2.4vw, 2rem);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: transform 0.4s var(--ease-out), border-color 0.35s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.plan:hover {
  transform: translateY(-4px);
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-md);
}

.plan--featured {
  border-color: rgba(var(--brand-rgb), 0.55);
  background: linear-gradient(180deg, rgba(var(--brand-rgb), 0.18), rgba(255, 255, 255, 0.02) 60%);
  box-shadow: var(--glow);
}

.plan__flag {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.28rem 0.9rem;
  border-radius: var(--r-pill);
  background: var(--gradient-brand);
  color: #04030f;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan__name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.55rem 0 0.35rem;
  font-family: 'Sora var', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan__price small {
  font-family: 'Inter var', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-dim);
}

.plan__blurb {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--hairline);
  color: var(--text-dim);
  font-size: 0.86rem;
}

.plan__features {
  display: grid;
  gap: 0.68rem;
  margin-bottom: 1.75rem;
  font-size: 0.885rem;
}

.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-soft);
}

.plan__features svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex: none;
}

.plan__features .yes {
  color: var(--mint);
}

.plan__features .no {
  color: #55597a;
}

.plan__features li.off {
  color: var(--text-dim);
}

.plan .btn {
  margin-top: auto;
}

.pricing-note {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   16. FAQ
   -------------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 0.7rem;
  max-width: 52rem;
  margin-inline: auto;
}

.faq details {
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}

.faq details[open] {
  border-color: var(--hairline-strong);
  background: var(--surface-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 1.4rem;
  font-family: 'Sora var', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.35s var(--ease-out), border-color 0.2s linear;
  flex: none;
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translate(-3px, -3px);
  border-color: var(--brand-bright);
}

.faq__answer {
  padding: 0 1.4rem 1.35rem;
  color: var(--text-soft);
  font-size: 0.945rem;
}

.faq details[open] .faq__answer {
  animation: faq-in 0.35s var(--ease-out);
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* --------------------------------------------------------------------------
   17. Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.contact-info a,
.contact-info div {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-info__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
  color: var(--brand-bright);
  flex: none;
  transition: border-color 0.25s linear, color 0.25s linear;
}

.contact-info a:hover .contact-info__icon {
  border-color: rgba(var(--brand-rgb), 0.5);
  color: var(--cyan);
}

.contact-info__icon svg {
  width: 17px;
  height: 17px;
}

.contact-info dt,
.contact-info b {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-info dd,
.contact-info span {
  font-size: 0.98rem;
  color: var(--text);
}

/* Form */
.form-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.05rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.82rem;
  font-weight: 550;
  color: var(--text-soft);
}

.field label .req {
  color: var(--brand-bright);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.82rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  background: rgba(4, 5, 14, 0.6);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.25s linear, box-shadow 0.25s linear, background-color 0.25s linear;
}

.field textarea {
  resize: vertical;
  min-height: 128px;
}

/* Native select chrome does not follow the dark theme, so it is replaced */
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238189ad' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 16px;
  cursor: pointer;
}

.field select option {
  background: #0c0f21;
  color: var(--text);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5c6386;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(var(--brand-rgb), 0.7);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.16);
  background-color: rgba(4, 5, 14, 0.85);
}

.field.has-error input,
.field.has-error textarea {
  border-color: rgba(248, 113, 113, 0.7);
}

.field__error {
  display: none;
  font-size: 0.78rem;
  color: #fca5a5;
}

.field.has-error .field__error {
  display: block;
}

.form-note {
  margin-top: 1.15rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.form-status {
  display: none;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
}

.form-status.is-shown {
  display: flex;
}

.form-status svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
}

.form-status--ok {
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.1);
  color: #a7f3d0;
}

.form-status--err {
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.1);
  color: #fecaca;
}

.form-status a {
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
}

/* Inline spinner */
.spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   18. CTA banner
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  padding: clamp(2.75rem, 6vw, 4.5rem);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-xl);
  background: radial-gradient(ellipse 80% 130% at 50% 0%, rgba(var(--brand-rgb), 0.32), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  text-align: center;
  overflow: hidden;
}

.cta-band h2 {
  max-width: 22ch;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.cta-band p {
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-band .btn-row {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */

.footer {
  position: relative;
  margin-top: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.footer__about p {
  max-width: 34ch;
  margin-top: 1.1rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer__about address {
  margin-top: 1.35rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.85;
}

.footer__about address a:hover {
  color: var(--brand-bright);
}

.footer h2,
.footer__title {
  margin-bottom: 1.1rem;
  font-family: 'Sora var', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer__links {
  display: grid;
  gap: 0.68rem;
  font-size: 0.92rem;
}

.footer__links a {
  color: var(--text-soft);
  transition: color 0.2s linear, transform 0.2s var(--ease-out);
}

.footer__links a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--hairline);
  color: var(--text-dim);
  font-size: 0.84rem;
}

.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
}

.footer__bottom a:hover {
  color: var(--text);
}

/* Back to top */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 70;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  background: rgba(12, 15, 33, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s,
    color 0.2s linear, border-color 0.2s linear;
}

.to-top.is-shown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  color: var(--text);
  border-color: rgba(var(--brand-rgb), 0.6);
}

.to-top svg {
  width: 17px;
  height: 17px;
}

/* --------------------------------------------------------------------------
   20. Inner page shell (privacy, jobs, careers, portal, 404)
   -------------------------------------------------------------------------- */

.page-hero {
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--hairline);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
  font-size: 0.84rem;
  color: var(--text-dim);
}

.breadcrumbs a:hover {
  color: var(--text);
}

.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: #454b6b;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

/* Long-form legal / article typography */
.prose {
  max-width: 72ch;
  color: var(--text-soft);
}

.prose > * + * {
  margin-top: 1.1rem;
}

.prose h2 {
  margin-top: 3rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--text);
}

.prose h3 {
  margin-top: 2rem;
  font-size: 1.12rem;
  color: var(--text);
}

.prose a {
  color: var(--brand-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose ul {
  display: grid;
  gap: 0.6rem;
  padding-left: 0;
}

.prose ul li {
  position: relative;
  padding-left: 1.5rem;
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 0.25rem;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-bright);
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

/* Embedded third-party form host (Google Forms via Formfacade).
   The embed ships its own light-theme markup and Bootstrap class names that we
   no longer load. Rather than fight unknown third-party CSS, we give it a light
   surface so its defaults read as a deliberate inset panel. */
.embed-card {
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-xl);
  background: #f6f7fb;
  box-shadow: var(--shadow-lg);
  color: #1a1d33;
  color-scheme: light;
}

.embed-card :is(h1, h2, h3, h4, h5, p, span, div, label, li, td, th, legend, strong) {
  color: inherit;
  font-family: inherit;
}

.embed-card :is(h1, h2, h3, h4, h5) {
  font-family: 'Sora var', sans-serif;
  color: #0d0f22;
}

.embed-card :is(input[type='text'], input[type='email'], input[type='tel'], input[type='number'],
  input[type='date'], input[type='time'], input[type='url'], textarea, select) {
  width: 100%;
  max-width: 100%;
  margin-block: 0.35rem 0.9rem;
  padding: 0.68rem 0.9rem;
  border: 1px solid #cdd2e4;
  border-radius: var(--r-sm);
  background: #fff;
  color: #1a1d33;
  font-size: 0.95rem;
}

.embed-card :is(input, textarea, select):focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.18);
}

.embed-card :is(button, input[type='submit'], .btn) {
  padding: 0.72rem 1.6rem;
  border: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--brand), #7c3aed);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.embed-card :is(button, input[type='submit'], .btn):hover {
  filter: brightness(1.08);
}

.embed-card label {
  display: block;
  font-weight: 550;
}

.embed-card a {
  color: #4f46e5;
  text-decoration: underline;
}

.embed-card__fallback {
  margin-top: 1.5rem;
  font-size: 0.86rem;
  color: var(--text-dim);
  text-align: center;
}

.embed-card__fallback a {
  color: var(--brand-bright);
}

/* Project status portal */
.portal-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 34rem;
}

.portal-form .field {
  flex: 1 1 15rem;
}

.updates {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.update {
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-md);
  background: var(--surface);
}

.update__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.update__head h3 {
  font-size: 1.05rem;
}

.update__time {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.update p {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.update__id {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 0.74rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.empty-state {
  margin-top: 2.5rem;
  padding: 2.5rem;
  border: 1px dashed var(--hairline-strong);
  border-radius: var(--r-lg);
  text-align: center;
  color: var(--text-dim);
}

/* 404 */
.error-page {
  display: grid;
  place-items: center;
  min-height: 68vh;
  text-align: center;
}

.error-code {
  font-family: 'Sora var', sans-serif;
  font-size: clamp(5rem, 18vw, 11rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}

/* --------------------------------------------------------------------------
   21. Scroll reveal
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal='left'] {
  transform: translateX(-26px);
}

[data-reveal='right'] {
  transform: translateX(26px);
}

[data-reveal='scale'] {
  transform: scale(0.95);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1120px) {
  .nav a {
    padding-inline: 0.7rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 960px) {
  .nav,
  .header__actions .btn {
    display: none;
  }

  .burger {
    display: grid;
  }

  .hero__grid,
  .about-grid,
  .contact-grid,
  .global-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__visual {
    max-width: 480px;
    margin-inline: auto;
  }

  .about__art {
    max-width: 460px;
    margin-inline: auto;
  }

  .service--feature {
    grid-column: span 1;
  }

  .chip--a {
    left: 0;
  }

  .chip--b {
    right: 0;
  }
}

@media (max-width: 860px) {
  .topbar__inner {
    justify-content: center;
  }

  .topbar__group--secondary {
    display: none;
  }
}

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

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

  .chip {
    display: none;
  }

  .btn-row .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   23. Motion & print preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .step::after {
    width: 100%;
  }
}

@media print {
  .ambient,
  .header,
  .topbar,
  .to-top,
  .mobile-menu,
  .cta-band {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .prose {
    max-width: none;
    color: #000;
  }
}
