:root {
  --bg: #0a0a0a;
  --bg-elev: #121212;
  --ink: #ffffff;
  --ink-dim: rgba(255, 255, 255, 0.68);
  --ink-faint: rgba(255, 255, 255, 0.42);
  --accent: #c8f542;
  --accent-dim: rgba(200, 245, 66, 0.18);
  --line: rgba(255, 255, 255, 0.12);
  --font-display: "Oswald", sans-serif;
  --font-body: "Work Sans", sans-serif;
  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0;
}

p {
  margin: 0;
}

.section-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  text-transform: uppercase;
  max-width: 16ch;
}

.section-lead {
  margin-top: 1rem;
  max-width: 52ch;
  color: var(--ink-dim);
  font-size: 1.05rem;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.4rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
}

.btn-primary:hover {
  background: #d8ff6a;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

/* —— Top bar —— */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem var(--pad);
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark:hover {
  color: var(--accent);
  text-decoration: none;
}

.top-nav {
  display: none;
  gap: 1.25rem;
  margin-left: auto;
  margin-right: 0.5rem;
}

.top-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--accent);
}

.deal-flow-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: var(--accent);
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(200, 245, 66, 0.4);
  animation: deal-pulse 2.8s ease-in-out infinite;
}

.deal-flow-btn:hover {
  text-decoration: none;
  background: #d8ff6a;
}

@keyframes deal-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(200, 245, 66, 0.35);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(200, 245, 66, 0);
  }
}

@media (min-width: 900px) {
  .top-nav {
    display: flex;
  }

  .deal-flow-btn {
    margin-left: 0;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 55% at 70% 20%, rgba(200, 245, 66, 0.08), transparent 55%),
    linear-gradient(165deg, #0a0a0a 0%, #10140a 45%, #0a0a0a 100%);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border: 1.5px solid rgba(200, 245, 66, 0.45);
  opacity: 0.55;
}

.shape-a {
  width: 28vw;
  max-width: 380px;
  height: 28vw;
  max-height: 380px;
  top: 8%;
  right: 8%;
  transform: rotate(18deg);
  animation: drift-a 18s ease-in-out infinite;
}

.shape-b {
  width: 14vw;
  max-width: 180px;
  height: 14vw;
  max-height: 180px;
  top: 22%;
  right: 28%;
  background: var(--accent-dim);
  border-color: transparent;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  animation: drift-b 14s ease-in-out infinite;
}

.shape-c {
  width: 120px;
  height: 120px;
  bottom: 28%;
  right: 18%;
  border-radius: 50%;
  border-style: dashed;
  animation: drift-c 16s linear infinite;
}

.shape-d {
  width: 200px;
  height: 8px;
  top: 40%;
  left: 6%;
  background: var(--accent);
  border: none;
  opacity: 0.35;
  animation: drift-d 12s ease-in-out infinite;
}

.shape-e {
  width: 90px;
  height: 90px;
  bottom: 18%;
  left: 18%;
  transform: rotate(45deg);
  animation: drift-a 20s ease-in-out infinite reverse;
}

.shape-f {
  width: 0;
  height: 0;
  top: 12%;
  left: 35%;
  border: none;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid rgba(200, 245, 66, 0.2);
  opacity: 0.7;
  animation: drift-b 22s ease-in-out infinite;
}

.shape-g {
  width: 160px;
  height: 160px;
  bottom: 8%;
  right: 4%;
  border-width: 3px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  animation: drift-c 24s ease-in-out infinite reverse;
}

@keyframes drift-a {
  0%,
  100% {
    transform: translate(0, 0) rotate(18deg);
  }
  50% {
    transform: translate(-24px, 18px) rotate(28deg);
  }
}

@keyframes drift-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(18px, -28px);
  }
}

@keyframes drift-c {
  0% {
    transform: rotate(0deg) translate(0, 0);
  }
  50% {
    transform: rotate(180deg) translate(12px, -10px);
  }
  100% {
    transform: rotate(360deg) translate(0, 0);
  }
}

@keyframes drift-d {
  0%,
  100% {
    transform: translateX(0) scaleX(1);
  }
  50% {
    transform: translateX(40px) scaleX(1.2);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 7rem) var(--pad) clamp(3.5rem, 8vh, 5.5rem);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  max-width: 12ch;
}

.hero-headline {
  font-size: clamp(1.45rem, 3.4vw, 2.35rem);
  font-weight: 500;
  text-transform: uppercase;
  max-width: 22ch;
  margin-bottom: 1.15rem;
}

