:root {
  --black: #080909;
  --charcoal: #262626;
  --ink: #262626;
  --paper: #e8ebe7;
  --sage: #c1cfc1;
  --steel: #9da8aa;
  --graphite: #505452;
  --line: rgba(255, 255, 255, .19);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--black);
  color: var(--paper);
  font-family: Poppins, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }

.masthead {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 78px;
  padding: 0 3.2vw;
  mix-blend-mode: difference;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}
.masthead.is-scrolled {
  background: rgba(8, 9, 9, .94);
  border-bottom-color: rgba(255, 255, 255, .12);
  mix-blend-mode: normal;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.masthead-mark img {
  width: clamp(160px, 14vw, 225px);
  height: auto;
  filter: brightness(0) invert(1);
}
.masthead nav { display: flex; gap: 30px; }
.masthead nav a,
.eyebrow,
.hero-foot,
.folio,
.ledger-count,
.row-number,
.row-sector,
.row-action,
footer {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.masthead nav a { opacity: .62; transition: opacity 180ms ease; }
.masthead nav a:hover { opacity: 1; }

.hero {
  position: relative;
  min-height: max(100svh, 660px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
  padding: clamp(110px, 14vh, 155px) 7vw clamp(125px, 17vh, 180px);
  background: var(--black);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0 49.9%, rgba(255,255,255,.08) 50%, transparent 50.1%);
  pointer-events: none;
}
.hero-aperture {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 47%;
  width: 19%;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-aperture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
  filter: grayscale(1) contrast(1.2) brightness(.5);
  transform: scale(1.04);
}
.hero-aperture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,9,9,.2), transparent 30%, transparent 68%, rgba(8,9,9,.48));
}
#signal-field {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .5;
}
.hero-title {
  position: relative;
  z-index: 4;
  min-width: 0;
  width: 100%;
}
.eyebrow { margin: 0 0 24px; color: var(--sage); }
.hero h1 {
  margin: 0;
  max-width: 1500px;
  font-size: clamp(3.75rem, 7.8vw, 8.8rem);
  font-weight: 800;
  line-height: .84;
  letter-spacing: -.065em;
}
.hero h1 span,
.hero h1 em { display: block; }
.hero h1 em {
  margin-left: clamp(5rem, 26vw, 31rem);
  color: var(--sage);
  text-align: left;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -.05em;
  white-space: nowrap;
}
.thesis {
  position: relative;
  z-index: 5;
  min-width: 0;
  width: min(610px, 46%);
  margin: clamp(38px, 6vh, 68px) 0 0;
  color: #b8bdb8;
  font-size: clamp(1rem, 1vw, 1.05rem);
  font-weight: 400;
  line-height: 1.65;
}
.hero-foot {
  position: absolute;
  z-index: 5;
  left: 7vw;
  right: 5vw;
  bottom: 28px;
  display: flex;
  justify-content: space-between;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.hero-foot a { display: flex; gap: 14px; }
.hero-foot b { color: var(--sage); }
.folio {
  position: absolute;
  z-index: 6;
  right: 13px;
  top: 50%;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  opacity: .42;
}

.ledger {
  min-height: 100svh;
  padding: clamp(84px, 8vw, 140px) 3.2vw 4vw;
  background: var(--sage);
  color: var(--ink);
}
.ledger-head {
  display: grid;
  grid-template-columns: 1fr 1.7fr 1fr;
  align-items: end;
  gap: 4vw;
  padding: 0 0 clamp(48px, 5vw, 84px);
}
.ledger-head .eyebrow { align-self: start; color: var(--graphite); }
.ledger-head h2 {
  margin: 0;
  font-size: clamp(3rem, 5.4vw, 6.25rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.05em;
}
.ledger-count { justify-self: end; margin: 0 0 .6rem; color: var(--graphite); }
.ledger-body {
  display: grid;
  grid-template-columns: minmax(380px, 1.08fr) minmax(460px, .92fr);
  min-height: clamp(560px, 70vh, 760px);
  border-top: 1px solid rgba(38,38,38,.3);
  border-bottom: 1px solid rgba(38,38,38,.3);
}
.stage {
  position: sticky;
  top: 0;
  align-self: start;
  height: clamp(560px, 70vh, 760px);
  overflow: hidden;
  background: #111312;
  color: white;
}
.stage-panel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 450ms ease, transform 850ms cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.stage-panel.is-active { opacity: 1; transform: none; }
.stage-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.stage-caption {
  position: absolute;
  z-index: 12;
  left: 34px;
  right: 34px;
  bottom: 28px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: end;
  gap: 25px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.36);
  transition: color 300ms ease, border-color 300ms ease;
}
.stage-caption span {
  color: var(--sage);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
}
.stage-caption p {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  font-weight: 400;
  line-height: 1.4;
}
.stage[data-active="gassen"] .stage-caption { opacity: 0; }
.stage[data-active="stranded"] .stage-caption span { color: var(--sage); }

.stage-gassen { background: var(--steel); }
.stage-gassen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(38,38,38,.16), transparent 46%, rgba(193,207,193,.2));
}
.gassen-field {
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: clamp(32px, 4vw, 62px) clamp(32px, 4vw, 62px);
  mask-image: linear-gradient(135deg, transparent 6%, black 45%, transparent 92%);
  -webkit-mask-image: linear-gradient(135deg, transparent 6%, black 45%, transparent 92%);
}
.gassen-stage-logo {
  position: relative;
  z-index: 2;
  width: min(58%, 510px);
  height: auto;
  filter: brightness(0) invert(1);
}

