:root {
  --bg: #0d1016;
  --bg-secondary: #131821;
  --panel: #131821;
  --card: #151b25;
  --text: #e7e9ed;
  --muted: #9ba3b3;
  --accent: #ee220c;
  --accent-2: #ff5a42;
  --line: #1f2430;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.background-texture {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(120% 120% at 10% 10%, #1b222d 0%, transparent 50%),
    radial-gradient(90% 90% at 80% 0%, rgba(230, 43, 45, 0.2) 0%, transparent 45%),
    linear-gradient(120deg, rgba(230, 43, 45, 0.1), transparent 40%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 60px);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  backdrop-filter: blur(10px);
  background: rgba(13, 16, 22, 0.85);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  background: rgba(13, 16, 22, 0.95);
}

.logo {
  font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--text);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
}

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

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
  background: rgba(230, 43, 45, 0.08);
}

.nav-toggle {
  display: none;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.hero {
  padding: 96px 0 64px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1;
  margin: 16px 0 16px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.lede {
  color: #c8ceda;
  font-size: 18px;
  margin-bottom: 24px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0d1016;
  box-shadow: 0 10px 30px rgba(230, 43, 45, 0.25);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(230, 43, 45, 0.35);
}

.btn.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn.ghost:hover {
  border-color: rgba(230, 43, 45, 0.8);
  color: var(--accent);
}

.section {
  padding: 72px 0;
  position: relative;
}

.section-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section-header h2 {
  font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  margin: 8px 0 16px;
}

.section-header .body {
  color: #c8ceda;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  padding: 20px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card-accent {
  height: 3px;
  width: 48px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #f4f5f7;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 43, 45, 0.6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.section-heading h2 {
  margin: 8px 0 12px;
  font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
}

.ventures {
  background: linear-gradient(180deg, rgba(21, 27, 37, 0.65), rgba(13, 16, 22, 0.9));
  border-block: 1px solid var(--line);
}

.venture-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.venture-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease;
}

.venture-item:hover {
  border-color: rgba(230, 43, 45, 0.6);
}

.badge {
  height: 44px;
  width: 44px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(230, 43, 45, 0.7);
  color: var(--accent);
  font-weight: 700;
  background: linear-gradient(140deg, rgba(230, 43, 45, 0.2), rgba(255, 77, 79, 0.12));
}

.badge svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.venture-item h3 {
  margin: 0 0 6px;
}

.venture-item p {
  margin: 0;
  color: var(--muted);
}

.venture-item a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.venture-item a:hover {
  text-decoration: underline;
}

.methodology {
  background: #0b0d12;
  position: relative;
  overflow: hidden;
}

.methodology::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(160% 100% at 90% 0%, rgba(230, 43, 45, 0.12), transparent 40%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 80px);
  opacity: 0.7;
  pointer-events: none;
}

.methodology-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.methodology .body p {
  margin-top: 0;
  margin-bottom: 14px;
  color: #c7cedc;
}

.methodology-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.method-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.01);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.method-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 43, 45, 0.6);
}

.method-card h4 {
  margin: 0 0 4px;
  color: #f4f5f7;
  font-size: 16px;
}

.method-card p {
  margin: 0;
  color: #aab3c2;
}

.method-icon {
  height: 42px;
  width: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(230, 43, 45, 0.2), rgba(255, 77, 79, 0.1));
  border: 1px solid rgba(230, 43, 45, 0.5);
  color: var(--accent);
}

.method-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact {
  background: linear-gradient(120deg, rgba(230, 43, 45, 0.08), rgba(13, 16, 22, 0.95));
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 32px;
  align-items: start;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(21, 27, 37, 0.9);
  padding: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-weight: 600;
  color: #e7e9ed;
  font-size: 14px;
}

.form-row input,
.form-row select,
.form-row textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #7f8aa0;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(238, 34, 12, 0.7);
  box-shadow: 0 0 0 3px rgba(238, 34, 12, 0.2);
}

.form-row.double {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.form-row textarea {
  resize: vertical;
}

.contact-form .btn {
  width: fit-content;
}

.form-status {
  min-height: 20px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  background: rgba(9, 10, 13, 0.95);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-meta p {
  margin: 4px 0;
  color: var(--muted);
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.small {
  font-size: 13px;
  color: #838b9a;
}

@media (max-width: 960px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 20px;
    background: rgba(13, 16, 22, 0.95);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    flex-direction: column;
    gap: 8px;
    min-width: 180px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-grid,
  .section-grid,
  .methodology-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .site-header {
    position: sticky;
    top: 0;
  }
}
