:root {
  --bg: #05030f;
  --bg-alt: #0d0820;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-strong: rgba(15, 12, 35, 0.8);
  --accent: #8b5cf6;
  --accent-strong: #c084fc;
  --accent-soft: rgba(139, 92, 246, 0.35);
  --text-primary: #f8f7ff;
  --text-secondary: rgba(248, 247, 255, 0.7);
  --text-muted: rgba(248, 247, 255, 0.55);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 20px;
  --shadow-soft: 0 30px 80px rgba(0, 0, 0, 0.4);
  --shadow-hard: 0 15px 40px rgba(139, 92, 246, 0.3);
  --blur: blur(40px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: radial-gradient(circle at top left, rgba(139, 92, 246, 0.25), transparent 45%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 40%), var(--bg);
  min-height: 100vh;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at var(--cursor-x, 50%) var(--cursor-y, 40%), rgba(139, 92, 246, 0.18), transparent 55%),
    radial-gradient(circle at calc(100% - var(--cursor-x, 50%)) calc(100% - var(--cursor-y, 40%)), rgba(59, 130, 246, 0.12), transparent 55%);
  pointer-events: none;
  z-index: -1;
  transition: background 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  body::after {
    display: none;
  }
}

.ambient-layers {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -3;
}

.ambient-layer {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  mix-blend-mode: screen;
}

.ambient-layer--one {
  width: 520px;
  height: 520px;
  top: -120px;
  left: -140px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.45), transparent 65%);
}

.ambient-layer--two {
  width: 420px;
  height: 420px;
  bottom: -160px;
  right: 10%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 65%);
}

.ambient-layer--three {
  width: 380px;
  height: 380px;
  top: 25%;
  right: -140px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.35), transparent 60%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.05));
  z-index: -2;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAwMCcgaGVpZ2h0PScxMDAwJyBmaWxsPSdibGFjaycgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48ZmlsdGVyIGlkPSduJyB4PScwJyB5PScwJz48ZmVUdXJidWxlbmNlIGJhc2VGcmVxdWVuY3k9JzAuODUnIG51bU9jdGF2ZXM9JzInLz48L2ZpbHRlcj48cmVjdCBmaWx0ZXI9InVybCgjbikiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAwIiBoZWlnaHQ9IjEwMDAiIG9wYWNpdHk9IjAuMTUiPjwvcmVjdD48L3N2Zz4=');
  mix-blend-mode: soft-light;
  opacity: 0.8;
  pointer-events: none;
}

h1,
 h2,
 h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  margin: 0 0 16px;
  font-variation-settings: 'wght' 580;
  transition: font-variation-settings 0.4s ease, letter-spacing 0.4s ease;
}

h1:hover,
h2:hover,
h3:hover {
  font-variation-settings: 'wght' 650;
  letter-spacing: clamp(-0.035em, -0.011em, -0.006em);
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: clamp(-0.04em, -0.012em, -0.008em);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: clamp(-0.02em, -0.01em, -0.006em);
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  letter-spacing: clamp(-0.012em, -0.006em, -0.002em);
}

p {
  margin: 0 0 16px;
  line-height: clamp(1.6, 1.5 + 0.1vw, 1.8);
  color: var(--text-secondary);
}

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

section {
  padding: 120px 7vw;
}

[data-parallax-group] {
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
}

[data-parallax-group] > [data-parallax] {
  position: relative;
  z-index: 1;
}

[data-parallax] {
  --parallax-translate: 0px;
  transform: translate3d(0, var(--parallax-translate), 0);
  transition: transform 0.6s ease-out;
  will-change: transform;
}

[data-parallax] > * {
  transform: translateZ(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-parallax] {
    transform: none !important;
  }
}

.eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 18px;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 7vw;
  background: rgba(5, 3, 15, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.brand,
 .brand-alt {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header .brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.1;
}

.site-footer .brand-alt {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.1;
}

.brand-mark {
  color: var(--text-muted);
}

.brand-name {
  color: var(--text-primary);
}

.brand-tag {
  color: var(--accent-strong);
}

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

.nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav a:hover {
  color: var(--text-primary);
  opacity: 1;
}

.nav .cta {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 70px;
  padding-top: 140px;
  position: relative;
}

.hero h1 {
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  line-height: 1.1;
}

.hero .lead {
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
  position: relative;
  overflow: hidden;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent) 0%, #5ee7df 100%);
  color: #0b0416;
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.45);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.button.ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.button::after,
.portfolio-card-link::after,
.with-founders-readmore::after,
.with-founders-cta .button::after {
  content: '';
  position: absolute;
  inset: -100%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.6), transparent 65%);
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.button.is-hovered::after,
.portfolio-card-link.is-hovered::after,
.with-founders-readmore.is-hovered::after,
.with-founders-cta .button.is-hovered::after {
  opacity: 0.9;
  transform: scale(1);
}

.button::before,
.portfolio-card-link::before,
.with-founders-readmore::before,
.with-founders-cta .button::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.25), transparent 70%);
  opacity: 0;
  transform: scale3d(0.3, 0.3, 1);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.button.is-hovered::before,
.portfolio-card-link.is-hovered::before,
.with-founders-readmore.is-hovered::before,
.with-founders-cta .button.is-hovered::before {
  opacity: 0.6;
  transform: scale3d(1, 1, 1);
}

[data-magnetic] {
  position: relative;
  transition: transform 0.2s ease;
}

[data-magnetic].is-hovered {
  transition: transform 0.3s ease;
}

[data-magnetic]::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.45), transparent 70%);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  top: var(--magnet-light-y, 50%);
  left: var(--magnet-light-x, 50%);
  filter: blur(20px);
}

[data-magnetic].is-hovered::after {
  opacity: 0.7;
  transform: translate(-50%, -50%) scale(1);
}

.backed-by {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 420px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.backed-by .label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.hero-visual {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  perspective: 1200px;
}

.hero-visual .orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 84, 255, 0.8), rgba(11, 4, 22, 0.2));
  filter: blur(4px);
  opacity: 0.8;
  animation: pulse 6s ease-in-out infinite;
}

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

.hero-visual .grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.hero-visual .grid-item {
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(13, 8, 32, 0.6);
  backdrop-filter: blur(18px);
  text-align: left;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: var(--shadow-soft);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 60px;
}

.pillars,
 .about-grid,
 .showcase {
  display: grid;
  gap: 28px;
}

.pillars {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pillar,
.cards article,
.showcase article,
.about-grid article {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border 0.25s ease;
}

.pillar:hover,
.cards article:hover,
.showcase article:hover,
.about-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
}

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

.portfolio .showcase {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.portfolio-card {
  flex-direction: column;
  align-items: stretch;
  padding: 28px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(14, 10, 28, 0.85), rgba(28, 16, 46, 0.7));
  box-shadow: 0 18px 40px rgba(10, 6, 26, 0.4);
  min-height: 320px;
}

.portfolio-card-logo {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}

.portfolio-card-logo img {
  width: auto;
  height: auto;
  max-width: 72px;
  max-height: 72px;
  object-fit: contain;
  filter: saturate(110%);
}

.portfolio-card-content {
  display: grid;
  gap: 16px;
}

.portfolio-card-header {
  align-items: start;
}

.portfolio-card-header h3 {
  font-size: 1.4rem;
}

.portfolio-card-link {
  justify-self: start;
  margin-top: auto;
}

.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-meta-chip,
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.18);
  color: var(--accent-strong);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.portfolio-chip.status-exited,
.meta-chip.status-exited {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  box-shadow: inset 0 0 0 1px rgba(110, 231, 183, 0.4);
}

.portfolio-card-content p {
  margin: 0;
  color: var(--text-secondary);
}

