:root {
  --bg: #040508;
  --bg-soft: #0b0e13;
  --panel: rgba(13, 17, 24, 0.78);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.28);
  --text: #f4f2ed;
  --muted: #9ea4ae;
  --accent: #b7ff3c;
  --danger: #ff6b4a;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  --font-display: "Space Grotesk", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-display);
  background:
    radial-gradient(circle at top, rgba(183, 255, 60, 0.08), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(255, 107, 74, 0.08), transparent 22%),
    linear-gradient(180deg, #08090d 0%, #040508 52%, #0a0c10 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  opacity: 0.22;
}

.site-shell {
  position: relative;
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 56px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark,
.eyebrow,
.service-index,
.metric-value,
.approach-step span,
.nav a,
.button,
.result-line span:first-child {
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-mark {
  font-size: 0.95rem;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
}

main {
  display: grid;
  gap: 36px;
}

section {
  position: relative;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 32px;
  padding: 48px 0 12px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  margin: 0 0 20px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
  max-width: 10ch;
}

.hero-text {
  margin-top: 22px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.78rem;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.button-primary {
  color: #0a0d08;
  background: var(--accent);
  border-color: var(--accent);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.text-link::after {
  content: "+";
  color: var(--accent);
}

.hero-stage {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
}

.logo-cluster {
  position: absolute;
  width: min(500px, 66vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  transition: transform 160ms ease-out;
}

.logo-cluster::before {
  content: "";
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03), transparent 68%);
  filter: blur(18px);
}

.logo-halo {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(183, 255, 60, 0.14), transparent 46%),
    radial-gradient(circle at 65% 35%, rgba(255, 107, 74, 0.08), transparent 24%);
  filter: blur(28px);
}

.hero-logo-glitch {
  position: relative;
  display: grid;
  place-items: center;
  animation: logo-float 5s ease-in-out infinite;
}

.hero-logo-glitch > * {
  grid-area: 1 / 1;
}

.hero-logo {
  position: relative;
  width: min(520px, 68vw);
  height: auto;
  object-fit: contain;
  transform: translateZ(40px);
  mix-blend-mode: screen;
}

.hero-logo-core {
  z-index: 3;
  filter: saturate(1.04) contrast(1.08);
}

.hero-logo-ghost {
  z-index: 2;
  opacity: 0.3;
  pointer-events: none;
}

.hero-logo-ghost-a {
  filter: brightness(1.1) saturate(1.15);
  animation: glitch-a 2400ms steps(2, end) infinite;
}

.hero-logo-ghost-b {
  filter: brightness(1.08) saturate(1.12);
  animation: glitch-b 3000ms steps(2, end) infinite;
}

.hero-logo-glitch::after {
  content: "";
  position: absolute;
  inset: 16% 9%;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.07) 0 2px,
      transparent 2px 6px
    );
  mix-blend-mode: overlay;
  opacity: 0.08;
  animation: scan-flicker 1500ms steps(2, end) infinite;
  pointer-events: none;
}

.metrics,
.service-grid,
.approach-layout,
.results-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(190, 255, 101, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(8, 11, 16, 0.74);
}

.metrics article {
  position: relative;
  padding: 26px 28px 28px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
    rgba(10, 14, 20, 0.78);
  overflow: hidden;
}

.metrics article:last-child {
  border-right: 0;
}

.metric-value {
  display: inline-block;
  color: var(--accent);
  font-size: 0.82rem;
  margin-bottom: 48px;
}

.metrics p,
.service-card p,
.approach-step p,
.contact-card p {
  color: var(--muted);
  line-height: 1.75;
}

.section-heading {
  display: grid;
  gap: 10px;
  padding: 18px 2px;
}

.section-copy {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.75;
}

h2 {
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 11ch;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.008)),
    rgba(7, 10, 16, 0.7);
}

.service-card {
  position: relative;
  padding: 36px 34px 34px;
  min-height: 280px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%),
    rgba(8, 11, 17, 0.78);
  transition:
    background 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 24px;
  height: 24px;
  border-top: 1px solid rgba(183, 255, 60, 0.8);
  border-left: 1px solid rgba(183, 255, 60, 0.8);
  box-shadow: 0 0 24px rgba(183, 255, 60, 0.12);
  pointer-events: none;
}

.service-card::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  pointer-events: none;
}

.service-card:nth-child(2n) {
  border-right: 0;
}

.service-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.service-index {
  display: inline-block;
  color: var(--accent);
  font-size: 0.75rem;
  margin-bottom: 30px;
}

h3 {
  font-size: 1.68rem;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  max-width: 14ch;
}

.approach-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 107, 74, 0.025), rgba(255, 255, 255, 0.006)),
    rgba(8, 11, 17, 0.66);
}

