:root {
  color-scheme: dark;
  --bg: #0f1115;
  --text: #f3f4f6;
  --muted: #b3b9c6;
  --accent: #d1d5db;
  --overlay-strong: rgba(5, 7, 12, 0.62);
  --overlay-mid: rgba(10, 13, 20, 0.32);
  --overlay-light: rgba(16, 20, 28, 0.12);
  --glow: rgba(140, 160, 210, 0.35);
  --max-content: 640px;
  --pad: clamp(24px, 5vw, 72px);
  --radius: 999px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 15%, #232732, #0f1115 60%);
  color: var(--text);
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f2f4f8;
  color: #0a0a0a;
  text-decoration: none;
  font-size: 0.9rem;
  z-index: 10;
}

.skip-link:focus-visible {
  left: 16px;
  width: auto;
  height: auto;
  overflow: visible;
  outline: 2px solid #e2e8f0;
  outline-offset: 4px;
}

.site-header {
  padding: var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b93a6;
}

.site-nav {
  display: flex;
  gap: 24px;
}

.site-nav a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

.site-nav a:focus-visible {
  outline: 2px solid #e2e8f0;
  outline-offset: 4px;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: var(--pad);
  display: flex;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.hero-overlay {
  z-index: 3;
}

.hero-glow {
  z-index: 4;
}

 .hero-canvas[data-three="disabled"],
 .hero-canvas[data-three="reduced"],
 .hero-canvas[data-three="missing"] {
  display: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(148, 163, 184, 0.18) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--overlay-strong) 0%,
    var(--overlay-mid) 55%,
    var(--overlay-light) 100%
  );
}

.hero-glow {
  position: absolute;
  width: min(700px, 70vw);
  height: min(700px, 70vw);
  left: clamp(16px, 6vw, 120px);
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, var(--glow), transparent 65%);
  filter: blur(30px);
  opacity: 0.7;
}

.hero-content {
  position: relative;
  max-width: var(--max-content);
  display: grid;
  gap: 20px;
  z-index: 5;
  transform: translateY(-3vh);
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #aeb5c4;
}

h1 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-wrap: balance;
}

h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 600;
  text-wrap: balance;
}

h3 {
  font-size: 1rem;
  letter-spacing: 0.01em;
  font-weight: 600;
  text-wrap: balance;
}

.subhead {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--muted);
  line-height: 1.6;
  max-width: 42ch;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  touch-action: manipulation;
}

.button.primary {
  background: #f2f4f8;
  color: #0a0a0a;
  box-shadow: var(--shadow);
}

.button.ghost {
  color: #e2e8f0;
  border-color: rgba(226, 232, 240, 0.3);
  position: relative;
}

.button.ghost::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.button:focus-visible {
  outline: 2px solid #e2e8f0;
  outline-offset: 3px;
}

.trust-line {
  font-size: 0.9rem;
  color: #9aa2b3;
  max-width: 46ch;
}

.section {
  padding: calc(var(--pad) * 0.9) var(--pad);
  position: relative;
  z-index: 1;
  scroll-margin-top: 96px;
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.section-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: #98a1b5;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  align-items: center;
}

.logo-row img {
  width: 100%;
  max-height: 46px;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(100%);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.expertise-card {
  padding: 18px;
  border-radius: 16px;
  background: rgba(14, 17, 25, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.expertise-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.process-step {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(12, 15, 22, 0.7);
}

.process-step span {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #a5b4fc;
  margin-bottom: 12px;
}

.process-step p {
  color: var(--muted);
  margin-top: 10px;
}

.split {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.split p {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 14px;
}

.results {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.results li {
  padding-left: 18px;
  position: relative;
}

.results li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #a5b4fc;
}

.contact {
  padding-bottom: calc(var(--pad) * 1.2);
}

.contact .section-inner {
  max-width: 720px;
  text-align: left;
}


.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.button.ghost:hover::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .button.ghost::after {
    transition: none;
  }
}

@media (max-width: 720px) {
  .hero-content {
    transform: translateY(0);
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .logo-row {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}
