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

:root {
  --black: #000000;
  --white: #ffffff;
  --off: #888888;
  --border: rgba(255,255,255,0.10);
  --font-title: 'Black Ops One', cursive;
  --accent: #ff5c00;
  --accent-green: #00e5a0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: var(--black);
  border-bottom: 1px solid var(--border);
}

.nav-logo a { display: block; line-height: 0; }
.nav-logo img { height: clamp(20px, 4vw, 50px); width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-back {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--off);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-back:hover { color: var(--white); }

.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 24px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--off); transform: translateY(-1px); }

.page {
  position: relative;
  flex: 1;
  padding: 80px 48px 120px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.page::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 50%;
  width: 100vw;
  height: 420px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 55% 80% at 12% 0%, rgba(255, 92, 0, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 45% 70% at 92% 10%, rgba(0, 229, 160, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

.page-eyebrow {
  position: relative;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--off);
  margin-bottom: 20px;
}

h1 {
  position: relative;
  font-family: var(--font-title);
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin-bottom: 24px;
}

.page-sub {
  position: relative;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.62);
  max-width: 46ch;
  margin-bottom: 56px;
}

.startup-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.startup-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.startup-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.05);
}

.startup-card-logo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.35);
  overflow: hidden;
}

.startup-card-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: calc(100% - 44px);
  max-height: calc(100% - 36px);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.startup-card-name {
  font-family: var(--font-title);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-bottom: 12px;
}

.startup-card-tagline {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--white);
  margin-bottom: 12px;
}

.startup-card-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  flex: 1;
}

.startup-card-more {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.page--detail {
  max-width: 720px;
}

.startup-hero {
  position: relative;
  margin-bottom: 48px;
}

.startup-hero-logo {
  position: relative;
  display: block;
  width: min(100%, 320px);
  aspect-ratio: 16 / 9;
  margin-bottom: 32px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.startup-hero-logo:hover,
.startup-hero-logo:focus-visible {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.06);
}

.startup-hero-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: calc(100% - 48px);
  max-height: calc(100% - 36px);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.startup-hero h1 {
  margin-bottom: 18px;
}

.startup-hero h1 a {
  color: inherit;
  text-decoration: none;
}

.startup-hero h1 a:hover,
.startup-hero h1 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.startup-hero-tagline {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  max-width: 28ch;
}

.startup-website {
  margin-top: 32px;
}

.startup-body {
  position: relative;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.startup-body p { margin-bottom: 24px; }
.startup-body p:last-child { margin-bottom: 0; }
.startup-body strong { font-weight: 500; color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-left img { height: 28px; width: auto; opacity: 0.35; }
.footer-bottom-right { font-size: 12px; color: rgba(255,255,255,0.22); letter-spacing: 0.04em; }

.footer-legal { display: flex; gap: 20px; font-size: 12px; flex-wrap: wrap; }
.footer-legal a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.65); }

@media (max-width: 1024px) {
  .startup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .startup-grid { grid-template-columns: 1fr; }
  nav { padding: 16px 18px; }
  .nav-links { gap: 14px; }
  .nav-back { font-size: 12px; }
  .page { padding: 60px 24px 80px; }
  .page-sub { margin-bottom: 36px; }
  .footer-bottom { padding: 24px; }
}
