/* Information Strategies */

:root {
  --bg: #0a0b0a;
  --bg-raise: #121412;
  --line: #232623;
  --line-soft: #1a1c1a;
  --text: #e9ece9;
  --muted: #9aa39b;
  --green: #2df94c;
  --green-dim: #1fb93a;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --maxw: 1080px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

a { color: var(--text); text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: var(--green); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 11, 10, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.stuck {
  background: rgba(10, 11, 10, 0.94);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  transition: min-height 0.3s var(--ease);
}

.site-header.stuck .header-inner { min-height: 66px; }

.logo img {
  display: block;
  height: 17px;
  width: auto;
  transition: opacity 0.2s var(--ease);
}

.logo:hover img { opacity: 0.78; }

.nav { display: flex; gap: 30px; }

.nav a {
  position: relative;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 3px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav a:hover::after { transform: scaleX(1); }

/* ---------- type ---------- */

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }

h1 { font-size: clamp(38px, 6.2vw, 66px); }

h2 { font-size: clamp(26px, 3.4vw, 36px); }

h3 { font-size: 19px; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 22px;
}

.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 62ch; }

p { margin: 0 0 18px; }

/* ---------- sections ---------- */

section { border-top: 1px solid var(--line-soft); position: relative; }
section[id] { scroll-margin-top: 90px; }
section:first-of-type { border-top: 0; }

.pad { padding: 96px 0; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 124px 0 104px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -20% -10% -30%;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(45, 249, 76, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(45, 249, 76, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 62% at 22% 42%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 22% 42%, #000 0%, transparent 72%);
  animation: drift 26s linear infinite;
}

@keyframes drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 56px, 56px 56px; }
}

.hero-glow {
  position: absolute;
  z-index: 0;
  top: -180px;
  left: -140px;
  width: 720px;
  height: 720px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(45, 249, 76, 0.075) 0%, transparent 62%);
  animation: pulse 9s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

.hero .wrap { position: relative; z-index: 1; }

.hero h1 { max-width: 19ch; }

.hero .lede { margin-top: 26px; }

/* rotating word */

.rotate { color: var(--green); white-space: nowrap; }

.caret {
  display: inline-block;
  width: 0.56em;
  height: 0.86em;
  background: var(--green);
  vertical-align: -0.06em;
  margin-left: 0.09em;
  animation: blink 1.05s steps(1) infinite;
}

@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.hero-actions { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 15px 28px;
  border: 1px solid var(--green-dim);
  color: var(--green);
  background: transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn span { position: relative; z-index: 1; }

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}

.btn:hover { color: #071006; border-color: var(--green); }
.btn:hover::before { transform: scaleX(1); }

.btn-quiet { border-color: var(--line); color: var(--muted); }
.btn-quiet::before { background: var(--text); }
.btn-quiet:hover { color: var(--bg); border-color: var(--text); }

.rule-green {
  width: 54px;
  height: 2px;
  background: var(--green);
  margin-bottom: 34px;
  transform-origin: left;
}

.js .hero .rule-green { animation: grow 0.9s var(--ease) 0.1s both; }

@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- stat strip ---------- */

.stats { border-top: 1px solid var(--line-soft); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); }

.stat {
  background: var(--bg);
  padding: 46px 30px;
  text-align: center;
}

.stat .fig {
  font-family: var(--mono);
  font-size: clamp(38px, 5.6vw, 58px);
  line-height: 1;
  color: var(--green);
  letter-spacing: -0.03em;
  display: block;
}

.stat .cap {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
  display: block;
}

/* ---------- grids ---------- */

.grid { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: 52px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.cell {
  background: var(--bg);
  padding: 34px 30px 30px;
  position: relative;
  transition: background 0.3s var(--ease);
}

.cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.cell:hover { background: var(--bg-raise); }
.cell:hover::before { transform: scaleX(1); }

.cell .num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--green-dim);
  display: block;
  margin-bottom: 16px;
}

