/* Velanox Systems: black / silver / grainy metallic lime */

:root {
  --bg: #050607;
  --panel: rgba(255, 255, 255, 0.025);
  --silver: #c2c9cf;
  --silver-dim: #838c93;
  --silver-hi: #e9edf0;
  --lime: #a3e635;
  --lime-hi: #d9f99d;
  --lime-deep: #4d7c0f;
  --hairline: rgba(163, 230, 53, 0.2);
}

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

#hexfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 75% 60% at 50% 40%, transparent 40%, rgba(5, 6, 7, 0.62) 100%);
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--silver);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(163, 230, 53, 0.25); color: #f4ffdb; }

a { color: inherit; }

/* ---------- film grain over the whole page ---------- */
.grain {
  position: fixed;
  inset: -60px;
  z-index: 40;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grain 1.1s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-18px, 12px); }
  40% { transform: translate(10px, -24px); }
  60% { transform: translate(-26px, -8px); }
  80% { transform: translate(16px, 20px); }
  100% { transform: translate(0, 0); }
}

/* ---------- metallic lime wordmark ---------- */
.wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  line-height: 1.1;
  /* layer order: sheen band, metal grain, brushed lines, facet ramp */
  background-image:
    linear-gradient(100deg,
      transparent 44%,
      rgba(226, 255, 160, 0.35) 47%,
      rgba(240, 255, 200, 0.8) 50%,
      rgba(226, 255, 160, 0.35) 53%,
      transparent 56%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' opacity='0.6' filter='url(%23g)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(90deg,
      rgba(240, 255, 220, 0.04) 0px, rgba(240, 255, 220, 0.04) 1px,
      rgba(8, 14, 2, 0.05) 2px, transparent 3px, transparent 5px),
    linear-gradient(178deg,
      #f2ffd4 0%,
      #d7fb87 15%,
      #a3e635 35%,
      #62901a 52%,
      #3d5c0e 58%,
      #b3ea52 72%,
      #eaffbe 85%,
      #6f9c22 100%);
  background-blend-mode: overlay, overlay, normal, normal;
  background-repeat: repeat, repeat, repeat, no-repeat;
  background-size: 250% 100%, 120px 120px, auto 100%, 100% 100%;
  background-position: 108% 0, 0 0, 0 0, 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter:
    drop-shadow(0 -1px 0 rgba(242, 255, 212, 0.22))
    drop-shadow(0 3px 3px rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 22px rgba(163, 230, 53, 0.14));
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 24px;
  pointer-events: none;
  z-index: 1;
}
.hero-inner {
  max-width: 1060px;
  width: 100%;
  margin: 0 auto;
  pointer-events: none;
}
.hero-inner a { pointer-events: auto; }

.statement {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 560;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 13em;
  margin-top: 10px;
  background-image: linear-gradient(178deg,
    #f6f8fa 0%, #dfe5e9 22%, #b9c1c7 45%, #848d93 62%,
    #a7b0b6 74%, #e8edf0 88%, #9aa3a9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.9)) drop-shadow(0 5px 28px rgba(0, 0, 0, 0.7));
}
.statement .limeword {
  background-image: linear-gradient(178deg,
    #f2ffd4 0%, #d7fb87 18%, #a3e635 40%, #5d8c15 58%,
    #b3ea52 74%, #eaffbe 88%, #6f9c22 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.limedot {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: var(--lime);
  color: var(--lime);
  text-shadow: 0 0 18px rgba(163, 230, 53, 0.55);
}

.hero-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  margin-top: 30px;
  max-width: 31em;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.005em;
  color: #ccd4d9;
  padding-left: 20px;
  border-left: 1px solid rgba(163, 230, 53, 0.38);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95), 0 1px 18px rgba(0, 0, 0, 0.85);
}
.hero-cta { margin-top: 40px; }

.scrollhint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, rgba(163, 230, 53, 0.5), transparent);
  z-index: 1;
}

/* ---------- engraved links ---------- */
.elink {
  position: relative;
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--silver-dim);
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 2px;
}
.elink:hover { color: var(--lime-hi); }
.elink::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: linear-gradient(90deg, var(--lime), rgba(163, 230, 53, 0.12));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.elink:hover::after { transform: scaleX(1); }

