/* Bronze Age — Investors */

html:has(.inv) {
  scroll-padding-top: calc(3.75rem + env(safe-area-inset-top));
}

.inv { background: var(--bg); }

.inv-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding:
    max(.8rem, env(safe-area-inset-top))
    max(var(--pad-x), env(safe-area-inset-right))
    .8rem
    max(var(--pad-x), env(safe-area-inset-left));
  background: var(--bg);
  border-bottom: 1px solid rgba(245, 239, 229, .08);
}

.inv-bar__mark {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--display);
  font-size: .95rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.inv-bar__mark em { font-style: italic; font-weight: 500; }
.inv-bar__mark img { display: block; width: 1.25rem; height: 1.25rem; }

.inv-bar__jump {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: .9rem 1.15rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent, #000 8px, #000 calc(100% - 8px), transparent);
}

.inv-bar__jump::-webkit-scrollbar { display: none; }

.inv-bar__jump a,
.inv-bar__nav a {
  flex-shrink: 0;
  font-family: var(--typewriter);
  font-size: .5rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(245, 239, 229, .42);
}

.inv-bar__jump a:hover,
.inv-bar__nav a:hover { color: var(--cream); }

.inv-bar__nav {
  display: flex;
  gap: 1.25rem;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  html:has(.inv) {
    scroll-padding-top: calc(6.25rem + env(safe-area-inset-top));
  }

  .inv-bar {
    flex-wrap: wrap;
    row-gap: .55rem;
  }

  .inv-bar__jump {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
  }

  .inv-hero {
    padding-top: calc(7.25rem + env(safe-area-inset-top));
  }
}

.inv-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding:
    calc(5.5rem + env(safe-area-inset-top))
    var(--pad-x)
    clamp(4rem, 10vh, 7rem);
}

.inv-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.inv-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.inv-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,7,5,.35) 0%, rgba(10,7,5,.2) 35%, rgba(10,7,5,.78) 100%);
  pointer-events: none;
}

.inv-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.inv-hero__headline {
  margin: .85rem 0 .75rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--cream);
}

.inv-hero__italic,
.inv-italic {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.35;
  color: rgba(245, 239, 229, .78);
}

.inv-hero__body,
.inv-p {
  margin: 0 0 1rem;
  max-width: 36rem;
  font-family: var(--display);
  font-size: var(--type-body);
  line-height: 1.65;
  color: rgba(245, 239, 229, .78);
}

.inv-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.75rem;
  margin-top: 1.75rem;
}

.inv-hero__actions a {
  font-family: var(--display);
  font-size: .9375rem;
  font-style: italic;
  text-decoration: none;
  color: var(--cream);
  border-bottom: 1px solid rgba(245, 239, 229, .35);
  padding-bottom: .1rem;
}

.inv-hero__actions a:hover { border-color: var(--cream); }

.inv-section {
  padding: clamp(5.5rem, 14vh, 9rem) var(--pad-x);
}

.inv-section--dark { background: var(--bg); color: var(--cream); }

.inv-section--paper {
  background: var(--paper) url("../img/paper.webp") center / cover;
  color: var(--paper-ink);
}

.inv-wrap { max-width: 40rem; margin: 0 auto; }
.inv-wrap--wide { max-width: 52rem; }
.inv-wrap--follow { margin-top: clamp(3rem, 7vh, 5rem); }

.inv-tag {
  margin: 0 0 1.25rem;
  font-family: var(--typewriter);
  font-size: var(--type-tag);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(245, 239, 229, .38);
}

.inv-section--paper .inv-tag { color: rgba(26, 21, 13, .42); }

.inv-h {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.015em;
}

.inv-h--small {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  margin-top: 3rem;
}

.inv-section--paper .inv-p,
.inv-section--paper .inv-italic,
.inv-section--paper .inv-large { color: rgba(26, 21, 13, .78); }

.inv-p--quiet { color: rgba(245, 239, 229, .52); }
.inv-section--paper .inv-p--quiet { color: rgba(26, 21, 13, .5); }

.inv-large {
  margin: 2rem 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--cream);
}

.inv-large--italic { font-style: italic; }

.inv-note {
  margin: 1.5rem 0 0;
  font-family: var(--display);
  font-size: .875rem;
  font-style: italic;
  color: rgba(245, 239, 229, .45);
}

.inv-section--paper .inv-note { color: rgba(26, 21, 13, .48); }

.inv-statements {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.inv-statements__title {
  margin: 0 0 .35rem;
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
}

.inv-statements p { margin: 0; font-family: var(--display); line-height: 1.55; }

.inv-plainlist {
  margin: 1rem 0 1.75rem;
  padding-left: 1.1rem;
  font-family: var(--display);
  line-height: 1.85;
}

.inv-moments {
  margin: 2.5rem 0;
}

.inv-moments > div { margin-bottom: 2rem; }
.inv-moments dt {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  margin-bottom: .4rem;
}
.inv-moments dd {
  margin: 0;
  font-family: var(--display);
  line-height: 1.55;
  color: inherit;
  opacity: .78;
}

.inv-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
}

.inv-split__fig { margin: 0; }
.inv-split__fig img { width: 100%; height: auto; display: block; }

.inv-arch {
  margin: 2.5rem 0 2rem;
  text-align: center;
}

.inv-arch__node {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: .02em;
}

.inv-arch__mid {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
}

.inv-arch__hint {
  margin-top: .75rem;
  font-family: var(--typewriter);
  font-size: .55rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245, 239, 229, .4);
}

.inv-arch__rule {
  width: 1px;
  height: 2.25rem;
  margin: .85rem auto;
  background: rgba(245, 239, 229, .28);
}

.inv-figures {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.inv-figures dt {
  font-family: var(--typewriter);
  font-size: .55rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245, 239, 229, .4);
  margin-bottom: .3rem;
}

.inv-figures dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 300;
}

.inv-progress {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  counter-reset: none;
}

.inv-progress span {
  display: block;
  font-family: var(--typewriter);
  font-size: .55rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .3rem;
}

.inv-progress p { margin: 0; font-family: var(--display); }

.inv-compare {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.inv-compare em {
  display: block;
  font-style: italic;
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: .2rem;
}

.inv-compare li { font-family: var(--display); line-height: 1.5; }

.inv-road {
  list-style: none;
  margin: 2.5rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.inv-road__when {
  font-family: var(--typewriter);
  font-size: .55rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}

.inv-road__title {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-bottom: .35rem;
}

.inv-road p { font-family: var(--display); line-height: 1.55; }

.inv-funds {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.inv-funds li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.inv-funds span {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 300;
}

.inv-funds strong {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  margin-bottom: .25rem;
}

.inv-funds p { margin: 0; font-family: var(--display); line-height: 1.5; }

.inv-section--paper .faq {
  border-top-color: rgba(26, 21, 13, .14);
}

.inv-section--paper .faq__item {
  border-bottom-color: rgba(26, 21, 13, .14);
}

.inv-section--paper .faq__q { color: var(--paper-ink); }
.inv-section--paper .faq__q:hover { color: #000; }
.inv-section--paper .faq__q::after { color: rgba(26, 21, 13, .35); }
.inv-section--paper .faq__a { color: rgba(26, 21, 13, .7); }

.inv-close-raise {
  margin: 1.25rem 0 0;
  font-family: var(--display);
  font-size: 1.125rem;
  font-style: italic;
  color: rgba(245, 239, 229, .7);
}

.panel--closing .inv-hero__actions {
  justify-content: center;
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .inv-split {
    grid-template-columns: 1fr;
  }

  .inv-hero { min-height: 100dvh; }
}