.cell h3 { margin-bottom: 12px; }

.cell p { color: var(--muted); font-size: 15.5px; margin: 0; }

.cell ul { margin: 12px 0 0; padding: 0; list-style: none; }

.cell li {
  color: var(--muted);
  font-size: 15px;
  padding: 5px 0 5px 16px;
  position: relative;
}

.cell li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  background: var(--green-dim);
  transition: transform 0.25s var(--ease);
}

.cell:hover li::before { transform: rotate(45deg); }

/* ---------- split ---------- */

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }

.split p:last-child { margin-bottom: 0; }

.split .body p { color: var(--muted); }

.split .sticky { position: sticky; top: 130px; }

/* ---------- marquee ---------- */

.marquee {
  margin-top: 62px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 26px 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 13%, #000 87%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 13%, #000 87%, transparent);
}

.marquee + .marquee { margin-top: 0; border-top: 0; }

.track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: slide 42s linear infinite;
}

.marquee-rev .track { animation-direction: reverse; animation-duration: 52s; }

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

@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.track span {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 0 26px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 26px;
  transition: color 0.2s var(--ease);
}

.track span::after { content: ""; width: 5px; height: 5px; background: var(--green-dim); flex: none; }

.track span:hover { color: var(--green); }

/* ---------- contact ---------- */

.contact { background: var(--bg-raise); border-top: 1px solid var(--line-soft); position: relative; overflow: hidden; }

.contact .inner { text-align: center; padding: 100px 0; position: relative; z-index: 1; }

.mail {
  display: inline-block;
  margin-top: 26px;
  font-family: var(--mono);
  font-size: clamp(18px, 3.4vw, 30px);
  color: var(--green);
  letter-spacing: -0.01em;
  padding-bottom: 8px;
  word-break: break-word;
  position: relative;
}

.mail::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--green);
  opacity: 0.35;
  transform-origin: left;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
}

.mail:hover::after { opacity: 1; transform: scaleY(2); }

.contact .note { color: var(--muted); font-size: 15px; margin-top: 30px; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line-soft); padding: 34px 0 44px; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  align-items: center;
  justify-content: space-between;
}

.site-footer, .site-footer a { color: var(--muted); font-size: 13.5px; }

.footer-links { display: flex; gap: 24px; }

/* ---------- legal pages ---------- */

.legal { padding: 78px 0 100px; max-width: 760px; }

.legal h1 { font-size: clamp(32px, 4.6vw, 44px); margin-bottom: 10px; }

.legal .updated {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 46px;
}

.legal h2 {
  font-size: 20px;
  margin: 46px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}

.legal p, .legal li { color: #c6ccc7; font-size: 16px; }

.legal ul { padding-left: 20px; margin: 0 0 18px; }

.legal li { margin-bottom: 8px; }

.legal a { color: var(--green); }

.back {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 34px;
}

/* progress bar */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--green);
  z-index: 40;
}

/* ---------- reveal on scroll (only when JS is on) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.in { opacity: 1; transform: none; }

.js .reveal-d1 { transition-delay: 0.08s; }
.js .reveal-d2 { transition-delay: 0.16s; }
.js .reveal-d3 { transition-delay: 0.24s; }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split .sticky { position: static; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .header-inner { min-height: 66px; }
  .site-header.stuck .header-inner { min-height: 58px; }
  .logo img { height: 13px; }
  .nav { gap: 18px; }
  .nav a { font-size: 11px; letter-spacing: 0.1em; }
  .hero { padding: 76px 0 66px; }
  .pad { padding: 64px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stat { padding: 32px 16px; }
  .stat .cap { font-size: 10px; letter-spacing: 0.1em; }
  .contact .inner { padding: 68px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .nav a:not(.nav-contact) { display: none; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg, .hero-glow, .track, .caret { animation: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .hero .rule-green { animation: none; }
  .progress { display: none; }
  * { transition-duration: 0.01ms !important; }
}