.portfolio-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  position: relative;
  transition: color 0.2s ease;
  overflow: hidden;
}

.portfolio-card-link:hover {
  color: #a855f7;
}

.portfolio-meta-chip {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.pipeline {
  margin-top: 40px;
  font-weight: 500;
}

.with-founders {
  background: linear-gradient(160deg, rgba(15, 10, 35, 0.95), rgba(38, 16, 70, 0.7));
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.with-founders-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.with-founders-card {
  padding: 32px;
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-card-strong);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, border 0.25s ease;
}

.with-founders-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
}

.with-founders-card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.with-founders-card-meta time {
  color: rgba(255, 255, 255, 0.7);
}

.with-founders-card-meta .tagline {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.06em;
}

.with-founders-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.with-founders-card p {
  color: var(--text-secondary);
  margin: 0;
}

.with-founders-readmore {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--accent-strong);
  position: relative;
  transition: color 0.2s ease;
  overflow: hidden;
}

.with-founders-cta {
  margin-top: 48px;
  text-align: center;
}

.single-logo {
  margin-bottom: 24px;
}

.single-logo img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chips {
  gap: 10px;
}

.meta-chip {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.details-card {
  padding: 32px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 5, 22, 0.85);
  box-shadow: var(--shadow-soft);
  margin-bottom: 28px;
  display: grid;
  gap: 18px;
}

.details-card h2 {
  margin: 0;
  font-size: 1.3rem;
}

.details-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.details-card li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.details-card li span {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.details-card a {
  color: var(--accent-strong);
  word-break: break-word;
}

.single-actions {
  margin-top: 20px;
}

.single-actions .button {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cta-strip {
  padding: 120px 7vw;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.75), rgba(59, 130, 246, 0.4));
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 60%);
  filter: blur(60px);
  opacity: 0.7;
}

.cta-strip .cta-content {
  position: relative;
  max-width: 640px;
}

.contact {
  padding-bottom: 160px;
}

.contact-form {
  background: rgba(7, 4, 22, 0.7);
  padding: 40px;
  border-radius: calc(var(--radius) + 5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border: 1px solid rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.25);
}

.contact-form input:valid {
  border-color: rgba(110, 231, 183, 0.6);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.contact-form input:invalid:not(:placeholder-shown) {
  border-color: rgba(248, 113, 113, 0.6);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2);
}

.contact-form .form-feedback {
  margin-top: 16px;
  font-size: 0.95rem;
  min-height: 1.5em;
  color: var(--text-muted);
}

.contact-form .form-feedback.is-success {
  color: #4ade80;
}

.contact-form .form-feedback.is-error {
  color: #f87171;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.form-grid .full {
  grid-column: span 2;
}

.contact-meta {
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-meta a {
  color: var(--text-primary);
  font-weight: 600;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px 7vw 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 3, 15, 0.8);
  backdrop-filter: blur(12px);
}

.footer-main {
  max-width: 420px;
}

.footer-meta {
  text-align: right;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-meta a {
  color: var(--accent-strong);
}

.list-wrapper {
  padding: 160px 7vw 120px;
}

.list-section {
  max-width: 1080px;
  margin: 0 auto;
}

.pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  font-weight: 600;
  color: var(--accent-strong);
}

.list-section .showcase article {
  cursor: pointer;
}

.single-wrapper {
  padding: 160px 8vw 180px;
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
  gap: 56px;
  position: relative;
}

.single-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(139, 92, 246, 0.12), transparent 60%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.1), transparent 60%);
  pointer-events: none;
  z-index: -1;
  opacity: 0.8;
}

.single-article {
  background: rgba(8, 5, 22, 0.96);
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(4, 2, 18, 0.45);
  padding: 52px 54px;
  display: grid;
  gap: 32px;
}

.single-header h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(248, 247, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 28px;
}

.single-body {
  color: rgba(248, 247, 255, 0.88);
  font-size: 1.14rem;
  line-height: 1.92;
  display: grid;
  gap: 26px;
  max-width: 680px;
}

