.legacy { background: var(--surface); }

.legacy__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.legacy__sticky { position: sticky; top: 32px; }

.legacy__sticky h2 {
  margin: 18px 0 32px;
  max-width: 22ch;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.legacy__photo {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--dark);
}

.legacy__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 26px;
}

.timeline__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}

.timeline__dot {
  width: 11px;
  height: 11px;
  background: var(--accent);
  transform: rotate(45deg);
  flex: none;
}

.timeline__line {
  width: 1px;
  flex: 1;
  background: linear-gradient(180deg, #d8d3c7, rgba(216, 211, 199, 0.25));
}

.timeline__item { padding-bottom: 44px; }

.timeline__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  color: #dcd7cb;
  letter-spacing: -0.03em;
}

.timeline__item h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0;
  line-height: 1.2;
  color: var(--ink);
}

.timeline__highlight {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
  margin-top: 16px;
}

.thirdspace {
  position: relative;
  background: var(--surface-alt);
  overflow: hidden;
  min-height: clamp(460px, 44vw, 620px);
  display: flex;
}

.thirdspace__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.thirdspace__bg img {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 52%;
  min-width: 360px;
  object-fit: cover;
  object-position: left center;
}

.thirdspace__fade {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 54%;
  min-width: 380px;
  background: linear-gradient(90deg, rgba(237, 233, 225, 0) 0%, rgba(237, 233, 225, 0.3) 40%, rgba(237, 233, 225, 0.85) 72%, var(--surface-alt) 94%);
}

.thirdspace__fill {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48%;
  background: var(--surface-alt);
}

.thirdspace__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 90px) clamp(28px, 4vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  align-items: center;
}

.thirdspace__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.thirdspace__logo { width: min(100%, 520px); height: auto; }

.thirdspace__tagline {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  align-self: stretch;
  justify-content: flex-end;
  max-width: 520px;
}

.thirdspace__tagline span:first-child {
  width: clamp(56px, 7vw, 96px);
  height: 2px;
  background: var(--ink);
  flex: none;
}

.thirdspace__tagline span:last-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 1.5vw, 21px);
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: uppercase;
}

.thirdspace__content p { margin-top: clamp(34px, 4vw, 58px); max-width: 52ch; }

.thirdspace__content p + p { margin-top: 22px; }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  padding: 8px 8px 8px 26px;
  border-radius: var(--radius-pill);
  margin-top: clamp(28px, 3vw, 40px);
  border: 1px solid rgba(22, 21, 15, 0.22);
  background: rgba(255, 255, 255, 0.5);
  transition: 0.25s;
}

.btn-outline-dark:hover {
  background: var(--white);
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline-dark__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
}

.founder { background: var(--surface); }

.founder__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.founder__portrait {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--dark);
  aspect-ratio: 1 / 1.04;
  min-height: 440px;
  box-shadow: var(--shadow-card);
}

.founder__portrait-inner {
  position: absolute;
  top: 78px;
  left: 92px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(158deg, #c67232 0%, #a1521f 52%, #7c3d14 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.founder__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: rgba(24, 14, 6, 0.3);
}

.founder__placeholder svg { width: 82%; height: auto; }

.founder__badge {
  position: relative;
  z-index: 3;
  margin: 0 0 26px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(20, 18, 16, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
}

.founder h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  margin-top: 16px;
}

.founder__role-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 12px;
}

.founder__role-line span:first-child {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.founder__role-line span:last-child {
  width: 130px;
  height: 2px;
  background: rgba(22, 21, 15, 0.16);
  border-radius: 2px;
}

.founder__role {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.founder__bio {
  color: var(--ink-muted);
  font-size: 16.5px;
  line-height: 1.66;
  margin-top: 24px;
  max-width: 56ch;
}

.profile-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 12px 22px;
}

.profile-toggle:hover { border-color: var(--accent); color: var(--accent); }

.profile-toggle__sign {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #edeae3;
  color: var(--accent);
  font-size: 13px;
  line-height: 1;
}

.profile-detail {
  margin-top: 26px;
  border-top: 1px solid var(--border);
  padding-top: 26px;
  max-width: 60ch;
}

.profile-detail[hidden] { display: none; }

.profile-detail h3 {
  font-family: var(--font-display);
  font-size: 17px;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}

.profile-detail p {
  color: var(--ink-muted);
  font-size: 15.5px;
  line-height: 1.68;
  margin: 0 0 12px;
}

.profile-block + .profile-block { margin-top: 26px; }

.pminfinity {
  background: var(--dark);
  color: var(--white);
  padding: 0;
}

.pminfinity__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  align-items: stretch;
}

.pminfinity__copy {
  padding: clamp(56px, 7vw, 104px) clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pminfinity__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  margin: 16px 0 10px;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.pminfinity__sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--accent-bright);
  margin: 0 0 24px;
}

.pminfinity__copy p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  font-weight: 300;
  margin: 0 0 18px;
  max-width: 52ch;
}

.pminfinity__visual {
  position: relative;
  min-height: 440px;
  background: #0f0e0c;
}

.pminfinity__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.pminfinity__visual-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(20, 18, 16, 0.65), rgba(20, 18, 16, 0.1));
}
