:root {
  --bg: #0f172a;
  --panel: #111827;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --card: #1f2937;
  --line: rgba(148, 163, 184, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #111827 50%, #020617 100%);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  min-height: 82vh;
  padding: 28px 8vw 80px;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 120px;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--accent);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 56px;
  align-items: center;
  max-width: 1180px;
}

.hero-copy {
  max-width: 820px;
}

.hero-portrait {
  aspect-ratio: 1 / 1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
  justify-self: end;
  margin: 0;
  overflow: hidden;
  width: min(34vw, 380px);
}

.hero-portrait img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  width: 100%;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 700;
}

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

.subtitle {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--line);
}

.primary {
  background: var(--accent);
  color: #082f49;
  border-color: var(--accent);
}

.secondary {
  color: var(--text);
}

.section {
  padding: 74px 8vw;
  max-width: 1180px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.section h2 {
  font-size: 34px;
  margin: 0 0 24px;
  letter-spacing: -0.03em;
}

.section > p {
  color: var(--muted);
  max-width: 820px;
}

.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.tags span {
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card, .item {
  background: rgba(31, 41, 55, 0.75);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
}

.card h3, .item h3 {
  margin-top: 0;
  line-height: 1.25;
}

.meta {
  color: var(--accent);
  font-size: 14px;
  margin: 6px 0 12px;
}

.card p, .item p {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 16px;
}

.contact a {
  color: var(--accent);
  font-weight: 700;
}

footer {
  padding: 36px 8vw;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 74px;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-portrait {
    justify-self: start;
    width: min(100%, 320px);
  }

  .hero {
    padding-top: 24px;
  }
}