.single-body h2,
.single-body h3 {
  color: var(--text-primary);
  margin-top: 48px;
  margin-bottom: 12px;
  position: relative;
}

.single-body h2::after,
.single-body h3::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 42px;
  height: 2px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.75), rgba(59, 130, 246, 0.6));
}

.single-body p {
  margin: 0;
}

.single-body blockquote {
  margin: 38px 0;
  padding: 30px 34px;
  border-left: 4px solid rgba(139, 92, 246, 0.7);
  background: rgba(139, 92, 246, 0.1);
  border-radius: 0 22px 22px 0;
  font-style: italic;
}

.single-body ul,
.single-body ol {
  margin: 0 0 24px 28px;
}

.single-body a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-color: rgba(192, 132, 252, 0.6);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.single-reading-rail {
  display: grid;
  gap: 28px;
  align-content: start;
}

.reading-card {
  background: rgba(7, 4, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: calc(var(--radius) + 6px);
  padding: 28px;
  box-shadow: 0 18px 50px rgba(4, 2, 18, 0.4);
  display: grid;
  gap: 18px;
}

.reading-card h2 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 247, 255, 0.7);
}

.reading-outline {
  display: grid;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(248, 247, 255, 0.7);
}

.reading-outline a {
  color: inherit;
  text-decoration: none;
  padding: 6px 0;
  border-left: 2px solid transparent;
  padding-left: 14px;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.reading-outline a:hover,
.reading-outline a.is-active {
  color: var(--accent-strong);
  border-color: rgba(192, 132, 252, 0.6);
  transform: translateX(4px);
}

.reading-actions {
  display: grid;
  gap: 12px;
}

.reading-actions .button {
  justify-content: flex-start;
}

.single-body code {
  font-family: 'Space Grotesk', 'Inter', monospace;
  background: rgba(17, 12, 36, 0.75);
  padding: 3px 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.single-body pre {
  background: rgba(17, 12, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
  overflow: auto;
}

.single-body figure {
  margin: 28px 0;
  display: grid;
  gap: 12px;
}

.single-body figcaption {
  font-size: 0.95rem;
  color: rgba(248, 247, 255, 0.55);
  text-align: center;
}

.single-body hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.4), transparent);
  margin: 42px 0;
}

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

  .hero-visual {
    order: -1;
  }

  .portfolio-card {
    flex-direction: column;
    align-items: stretch;
  }

  .portfolio-card-logo {
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  section {
    padding-inline: 6vw;
  }

  .site-header {
    padding-inline: 6vw;
  }

  .nav {
    position: fixed;
    top: 76px;
    right: 6vw;
    left: 6vw;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
    border-radius: 18px;
    background: rgba(8, 6, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .single-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .single-aside {
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
  }

  .portfolio .showcase {
    gap: 22px;
  }
}

@media (max-width: 720px) {
  section {
    padding-block: 100px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-visual .grid {
    grid-template-columns: 1fr;
  }

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

  .form-grid .full {
    grid-column: span 1;
  }

  .site-footer {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-meta {
    text-align: center;
  }

  .list-wrapper {
    padding-inline: 6vw;
  }

  .single-article {
    padding: 36px 30px;
  }

  .portfolio-card {
    gap: 18px;
  }

  .portfolio-card-logo img {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button.primary,
  .button.ghost {
    width: 100%;
  }

  .with-founders-list {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    padding: 24px;
  }

  .portfolio-card-logo {
    min-height: 82px;
    padding: 18px;
  }

  .portfolio-card-logo img {
    max-width: 60px;
    max-height: 60px;
  }

  .portfolio-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio-chip {
    align-self: flex-start;
  }

  .details-card li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .details-card li span {
    margin-bottom: 0;
  }

  .portfolio-card {
    padding: 24px;
  }

  .portfolio-card-logo img {
    width: 64px;
    height: 64px;
  }
}