/* ---------- top bar ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: linear-gradient(180deg, rgba(5, 6, 7, 0.62), rgba(5, 6, 7, 0));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.topbar .wordmark {
  font-size: 15px;
  letter-spacing: 0.28em;
  text-indent: 0;
  text-decoration: none;
}
.topbar nav { display: flex; align-items: center; gap: 22px; }

/* ---------- content scrim over the field ---------- */
.content {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 6, 7, 0) 0, rgba(5, 6, 7, 0.9) 130px, rgba(5, 6, 7, 0.96) 260px);
}
.content footer { position: relative; }

main { position: relative; z-index: 1; }

/* ---------- sections ---------- */
.section {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 96px 28px;
}
.section + .section { border-top: 1px solid rgba(163, 230, 53, 0.08); }

.kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--lime);
  margin-bottom: 20px;
}
.kicker.sub { margin-top: 56px; }

h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.3;
  color: var(--silver-hi);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

h1.page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  line-height: 1.25;
  color: var(--silver-hi);
  margin-bottom: 30px;
}

.prose p { margin-bottom: 1.35em; font-size: 17px; line-height: 1.78; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--lime-hi); text-decoration: none; border-bottom: 1px solid rgba(163, 230, 53, 0.35); transition: border-color 0.2s; }
.prose a:hover { border-color: var(--lime); }

.founder {
  margin-top: 34px;
  font-size: 14px;
  color: var(--silver-dim);
}

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 44px;
}
.card {
  position: relative;
  border-radius: 10px;
  padding: 26px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.35), rgba(163, 230, 53, 0.05) 42%, rgba(194, 201, 207, 0.12));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.card .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--lime);
  display: block;
  margin-bottom: 14px;
}
.card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--silver-hi);
  margin-bottom: 10px;
}
.card p { font-size: 14px; line-height: 1.65; color: var(--silver-dim); }

.section-cta { margin-top: 46px; }

/* ---------- program rows ---------- */
.rows { margin-top: 40px; }
.row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 8px;
  padding: 34px 0;
  border-top: 1px solid rgba(163, 230, 53, 0.12);
}
.row:last-child { border-bottom: 1px solid rgba(163, 230, 53, 0.12); }
.row .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--lime);
  padding-top: 5px;
}
.row h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 19px;
  color: var(--silver-hi);
  margin-bottom: 10px;
}
.row p { font-size: 15px; line-height: 1.7; color: var(--silver-dim); max-width: 56em; }

.pub-more {
  margin-top: 26px;
  font-size: 14px;
  color: var(--silver-dim);
}

/* ---------- publications ---------- */
.pub {
  margin-top: 8px;
}
.pub h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.45;
  color: var(--silver-hi);
  margin-bottom: 12px;
}
.pub h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.pub h3 a:hover { color: var(--lime-hi); }
.pub-status {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--lime);
  border: 1px solid rgba(163, 230, 53, 0.35);
  border-radius: 99px;
  padding: 4px 12px;
  margin-bottom: 16px;
}
.pub-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--silver-dim);
  letter-spacing: 0.06em;
}
.pub-meta a {
  color: var(--lime-hi);
  text-decoration: none;
  border-bottom: 1px solid rgba(163, 230, 53, 0.3);
}
.pub-meta a:hover { border-color: var(--lime); }

.prep {
  list-style: none;
  margin-top: 6px;
}
.prep li {
  position: relative;
  padding: 20px 0 20px 26px;
  border-bottom: 1px solid rgba(194, 201, 207, 0.08);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--silver);
}
.prep li:last-child { border-bottom: none; }
.prep li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 30px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--lime-hi), var(--lime-deep));
  opacity: 0.75;
}

/* ---------- footer ---------- */
footer {
  padding: 60px 28px 44px;
  text-align: center;
  border-top: 1px solid rgba(163, 230, 53, 0.08);
}
footer p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #4b5359;
}

/* ---------- motion ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.fade-up.d1 { animation-delay: 0.15s; }
.fade-up.d2 { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { animation: none; opacity: 1; transform: none; }
  .grain { animation: none; }
  html { scroll-behavior: auto; }
}

.content.solid { background: rgba(5, 6, 7, 0.93); }

@media (max-width: 560px) {
  .kicker { font-size: 10px; letter-spacing: 0.24em; }
  .section { padding: 72px 22px; }
  .topbar { padding: 14px 20px; }
  .topbar nav { gap: 14px; }
  .row { grid-template-columns: 48px 1fr; }
}