.hero-support {
  max-width: 48ch;
  color: var(--ink-dim);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* —— Pipeline —— */
.pipeline {
  padding: clamp(4rem, 10vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}

.pipeline-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.pipe-stage {
  flex: 1 0 auto;
  min-width: 7.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.pipe-stage:hover,
.pipe-stage.is-active {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.pipe-stage.is-active {
  background: var(--accent);
  color: #0a0a0a;
}

.pipe-index {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.pipe-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pipe-arrow {
  flex: 0 0 auto;
  align-self: center;
  width: 18px;
  height: 2px;
  background: var(--accent);
  position: relative;
  opacity: 0.5;
}

.pipe-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--accent);
}

.pipeline-detail {
  max-width: var(--max);
  margin: 1.75rem auto 0;
  padding: 1.5rem var(--pad) 0;
  border-top: 1px solid var(--line);
}

.pipe-detail-title {
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.pipe-detail-body {
  max-width: 62ch;
  color: var(--ink-dim);
  font-size: 1.05rem;
}

/* —— Thesis —— */
.thesis {
  padding: clamp(4rem, 10vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 0%, rgba(200, 245, 66, 0.03) 50%, transparent 100%);
}

.thesis-stack {
  list-style: none;
  margin: 0 auto;
  padding: 0 var(--pad);
  max-width: var(--max);
}

.thesis-stack li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.75rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

.thesis-stack li:last-child {
  border-bottom: 1px solid var(--line);
}

.thesis-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  line-height: 1;
}

.thesis-stack p {
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 500;
  line-height: 1.35;
  max-width: 28ch;
}

@media (min-width: 720px) {
  .thesis-stack p {
    max-width: 42ch;
  }
}

/* —— Mosaic —— */
.mosaic {
  padding: clamp(4rem, 10vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}

.mosaic-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .mosaic-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(140px, auto);
  }

  .tile {
    grid-column: span 3;
  }

  .tile-lg {
    grid-column: span 4;
    grid-row: span 2;
  }

  .tile-tall {
    grid-column: span 2;
    grid-row: span 2;
  }

  .tile-wide {
    grid-column: span 4;
  }

  .tile-md {
    grid-column: span 2;
  }
}

.tile {
  padding: 1.35rem 1.4rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.tile:hover {
  border-color: var(--accent);
  background: #15180f;
  transform: translateY(-3px);
}

.tile-kicker {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.tile h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.tile p:last-child {
  color: var(--ink-dim);
  font-size: 0.95rem;
}

/* —— Operator notes —— */
.notes {
  padding: clamp(4rem, 10vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}

.manifesto {
  list-style: none;
  margin: 0 auto;
  padding: 0 var(--pad);
  max-width: var(--max);
  counter-reset: none;
}

.manifesto li {
  display: flex;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.4;
}

.manifesto li:first-child {
  border-top: 1px solid var(--line);
}

.man-num {
  flex: 0 0 2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

/* —— FAQ chat —— */
.faq {
  padding: clamp(4rem, 10vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
  background: #0c0c0c;
}

.chat {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bubble {
  max-width: min(92%, 540px);
  padding: 1rem 1.2rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.bubble-q {
  align-self: flex-start;
  background: #1a1a1a;
  border: 1px solid var(--line);
  border-radius: 4px 18px 18px 18px;
}

.bubble-a {
  align-self: flex-end;
  background: var(--accent-dim);
  border: 1px solid rgba(200, 245, 66, 0.35);
  border-radius: 18px 4px 18px 18px;
}

.bubble-label {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: 0.15rem;
}

.bubble-a .bubble-label {
  color: var(--accent);
}

.bubble p {
  color: var(--ink);
  font-size: 0.98rem;
}

.bubble-q p {
  color: var(--ink-dim);
}

/* —— Contact —— */
.contact {
  padding: clamp(4rem, 10vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}

.contact-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .contact-layout {
    grid-template-columns: minmax(240px, 0.9fr) 1.3fr;
    gap: 3rem;
    align-items: start;
  }
}

.checklist h3 {
  font-size: 1.35rem;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.checklist ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.checklist-mail {
  font-size: 0.95rem;
  color: var(--ink-dim);
}

.pitch-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .pitch-form {
    grid-template-columns: 1fr 1fr;
  }

  .pitch-form .full,
  .pitch-form .form-actions {
    grid-column: 1 / -1;
  }
}

.pitch-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pitch-form label span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.pitch-form input,
.pitch-form select,
.pitch-form textarea {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.pitch-form input:focus,
.pitch-form select:focus,
.pitch-form textarea:focus {
  border-color: var(--accent);
}

.pitch-form textarea {
  resize: vertical;
  min-height: 140px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.35rem;
}

.form-status {
  font-size: 0.9rem;
  color: var(--accent);
  min-height: 1.2em;
}

.form-status.is-error {
  color: #ff7a7a;
}

/* —— Footer —— */
.site-footer {
  padding: 2.5rem var(--pad) 3rem;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-meta p {
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.footer-meta a {
  color: var(--accent);
}

.footer-copy {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .shape,
  .deal-flow-btn {
    animation: none !important;
  }

  .tile:hover {
    transform: none;
  }
}