.stage-urban { background: #212624; }
.urban-system {
  position: absolute;
  width: 95%;
  height: auto;
  max-width: none;
  opacity: .5;
  filter: grayscale(1) brightness(.62);
}
.urban-logo {
  position: relative;
  z-index: 2;
  width: min(67%, 570px);
  height: auto;
  filter: grayscale(1) brightness(1.06);
}

.stage-raquette { background: #171918; color: white; }
.raquette-image {
  object-position: 52% center;
  filter: grayscale(1) brightness(.42) contrast(1.18);
  transform: scale(1.025);
}
.stage-raquette::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,9,9,.14), rgba(8,9,9,.56)), radial-gradient(circle at 54% 42%, transparent 0 18%, rgba(8,9,9,.5) 78%);
}
.raquette-logo {
  position: relative;
  z-index: 3;
  width: min(60%, 510px);
  height: auto;
  filter: brightness(0) invert(1);
}

.stage-tensegrity { background: #30302d; }
.tensegrity-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: grayscale(1) brightness(.48) contrast(1.15);
}
.stage-tensegrity::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent, rgba(10,11,10,.68));
}
.tensegrity-logo {
  position: relative;
  z-index: 2;
  width: min(69%, 560px);
  height: auto;
  filter: grayscale(1) brightness(1.08);
}

.stage-srtech { background: #05060b; }
.srtech-image {
  object-position: 70% center;
  filter: grayscale(1) brightness(.62) contrast(1.15);
  transform: scale(1.025);
}
.stage-srtech::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,4,8,.12), rgba(3,4,8,.5)), radial-gradient(circle at 58% 42%, transparent 0 20%, rgba(3,4,8,.46) 84%);
}
.sr-logo {
  position: relative;
  z-index: 3;
  width: min(78%, 660px);
  height: auto;
  filter: grayscale(1) brightness(1.08);
}

.stage-stranded { background: #090a0a; color: white; }
.stranded-image {
  object-position: center;
  filter: grayscale(1) brightness(.67) contrast(1.15);
  transform: scale(1.025);
}
.stage-stranded::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,5,5,.14), rgba(4,5,5,.53)), radial-gradient(circle at 56% 53%, transparent 0 18%, rgba(4,5,5,.46) 82%);
}
.stranded-logo {
  position: relative;
  z-index: 3;
  width: min(66%, 560px);
  height: auto;
  filter: invert(1) grayscale(1) brightness(2);
}

