:root {
  --bg: #040a17;
  --bg-2: #071330;
  --panel: #0a1730;
  --line: #15284a;
  --text: #eef3fb;
  --muted: #8d9cb8;
  --navy: #071a3d;
  --accent: #1f7ff0;
  --accent-2: #3b9bff;
  --accent-dim: rgba(31, 127, 240, 0.18);
  --red: #f87171;
  --display: "Montserrat", system-ui, -apple-system, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(4, 10, 23, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.mark {
  width: 34px;
  height: 31px;
  color: #ffffff;
  flex: none;
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.wordmark span { color: var(--accent-2); }

h1, h2, h3, .big { font-family: var(--display); }
h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }
.accent {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav nav { display: flex; align-items: center; gap: 24px; }
.nav nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.nav nav a:not(.btn):hover { color: var(--text); }

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--accent);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--accent-2); border-color: var(--accent-2); }
.btn-small { padding: 7px 14px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); background: transparent; }

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 85% 30%, #0c2a63 0%, transparent 55%), linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
}

#tape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 20%, rgba(4, 10, 23, 0.55) 60%, rgba(4, 10, 23, 0.1));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 80px clamp(20px, 5vw, 64px);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 20px;
}

h1 {
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}

.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 600px;
  margin: 0 0 36px;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.section {
  padding: 96px clamp(20px, 5vw, 64px);
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 40px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.idx {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
  color: var(--accent-2);
}

.grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.grid li {
  flex: 1 1 220px;
  background: var(--panel);
  padding: 28px;
}

.grid h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: -0.01em; }
.grid li { border-top: 2px solid transparent; transition: border-color 0.2s ease; }
.grid li:hover { border-top-color: var(--accent); }
.grid p { margin: 0; color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.split h2 { margin: 0; }

.big { font-size: clamp(20px, 2.6vw, 28px); line-height: 1.35; margin: 0 0 28px; letter-spacing: -0.01em; }

.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
  font-family: var(--mono);
  font-size: 14px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

.page-head { padding-top: 120px; padding-bottom: 40px; }
.page-head h1 { font-size: clamp(38px, 6vw, 68px); }
.team-section { padding-top: 24px; }

.team {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
}

.photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--accent-2), #0b4fb3);
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  object-position: center 25%;
}
.initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 52px;
  color: rgba(255, 255, 255, 0.92);
}

.li-icon {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #ffffff;
  color: #0a66c2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.li-icon svg { width: 18px; height: 18px; }
.li-icon:hover { transform: scale(1.08); background: #0a66c2; color: #ffffff; }

.member strong { font-family: var(--display); font-size: 16px; font-weight: 700; }

.cta {
  text-align: center;
  border-top: 1px solid var(--line);
  max-width: none;
  background: radial-gradient(ellipse at center, var(--accent-dim), transparent 65%);
}
.cta h2 { justify-content: center; margin-bottom: 12px; }
.cta p { color: var(--muted); margin: 0 0 28px; }

.footer {
  display: flex;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-family: var(--mono);
}
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

@media (max-width: 720px) {
  .nav nav a:not(.btn) { display: none; }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .hero { min-height: 78vh; }
  .hero::after { background: linear-gradient(180deg, rgba(4, 10, 23, 0.5), var(--bg) 90%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