.approach-step {
  position: relative;
  padding: 34px 28px 34px 52px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 32%),
    rgba(7, 10, 16, 0.58);
  transition:
    background 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.approach-step::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 28px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 107, 74, 0.75),
    rgba(255, 107, 74, 0.08)
  );
  pointer-events: none;
}

.approach-step::after {
  content: "";
  position: absolute;
  top: 48px;
  left: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 18px rgba(255, 107, 74, 0.28);
  pointer-events: none;
}

.approach-step:last-child {
  border-right: 0;
}

.approach-step span {
  display: inline-block;
  color: var(--danger);
  font-size: 0.84rem;
  margin-bottom: 18px;
}

.results-panel {
  padding: 18px;
  display: grid;
  gap: 12px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(183, 255, 60, 0.01)),
    rgba(7, 10, 16, 0.76);
}

.result-line {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 16px 18px 16px 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 36%),
    rgba(8, 11, 17, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.result-line::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 3px;
  height: 62%;
  transform: translateY(-50%);
  background: linear-gradient(180deg, var(--accent), transparent);
  opacity: 0.66;
  pointer-events: none;
}

.result-bar {
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.result-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #f4f2ed);
  width: 0;
  transition: width 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  display: grid;
  gap: 18px;
  justify-items: start;
}

.contact-aura {
  position: absolute;
  inset: auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(183, 255, 60, 0.2), transparent 58%),
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.14), transparent 24%);
  filter: blur(24px);
  transform: translate(-50%, -50%);
  left: var(--aura-x, 50%);
  top: var(--aura-y, 50%);
  opacity: 0.7;
  pointer-events: none;
}

.contact-card h2 {
  max-width: 10ch;
}

.audit-form {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.audit-form label {
  display: grid;
  gap: 10px;
}

.audit-form label:nth-child(3),
.audit-form label:nth-child(4),
.audit-form button {
  grid-column: 1 / -1;
}

.audit-form span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.audit-form input,
.audit-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(7, 10, 16, 0.72);
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.audit-form input:focus,
.audit-form textarea:focus {
  border-color: rgba(183, 255, 60, 0.65);
  box-shadow: 0 0 0 4px rgba(183, 255, 60, 0.08);
  background: rgba(10, 14, 20, 0.92);
}

.contact-note {
  position: relative;
  z-index: 1;
  max-width: 52ch;
  font-size: 0.94rem;
}

.contact-note a {
  color: var(--text);
}

.interactive-panel {
  position: relative;
}

.interactive-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      360px circle at var(--glow-x, 50%) var(--glow-y, 50%),
      rgba(255, 255, 255, 0.08),
      transparent 48%
    );
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.interactive-panel.is-active::after {
  opacity: 1;
}

.interactive-card {
  transform-style: preserve-3d;
  will-change: transform;
  isolation: isolate;
}

.stagger-card {
  opacity: 0;
  transform: translateY(110px) scale(0.94);
  filter: blur(8px);
  transition:
    opacity 720ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 980ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 720ms cubic-bezier(0.16, 1, 0.3, 1),
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.stagger-card.is-dropped {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.interactive-card::before,
.interactive-card::after {
  pointer-events: none;
}

.interactive-card > * {
  position: relative;
  z-index: 1;
}

.metrics .interactive-card::before {
  content: attr(data-stagger-index);
  position: absolute;
  right: 14px;
  bottom: 2px;
  font-family: var(--font-display);
  font-size: 6.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.035);
}

.metrics .interactive-card::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8ff85;
  box-shadow:
    0 0 0 5px rgba(183, 255, 60, 0.08),
    0 0 16px rgba(183, 255, 60, 0.32);
}

.interactive-card.is-hovered,
.service-card:hover,
.approach-step:hover,
.result-line:hover,
.page-link-card:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 20px 50px rgba(0, 0, 0, 0.18);
}

.metric-value,
.service-index,
.approach-step span {
  transition:
    transform 180ms ease,
    color 180ms ease,
    text-shadow 180ms ease;
}

.interactive-card.is-hovered .metric-value,
.interactive-card.is-hovered .service-index,
.interactive-card.is-hovered .approach-step span {
  color: #d6ff7b;
  transform: translateX(3px);
  text-shadow: 0 0 18px rgba(183, 255, 60, 0.2);
}

.metrics .interactive-card p,
.service-card p,
.approach-step p,
.result-line span:first-child,
.contact-card p {
  font-size: 1.02rem;
}

.metrics .interactive-card p,
.service-card p,
.approach-step p,
.contact-card p {
  max-width: 30ch;
}

.metrics .interactive-card p {
  font-size: 1.15rem;
  line-height: 1.55;
  color: #d7d9de;
  max-width: 19ch;
}