.venture-list {
  align-self: stretch;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  background: var(--sage);
}
.venture-row {
  width: 100%;
  min-height: 108px;
  display: grid;
  grid-template-columns: 52px minmax(180px, 1.4fr) minmax(145px, .8fr) 86px;
  align-items: center;
  gap: 18px;
  padding: 24px 24px 24px 30px;
  border: 0;
  border-bottom: 1px solid rgba(38,38,38,.3);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease;
}
.venture-row:last-child { border-bottom: 0; }
.venture-row strong {
  font-size: clamp(1.35rem, 1.8vw, 2.15rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.03em;
}
.venture-row .slash { color: inherit; }
.venture-row.is-active,
.venture-row:hover,
.venture-row:focus-visible {
  color: white;
  background: var(--charcoal);
  outline: none;
}
.venture-row.is-active .row-sector,
.venture-row:hover .row-sector,
.venture-row:focus-visible .row-sector { color: #c3c9c4; }
.venture-row.is-active .slash,
.venture-row:hover .slash,
.venture-row:focus-visible .slash { color: var(--sage); }
.row-number { color: var(--graphite); }
.venture-row.is-active .row-number,
.venture-row:hover .row-number,
.venture-row:focus-visible .row-number { color: var(--sage); }
.row-sector { color: var(--graphite); line-height: 1.5; }
.row-action { justify-self: end; }

.close {
  min-height: 56vh;
  display: grid;
  align-content: center;
  padding: 10vw 7vw;
  background: #101211;
}
.close-line {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(3.4rem, 6.8vw, 7.8rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.055em;
}
footer {
  min-height: 190px;
  padding: 50px 3.2vw;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  background: var(--sage);
  color: var(--charcoal);
  border-top: 1px solid rgba(38,38,38,.14);
}
footer > img { width: clamp(190px, 18vw, 285px); height: auto; }
footer div { display: flex; gap: 34px; color: var(--graphite); }
footer a { color: var(--charcoal); }
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(.2,.7,.2,1);
}
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .masthead { height: 68px; padding: 0 26px; }
  .hero {
    justify-content: center;
    padding: 118px 26px 138px;
  }
  .hero-aperture { left: 52%; width: 27%; opacity: .82; }
  .hero h1 { font-size: clamp(3.65rem, 10.5vw, 7.2rem); }
  .hero h1 em { margin-left: clamp(2rem, 16vw, 11rem); }
  .thesis { width: min(590px, 62%); }
  .hero-foot { left: 26px; right: 26px; }
  .folio { display: none; }
  .ledger { padding: 90px 26px 30px; }
  .ledger-head { grid-template-columns: 1fr; gap: 16px; padding-bottom: 46px; }
  .ledger-head h2 { font-size: clamp(3rem, 8vw, 5rem); }
  .ledger-count { justify-self: start; }
  .ledger-body { grid-template-columns: 1fr; }
  .stage {
    position: sticky;
    z-index: 10;
    top: 68px;
    height: clamp(470px, 58svh, 620px);
  }
  .venture-row { min-height: 104px; grid-template-columns: 42px 1fr auto; }
  .row-sector { grid-column: 2; margin-top: -14px; }
  .row-action { grid-column: 3; grid-row: 1 / span 2; }
  footer { align-items: flex-start; flex-direction: column; gap: 44px; }
  footer div { flex-direction: column; gap: 12px; }
}

@media (max-width: 680px) {
  .masthead nav a:first-child { display: none; }
  .hero {
    min-height: max(100svh, 680px);
    justify-content: flex-start;
    padding: 128px 24px 126px;
  }
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,9,9,.94) 0 36%, rgba(8,9,9,.48) 100%);
  }
  .hero-aperture { left: 56%; width: 38%; opacity: .7; }
  .hero-title, .thesis { z-index: 4; }
  .hero h1 { font-size: clamp(3rem, 13vw, 5rem); line-height: .9; }
  .hero h1 em { margin: .12em 0 0; white-space: normal; }
  .thesis {
    width: 100%;
    max-width: 540px;
    margin-top: 34px;
    font-size: 1rem;
    line-height: 1.58;
  }
  .hero-foot > span { display: none; }
  .ledger { padding: 76px 18px 24px; }
  .ledger-head h2 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .stage { min-height: 0; height: clamp(330px, 50svh, 430px); }
  .stage-caption { left: 22px; right: 22px; grid-template-columns: 28px 1fr; gap: 12px; }
  .venture-row { padding: 20px 12px; gap: 10px; }
  .venture-row strong { font-size: 1.35rem; }
  .row-action { display: none; }
  .close { min-height: 48vh; padding: 76px 24px; }
  .close-line { font-size: clamp(3rem, 12vw, 5rem); }
}

@media (max-width: 1100px) and (max-height: 600px) {
  .stage {
    min-height: 0;
    height: max(320px, calc(100svh - 68px));
  }
}

@supports not (overflow: clip) {
  html,
  body { overflow-x: hidden; }
}

@media (min-width: 681px) and (max-height: 720px) {
  .hero {
    justify-content: flex-start;
    padding-top: 112px;
    padding-bottom: 122px;
  }
  .hero h1 { font-size: clamp(3.6rem, 7vw, 6.7rem); }
  .thesis { margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .stage-panel { transition: none; }
}
