:root {
  color-scheme: dark;
  --background: hsl(240 10% 4%);
  --foreground: hsl(0 0% 95%);
  --muted-foreground: hsl(240 5% 72%);
  --border: hsl(240 6% 14%);
  --footer-link-gap: 1.25rem;
  --logo-top: .875rem;
  --logo-left: clamp(.5rem, 1vw, .875rem);
}

* {
  box-sizing: border-box;
  border: 0 solid var(--border);
}

html {
  min-height: 100%;
  background: var(--background);
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: normal;
  font-variation-settings: normal;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

p,
h1,
summary {
  margin: 0;
}

h2 {
  margin: 0;
}

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

.page {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.landing-logo {
  position: absolute;
  top: var(--logo-top);
  left: var(--logo-left);
  width: 2.5rem;
  height: auto;
  opacity: .9;
  filter: invert(1);
  mix-blend-mode: screen;
}

.logo-link {
  position: absolute;
  top: var(--logo-top);
  left: var(--logo-left);
  display: block;
  width: 2.5rem;
  transition: opacity .15s ease;
}

.logo-link .landing-logo {
  position: static;
  width: 100%;
}

.logo-link:hover {
  opacity: .72;
}

.logo-link:focus-visible {
  outline: 2px solid hsl(240 5% 48%);
  outline-offset: 4px;
}

.shell {
  display: flex;
  width: 100%;
  max-width: 42rem;
  min-height: 100vh;
  margin-inline: auto;
  padding-inline: 1.5rem;
  flex: 1;
  flex-direction: column;
}

.page-landing .shell {
  padding-inline: .5rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: var(--footer-link-gap);
  row-gap: .75rem;
  color: var(--muted-foreground);
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.25rem;
}

.page-home {
  align-self: center;
  padding-top: 2rem;
  color: var(--muted-foreground);
  font-size: .875rem;
  line-height: 1.25rem;
  transition: color .15s ease;
}

.page-home:hover,
.page-home:focus-visible {
  color: var(--foreground);
}

.page-home:focus-visible {
  outline: 2px solid hsl(240 5% 48%);
  outline-offset: 4px;
}

.hero {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.shell > .hero:first-child {
  padding-top: 6.75rem;
}

.kicker {
  color: var(--muted-foreground);
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.25rem;
}

h1 {
  max-width: 13.5em;
  margin-top: 1rem;
  color: var(--foreground);
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1.375;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.hero-subhead {
  max-width: 34rem;
  margin-top: .85rem;
  color: var(--muted-foreground);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.4;
  text-wrap: balance;
}

.landing-title {
  max-width: none;
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: -.06em;
  text-wrap: nowrap;
}

.landing-title span {
  display: block;
  white-space: nowrap;
}

@media (min-width: 360px) {
  .landing-title {
    font-size: 1.15rem;
  }
}

@media (min-width: 375px) {
  .landing-title {
    font-size: 1.23rem;
  }
}

@media (min-width: 390px) {
  .landing-title {
    font-size: 1.3rem;
  }
}

@media (min-width: 414px) {
  .landing-title {
    font-size: 1.4rem;
  }
}

@media (min-width: 430px) {
  :root {
    --footer-link-gap: 2rem;
  }

  .landing-title {
    font-size: 1.46rem;
  }
}

@media (min-width: 560px) {
  .landing-title {
    font-size: 1.82rem;
  }
}

@media (min-width: 680px) {
  .landing-title {
    font-size: 2.15rem;
  }
}

@media (min-width: 768px) {
  .landing-title {
    font-size: 2rem;
    line-height: 1.3;
  }
}

.ventures {
  min-width: 0;
  border-top-width: 1px;
}

.venture-group {
  border-bottom-width: 1px;
}

.venture-group[open] {
  border-bottom-width: 0;
}

.ventures h2,
.venture-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
  list-style: none;
  cursor: pointer;
}

.venture-group summary::-webkit-details-marker {
  display: none;
}

.venture-group summary:focus-visible {
  outline: 2px solid hsl(240 5% 48%);
  outline-offset: 4px;
}

.chevron {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--muted-foreground);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: color .15s ease, transform .15s ease;
}

.venture-group[open] .chevron {
  transform: rotate(180deg);
}

.venture-group summary:hover .chevron {
  color: var(--foreground);
}

.column-items {
  border-top-width: 1px;
}

.venture-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.5rem;
  padding-inline-end: clamp(.75rem, 3vw, 1.25rem);
  border-bottom-width: 1px;
}

.venture-row[href] {
  cursor: pointer;
}

.venture-row[href]:focus-visible {
  outline: 2px solid hsl(240 5% 48%);
  outline-offset: 4px;
}

.venture-copy {
  display: block;
  min-width: 0;
}

.venture-copy strong {
  display: block;
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
}

.venture-copy > span:not(.title-line) {
  display: block;
  margin-top: .25rem;
  color: var(--muted-foreground);
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.25rem;
}

.title-line {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}

.title-line strong {
  display: inline-block;
}

.status {
  color: var(--muted-foreground);
  font-size: .75rem;
  font-weight: 400;
  line-height: 1rem;
}

.arrow {
  width: 1rem;
  height: 1rem;
  margin-top: .25rem;
  flex-shrink: 0;
  color: var(--muted-foreground);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: color .15s ease;
}

.venture-row[href]:hover .arrow {
  color: var(--foreground);
}

.spacer {
  flex: 1;
  min-height: 2.5rem;
}

.contact-copy {
  display: grid;
  gap: .85rem;
  padding-top: 1.5rem;
  border-top-width: 1px;
}

.contact-copy p {
  color: var(--muted-foreground);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.45;
  text-wrap: balance;
}

.contact-phone {
  display: inline-block;
  width: fit-content;
  color: var(--foreground);
  font-size: clamp(2.15rem, 6vw, 3.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color .15s ease;
}

.contact-phone:hover,
.contact-phone:focus-visible {
  color: var(--muted-foreground);
}

.contact-phone:focus-visible {
  outline: 2px solid hsl(240 5% 48%);
  outline-offset: 4px;
}

.page-note,
.investor-copy {
  padding-top: 1.5rem;
  border-top-width: 1px;
}

.page-note p,
.investor-copy p {
  color: var(--muted-foreground);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.45;
  text-wrap: balance;
}

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

.pitch-intake,
.consulting-intake {
  display: grid;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top-width: 1px;
}

.pitch-intake h2,
.consulting-intake h2 {
  color: var(--foreground);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
}

.pitch-form,
.consulting-form,
.admin-login-form {
  display: grid;
  gap: 1rem;
}

.field-grid {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: .45rem;
  color: var(--muted-foreground);
  font-size: .875rem;
  line-height: 1.25rem;
}

input,
textarea,
select {
  width: 100%;
  min-height: 2.75rem;
  border-width: 1px;
  border-color: hsl(240 6% 18%);
  border-radius: 6px;
  background: hsl(240 7% 7%);
  color: var(--foreground);
  font: inherit;
  letter-spacing: 0;
}

input,
select {
  padding: .65rem .75rem;
}

textarea {
  min-width: 0;
  resize: vertical;
  padding: .75rem;
}

input::placeholder,
textarea::placeholder {
  color: hsl(240 5% 56%);
}

input:focus,
textarea:focus,
select:focus {
  border-color: hsl(240 5% 48%);
  outline: 2px solid hsl(240 5% 28%);
  outline-offset: 0;
}

button {
  width: fit-content;
  min-height: 2.5rem;
  padding: .55rem .85rem;
  border-radius: 6px;
  background: var(--foreground);
  color: var(--background);
  font: inherit;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.25rem;
  cursor: pointer;
  transition: opacity .15s ease, background .15s ease, color .15s ease;
}

button:hover,
button:focus-visible {
  opacity: .82;
}

button:focus-visible {
  outline: 2px solid hsl(240 5% 48%);
  outline-offset: 4px;
}

button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem;
}

.form-status {
  min-height: 1.25rem;
  color: var(--muted-foreground);
  font-size: .875rem;
  line-height: 1.25rem;
}

.form-trap {
  display: none;
}

.admin-page {
  width: min(100%, 88rem);
  min-height: 100svh;
  margin-inline: auto;
  padding: 2rem 1rem;
}

.admin-login-page {
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 2rem;
}

.admin-header h1 {
  max-width: none;
}

.ghost-button {
  border-width: 1px;
  border-color: hsl(240 6% 18%);
  background: transparent;
  color: var(--foreground);
}

.admin-login {
  width: min(100%, 24rem);
}

.admin-login-page .admin-login {
  transform: translateY(-5vh);
}

.admin-table-shell {
  display: grid;
  gap: 1rem;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top-width: 1px;
}

.admin-toolbar label {
  width: min(100%, 12rem);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.table-wrap {
  overflow-x: auto;
  border-width: 1px;
  border-radius: 8px;
}

.admin-table {
  width: 100%;
  min-width: 76rem;
  border-collapse: collapse;
  font-size: .875rem;
}

.admin-table th,
.admin-table td {
  padding: .8rem;
  border-bottom-width: 1px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted-foreground);
  font-weight: 500;
  white-space: nowrap;
}

.admin-table tr:last-child td {
  border-bottom-width: 0;
}

.admin-table a {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pitch-cell,
.project-cell {
  max-width: 22rem;
  white-space: pre-wrap;
}

.row-status {
  min-width: 8.5rem;
}

.row-notes {
  min-width: 14rem;
  min-height: 5rem;
}

.empty-cell {
  color: var(--muted-foreground);
  text-align: center;
}

.site-footer {
  padding-top: 0;
  padding-bottom: 2rem;
}

.site-footer a {
  transition: color .15s ease, opacity .15s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--foreground);
}

.site-footer a:focus-visible {
  outline: 2px solid hsl(240 5% 48%);
  outline-offset: 4px;
}

.manifesto-page {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 6rem;
  background: var(--background);
  text-align: center;
}

.manifesto-home {
  position: absolute;
  top: 2rem;
  left: 50%;
  color: var(--muted-foreground);
  font-size: .875rem;
  line-height: 1.25rem;
  transform: translateX(-50%);
  transition: color .15s ease;
}

.manifesto-home:hover,
.manifesto-home:focus-visible {
  color: var(--foreground);
}

.manifesto-home:focus-visible {
  outline: 2px solid hsl(240 5% 48%);
  outline-offset: 4px;
}

.manifesto-label {
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
  color: var(--muted-foreground);
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.25rem;
  letter-spacing: 0;
  text-transform: none;
}

.manifesto-copy {
  display: grid;
  width: min(100%, 56rem);
  gap: clamp(1.25rem, 3vh, 2rem);
}

.manifesto-copy p {
  color: var(--foreground);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.manifesto-copy p:last-child {
  max-width: 31em;
  margin-inline: auto;
}

.manifesto-footer {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(100%, 42rem);
  padding-inline: 1.5rem;
  transform: translateX(-50%);
}

@media (min-width: 768px) {
  .hero {
    padding-top: 5rem;
    padding-bottom: 4.5rem;
  }

  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-page {
    padding: 2.5rem;
  }

  h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .venture-row {
    align-items: center;
    padding-block: 1.75rem;
  }

  .manifesto-list p {
    padding-block: 1.75rem;
  }

  .site-footer {
    padding-bottom: 2rem;
  }
}