.result-line span:first-child {
  color: #dfe2e7;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.metrics .interactive-card.is-hovered {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 34px rgba(0, 0, 0, 0.12);
}

.service-card.is-hovered {
  transform: translateY(-4px);
}

.approach-step.is-hovered {
  background:
    linear-gradient(180deg, rgba(255, 107, 74, 0.05), transparent 42%),
    rgba(255, 255, 255, 0.025);
}

.result-line.is-hovered {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 30px rgba(0, 0, 0, 0.14);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.service-pages {
  display: grid;
  gap: 18px;
}

.page-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    rgba(8, 11, 17, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.page-link-card {
  display: grid;
  gap: 14px;
  min-height: 220px;
  padding: 26px 22px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 36%),
    rgba(8, 11, 17, 0.62);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.page-link-card span,
.mini-card span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-link-card strong,
.mini-card strong {
  font-size: 1.15rem;
  line-height: 1.1;
}

.page-link-card p,
.mini-card p {
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 32px 0 24px;
}

.footer-copy {
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.75;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  align-content: start;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.subpage .site-shell {
  width: min(1180px, calc(100% - 48px));
}

.subpage .topbar {
  margin-bottom: 24px;
}

.page-hero {
  display: grid;
  gap: 28px;
  padding: 48px 0 12px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.back-link::before {
  content: "<";
  color: var(--accent);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.page-hero-copy {
  display: grid;
  gap: 18px;
}

.page-hero-copy h1 {
  max-width: 11ch;
}

.page-hero-copy p {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.04rem;
}

.page-panel,
.mini-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.page-panel {
  padding: 28px;
  display: grid;
  gap: 14px;
}

.page-panel .eyebrow {
  margin-bottom: 0;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 24px;
}

.section-stack {
  display: grid;
  gap: 24px;
}

.content-block {
  display: grid;
  gap: 14px;
  padding: 30px;
}

.content-block p,
.content-block li,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.8;
}

.content-block ul,
.legal-card ul {
  margin: 0;
  padding-left: 18px;
}

.mini-grid {
  display: grid;
  gap: 16px;
}

.mini-card {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.notice {
  padding: 18px 20px;
  border: 1px solid rgba(183, 255, 60, 0.22);
  border-radius: 18px;
  background: rgba(183, 255, 60, 0.05);
  color: #dfe8c8;
  line-height: 1.75;
}

.cta-strip {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.cta-strip p {
  color: var(--muted);
  line-height: 1.75;
}

.legal-wrap {
  display: grid;
  gap: 22px;
}

.legal-card {
  padding: 28px;
  display: grid;
  gap: 14px;
}

.legal-card h1,
.legal-card h2 {
  max-width: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes glitch-a {
  0%,
  82%,
  100% {
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
  }

  84% {
    transform: translate3d(-6px, -2px, 0);
    clip-path: inset(10% 0 54% 0);
  }

  88% {
    transform: translate3d(5px, 3px, 0);
    clip-path: inset(62% 0 12% 0);
  }

  92% {
    transform: translate3d(-3px, 0, 0);
    clip-path: inset(28% 0 36% 0);
  }
}

@keyframes glitch-b {
  0%,
  76%,
  100% {
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
  }

  78% {
    transform: translate3d(7px, 0, 0);
    clip-path: inset(0 0 68% 0);
  }

  83% {
    transform: translate3d(-5px, -2px, 0);
    clip-path: inset(44% 0 18% 0);
  }

  87% {
    transform: translate3d(3px, 2px, 0);
    clip-path: inset(72% 0 6% 0);
  }
}

@keyframes scan-flicker {
  0%,
  100% {
    opacity: 0.08;
  }

  35% {
    opacity: 0.12;
  }

  38% {
    opacity: 0.02;
  }

  42% {
    opacity: 0.14;
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 20px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-stage {
    min-height: 620px;
  }

  .metrics,
  .approach-layout,
  .service-grid,
  .page-grid,
  .page-hero-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .metrics article,
  .approach-step,
  .service-card {
    border-right: 0;
  }

  .metrics article,
  .approach-step,
  .service-card:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .service-card:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .page-link-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 24px, 1400px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0 10px;
  }

  .nav {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 0 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: #d8dde4;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .hero-stage {
    min-height: 460px;
  }

  .logo-cluster {
    width: min(86vw, 360px);
  }

  .hero-logo {
    width: min(82vw, 340px);
  }

  .result-line {
    grid-template-columns: 1fr;
    padding-right: 14px;
  }

  .audit-form,
  .footer-links,
  .page-link-grid {
    grid-template-columns: 1fr;
  }

  .content-block,
  .legal-card,
  .page-panel,
  .mini-card,
  .cta-strip {
    padding: 22px;
  }
}
