/* Direction E: Helix. Deep navy, glowing orange, glass cards over a fixed 3D background. */
:root {
  --bg: #050b18;
  --fg: #eef2f8;
  --muted: #a3b2c8;
  --line: rgba(238, 242, 248, 0.14);
  --accent: #ff9f1c;
  --font-display: 'Geist', system-ui, sans-serif;
  --font-body: 'Geist', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --pad: clamp(20px, 5vw, 64px);
}

body { background: radial-gradient(ellipse 120% 90% at 70% 20%, #10264a 0%, #081428 45%, #050b18 100%) fixed; }

.bg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.6s ease; }
.bg-canvas.is-ready { opacity: 1; }
.progress { position: fixed; right: 18px; top: 50%; width: 2px; height: 90px; transform: translateY(-50%); background: rgba(238, 242, 248, 0.12); z-index: 5; }
.progress i { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(var(--p, 0)); }

.nav { background: linear-gradient(to bottom, rgba(5, 11, 24, 0.7), transparent); }
.nav__brand { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.nav__links a { font-family: var(--font-body); font-size: 14px; letter-spacing: 0; text-transform: none; }
.nav__cta { min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--accent); color: #1a0f00; font-weight: 600; opacity: 1 !important; }
.nav__toggle { font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-size: 14px; }

.main { position: relative; z-index: 1; }
.sec { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px var(--pad); }
.sec__inner { max-width: 520px; display: flex; flex-direction: column; gap: 22px; }
.sec__inner--wide { max-width: 1180px; width: 100%; margin: 0 auto; }
.sec--hero { align-items: flex-end; padding-bottom: 14vh; }
.sec--right { justify-content: flex-end; }

.h1 { font-weight: 500; font-size: clamp(40px, 5vw, 72px); line-height: 1.04; letter-spacing: -0.035em; text-shadow: 0 2px 30px rgba(5, 11, 24, 0.6); }
.h2 { font-weight: 500; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -0.03em; text-shadow: 0 2px 30px rgba(5, 11, 24, 0.6); }
.lede { color: #c9d4e4; font-size: 17px; max-width: 46ch; text-shadow: 0 1px 16px rgba(5, 11, 24, 0.9); }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 500; }
.arrow-link span { color: var(--accent); font-size: 20px; }

.glass {
  background: linear-gradient(160deg, rgba(40, 52, 78, 0.55), rgba(16, 22, 38, 0.55));
  border: 1px solid rgba(238, 242, 248, 0.12); border-radius: 16px;
  backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.fact__label { font: 500 10px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 980px; width: 100%; margin: 0 auto; }
.fact { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.fact__num { font-size: clamp(34px, 3.4vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.fact__num small { font-size: 13px; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.fact p:last-child { color: var(--muted); font-size: 14.5px; }

.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.wcard { display: flex; flex-direction: column; gap: 12px; padding: 26px; min-height: 250px; }
.wcard h3 { margin-top: auto; font-weight: 500; font-size: 26px; letter-spacing: -0.025em; }
.wcard p { color: var(--muted); font-size: 14.5px; }
.work__more { color: var(--muted); font-size: 14px; }

.sec--contact { flex-direction: column; justify-content: center; gap: 0; padding-bottom: 72px; }
.contact { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; text-align: center; max-width: 720px; }
.contact__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--accent); color: #1a0f00; font-weight: 600; text-decoration: none; }
.pill .todo { color: #1a0f00; }
.footer { width: 100%; max-width: 1180px; display: flex; flex-direction: column; gap: 28px; padding-top: 48px; border-top: 1px solid var(--line); margin-top: 48px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 160px)); gap: 24px; justify-content: end; }
.footer__cols > div { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.footer__cols h3 { font-size: 13px; font-weight: 600; color: var(--fg); margin-bottom: 4px; }
.footer__cols a { text-decoration: none; }
.footer__cols a:hover { color: var(--fg); }
.footer__base { font-size: 12px; color: var(--muted); padding-bottom: 40px; }

@media (max-width: 860px) {
  .facts, .work { grid-template-columns: 1fr; }
  .wcard { min-height: 0; }
  .sec--right { justify-content: flex-start; }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: start; }
  .progress { display: none; }
}
