@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Noto+Sans+SC:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap");

:root {
  --sub-bg: #04050a;
  --sub-bg-soft: #090c14;
  --sub-surface: rgba(13, 18, 29, 0.72);
  --sub-surface-strong: rgba(17, 23, 36, 0.9);
  --sub-text: #f4f6ff;
  --sub-muted: #a5afc2;
  --sub-faint: #69758b;
  --sub-line: rgba(188, 214, 255, 0.14);
  --sub-line-strong: rgba(188, 223, 255, 0.3);
  --sub-cyan: #75e8ff;
  --sub-violet: #bd82ff;
  --sub-pink: #ff70cf;
  --sub-mint: #83ffd4;
  --sub-max: 1240px;
  --sub-radius: 24px;
  --sub-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  background: var(--sub-bg);
}

body:not(.home-page) {
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--sub-text);
  background: var(--sub-bg) !important;
  font-family: "Inter", "Noto Sans SC", "PingFang SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body:not(.home-page) ::selection {
  color: #031016;
  background: var(--sub-cyan);
}

body:not(.home-page) :focus-visible {
  outline: 2px solid var(--sub-cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--sub-bg);
  background: var(--sub-text);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.subpage-atmosphere {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 8%, rgba(83, 118, 255, 0.12), transparent 27rem),
    linear-gradient(150deg, #05070d, #030409 56%, #060710);
}

.subpage-atmosphere::before {
  content: "";
  position: absolute;
  width: min(74vw, 980px);
  aspect-ratio: 1;
  top: -32vw;
  right: -13vw;
  border-radius: 42% 58% 61% 39% / 53% 43% 57% 47%;
  opacity: 0.2;
  filter: blur(76px);
  background: conic-gradient(from 190deg, var(--sub-cyan), #536dff, var(--sub-violet), var(--sub-pink), var(--sub-cyan));
  animation: sub-morph 15s var(--sub-ease) infinite alternate;
}

.subpage-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(149, 179, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(149, 179, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 70% 20%, black 0%, transparent 70%);
}

.subpage-cursor-glow {
  position: fixed;
  z-index: 0;
  left: 0;
  top: 0;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  opacity: 0;
  filter: blur(12px);
  pointer-events: none;
  background: radial-gradient(circle, rgba(111, 226, 255, 0.11), rgba(116, 93, 255, 0.05) 38%, transparent 70%);
  transform: translate3d(-500px, -500px, 0) translate(-50%, -50%);
  will-change: transform;
  transition: opacity 220ms ease;
}

.subpage-cursor-glow.is-visible {
  opacity: 1;
}

body:not(.home-page) .site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 78px;
  color: var(--sub-text);
  border-bottom: 1px solid var(--sub-line);
  background: rgba(4, 5, 10, 0.52) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, border-color 220ms ease;
}

body:not(.home-page) .site-header.is-scrolled {
  border-color: rgba(188, 214, 255, 0.22);
  background: rgba(4, 5, 10, 0.82) !important;
}

body:not(.home-page) .nav {
  width: min(var(--sub-max), calc(100% - 48px));
  min-height: 78px;
}

body:not(.home-page) .brand {
  min-height: 48px;
  gap: 12px;
  color: var(--sub-text);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

body:not(.home-page) .brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid var(--sub-line-strong);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
}

body:not(.home-page) .brand-mark::before {
  content: "";
  position: absolute;
  inset: -80%;
  background: conic-gradient(from 0deg, transparent 0 42%, var(--sub-cyan), var(--sub-pink), transparent 60%);
  animation: sub-spin 8s linear infinite;
}

body:not(.home-page) .brand-mark svg {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  padding: 3px;
  border-radius: 5px;
  color: var(--sub-text);
  background: #06070d;
}

body:not(.home-page) .brand small {
  color: var(--sub-faint);
  font-family: "Space Mono", monospace;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.15em;
}

body:not(.home-page) .nav-links {
  gap: 34px;
  color: #c5ccda;
  font-size: 13px;
}

body:not(.home-page) .nav-links a {
  position: relative;
  min-height: 48px;
  transition: color 180ms ease;
}

body:not(.home-page) .nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 7px;
  height: 1px;
  background: linear-gradient(90deg, var(--sub-cyan), var(--sub-pink));
  transition: right 220ms var(--sub-ease);
}

body:not(.home-page) .nav-links a:hover,
.investment-page .nav-links a[href="investment.html"],
.experience-page .nav-links a[href="experience.html"],
.about-page .nav-links a[href="about.html"],
.contact-page .nav-links a[href="contact.html"] {
  color: var(--sub-text);
}

body:not(.home-page) .nav-links a:hover::after,
.investment-page .nav-links a[href="investment.html"]::after,
.experience-page .nav-links a[href="experience.html"]::after,
.about-page .nav-links a[href="about.html"]::after {
  right: 0;
}

body:not(.home-page) .nav-cta {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--sub-line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

body:not(.home-page) .nav-cta:hover,
.contact-page .nav-cta {
  border-color: rgba(117, 232, 255, 0.66);
  background: rgba(117, 232, 255, 0.08);
  box-shadow: 0 0 30px rgba(117, 205, 255, 0.12);
}

.subpage-menu-button {
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 12px;
  color: var(--sub-text);
  background: transparent;
  cursor: pointer;
}

.subpage-menu-button svg {
  width: 23px;
  height: 23px;
}

body:not(.home-page) main {
  position: relative;
  z-index: 2;
  padding-top: 78px !important;
  background: transparent !important;
}

body:not(.home-page) .section {
  position: relative;
  padding: clamp(88px, 9vw, 132px) 0;
  color: var(--sub-text);
  background: transparent !important;
}

body:not(.home-page) .section + .section {
  border-top: 1px solid var(--sub-line);
}

body:not(.home-page) .section-inner,
body:not(.home-page) .footer-inner {
  width: min(var(--sub-max), calc(100% - 48px));
}

.investment-page #thesis,
.experience-page #portfolio,
.about-page #team,
.contact-page .process-band {
  min-height: 72svh;
  padding-top: clamp(124px, 15vw, 190px) !important;
}

.investment-page #thesis::before,
.experience-page #portfolio::before,
.about-page #team::before,
.contact-page .process-band::before {
  position: absolute;
  top: 40px;
  left: max(24px, calc((100% - min(var(--sub-max), calc(100% - 48px))) / 2));
  color: var(--sub-faint);
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.investment-page #thesis::before { content: "F/AI · INVESTMENT SYSTEM / 01"; }
.experience-page #portfolio::before { content: "F/AI · COLLECTIVE EXPERIENCE / 02"; }
.about-page #team::before { content: "F/AI · PARTNERSHIP NETWORK / 03"; }
.contact-page .process-band::before { content: "F/AI · OPEN CHANNEL / 04"; }

body:not(.home-page) .section-kicker {
  color: var(--sub-cyan) !important;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.16em;
}

body:not(.home-page) .section-heading {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.38fr);
  gap: clamp(40px, 8vw, 112px);
  margin-bottom: clamp(44px, 6vw, 76px);
  align-items: end;
}

body:not(.home-page) .section-heading h2,
body:not(.home-page) .section-title {
  color: var(--sub-text);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: clamp(38px, 4.6vw, 66px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.investment-page #thesis .section-heading h2,
.experience-page #portfolio .section-heading h2,
.about-page #team .section-heading h2,
.contact-page .process-band .section-heading h2 {
  font-size: clamp(46px, 6.2vw, 88px);
  color: transparent;
  background: linear-gradient(96deg, #f4f6ff 8%, #a7edff 52%, #c79fff 82%, #ff94d9 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body:not(.home-page) .section-heading > p,
body:not(.home-page) .support-intro > p:not(.section-kicker) {
  color: var(--sub-muted) !important;
  font-weight: 300;
  line-height: 1.8;
}

body:not(.home-page) .thesis-grid,
body:not(.home-page) .portfolio-grid,
body:not(.home-page) .team-grid,
body:not(.home-page) .links-grid {
  gap: 16px;
}

body:not(.home-page) .thesis-card,
body:not(.home-page) .portfolio-card,
body:not(.home-page) .support-card,
body:not(.home-page) .team-card,
body:not(.home-page) .link-card,
body:not(.home-page) .process-step {
  position: relative;
  border: 1px solid var(--sub-line);
  border-radius: var(--sub-radius);
  color: var(--sub-text);
  background: linear-gradient(145deg, rgba(18, 24, 38, 0.76), rgba(7, 10, 17, 0.72)) !important;
  overflow: hidden;
  transition: transform 280ms var(--sub-ease), border-color 280ms ease, background 280ms ease, box-shadow 280ms ease;
}

body:not(.home-page) .thesis-card::after,
body:not(.home-page) .support-card::after,
body:not(.home-page) .team-card::after,
body:not(.home-page) .link-card::after,
body:not(.home-page) .process-step::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -110px;
  bottom: -120px;
  border-radius: 50%;
  opacity: 0.14;
  filter: blur(22px);
  background: conic-gradient(var(--sub-cyan), var(--sub-violet), transparent, var(--sub-cyan));
  pointer-events: none;
}

body:not(.home-page) .thesis-card:hover,
body:not(.home-page) .portfolio-card:hover,
body:not(.home-page) .support-card:hover,
body:not(.home-page) .team-card:hover,
body:not(.home-page) a.link-card:hover {
  transform: translateY(-5px);
  border-color: rgba(117, 232, 255, 0.34);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

body:not(.home-page) .thesis-card,
body:not(.home-page) .support-card,
body:not(.home-page) .process-step {
  padding: 28px;
}

body:not(.home-page) .icon-box {
  border-color: var(--sub-line-strong);
  border-radius: 14px;
  color: var(--sub-cyan);
  background: rgba(117, 232, 255, 0.05);
}

body:not(.home-page) .thesis-card h3,
body:not(.home-page) .portfolio-card h3,
body:not(.home-page) .team-card h3,
body:not(.home-page) .support-card h3,
body:not(.home-page) .process-step h3,
body:not(.home-page) .link-card h3 {
  color: var(--sub-text);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}

body:not(.home-page) .thesis-card p,
body:not(.home-page) .portfolio-card p,
body:not(.home-page) .team-card p,
body:not(.home-page) .support-card p,
body:not(.home-page) .process-step p,
body:not(.home-page) .link-card p {
  color: var(--sub-muted);
  font-weight: 300;
}

body:not(.home-page) .portfolio-card {
  border-radius: var(--sub-radius);
}

body:not(.home-page) .portfolio-visual {
  min-height: 245px;
  color: var(--sub-text);
  background:
    radial-gradient(circle at 76% 26%, rgba(117, 232, 255, 0.2), transparent 38%),
    linear-gradient(145deg, #11182a, #090d17) !important;
}

body:not(.home-page) .portfolio-visual::before {
  background: radial-gradient(circle, rgba(189, 130, 255, 0.5), transparent 70%) !important;
}

body:not(.home-page) .portfolio-card:nth-child(2) .portfolio-visual::before {
  background: radial-gradient(circle, rgba(117, 232, 255, 0.48), transparent 70%) !important;
}

body:not(.home-page) .portfolio-card:nth-child(3) .portfolio-visual::before {
  background: radial-gradient(circle, rgba(255, 112, 207, 0.4), transparent 70%) !important;
}

body:not(.home-page) .portfolio-tag,
body:not(.home-page) .link-status,
body:not(.home-page) .pill {
  border-color: var(--sub-line);
  color: #b7c6dc;
  background: rgba(255, 255, 255, 0.035);
}

body:not(.home-page) .portfolio-body,
body:not(.home-page) .team-body,
body:not(.home-page) .founder-copy {
  background: transparent;
}

body:not(.home-page) .case-feature,
body:not(.home-page) .founder-panel,
body:not(.home-page) .contact-panel {
  border: 1px solid var(--sub-line);
  border-radius: 30px;
  overflow: hidden;
  color: var(--sub-text);
  background:
    radial-gradient(circle at 90% 0%, rgba(107, 126, 255, 0.14), transparent 40%),
    linear-gradient(145deg, rgba(18, 24, 38, 0.88), rgba(7, 10, 17, 0.88)) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

body:not(.home-page) .case-copy {
  color: var(--sub-text);
  background: transparent;
}

body:not(.home-page) .case-copy blockquote {
  color: var(--sub-text);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-weight: 300;
}

body:not(.home-page) .case-copy cite {
  color: var(--sub-faint);
}

body:not(.home-page) .case-image img {
  filter: saturate(0.55) contrast(1.05) brightness(0.72);
}

body:not(.home-page) .support-layout {
  gap: clamp(44px, 8vw, 112px);
}

body:not(.home-page) .support-intro {
  top: 112px;
}

body:not(.home-page) .founder-portrait,
body:not(.home-page) .team-avatar {
  color: var(--sub-text);
  background:
    radial-gradient(circle at 35% 30%, rgba(117, 232, 255, 0.24), transparent 30%),
    linear-gradient(145deg, #111a2b, #090d18) !important;
}

body:not(.home-page) .founder-portrait::before {
  background: radial-gradient(circle, rgba(189, 130, 255, 0.38), transparent 70%);
}

body:not(.home-page) .founder-signature,
body:not(.home-page) .team-signature {
  position: relative;
  isolation: isolate;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  overflow: hidden;
}

body:not(.home-page) .founder-signature {
  padding: clamp(30px, 3.8vw, 48px);
}

body:not(.home-page) .founder-signature::after,
body:not(.home-page) .team-signature::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.32;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(160, 205, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 205, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(145deg, black, transparent 72%);
}

body:not(.home-page) .signature-header,
body:not(.home-page) .founder-path,
body:not(.home-page) .signature-caption,
body:not(.home-page) .team-signal,
body:not(.home-page) .team-capabilities,
body:not(.home-page) .network-cities {
  position: relative;
  z-index: 2;
}

body:not(.home-page) .signature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

body:not(.home-page) .signature-code {
  color: var(--sub-faint);
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

body:not(.home-page) .signature-surname {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid var(--sub-line-strong);
  border-radius: 999px;
  color: var(--sub-text);
  background: rgba(6, 10, 18, 0.56);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

body:not(.home-page) .founder-path {
  display: grid;
  gap: 10px;
  margin: auto 0;
}

body:not(.home-page) .founder-path-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--sub-line);
}

body:not(.home-page) .founder-path-item:last-child {
  border-bottom: 1px solid var(--sub-line);
}

body:not(.home-page) .founder-path-item > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(117, 232, 255, 0.3);
  border-radius: 50%;
  color: var(--sub-cyan);
  font-family: "Space Mono", monospace;
  font-size: 9px;
}

body:not(.home-page) .founder-path-item strong,
body:not(.home-page) .founder-path-item small {
  display: block;
}

body:not(.home-page) .founder-path-item strong {
  color: var(--sub-text);
  font-family: "Space Mono", monospace;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.05;
}

body:not(.home-page) .founder-path-item small {
  margin-top: 5px;
  color: var(--sub-muted);
  font-size: 11px;
  line-height: 1.45;
}

body:not(.home-page) .signature-caption {
  color: var(--sub-faint);
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body:not(.home-page) .team-signature {
  min-height: 198px;
  padding: 22px;
}

body:not(.home-page) .team-card:nth-child(1) .team-signature {
  background:
    radial-gradient(circle at 18% 20%, rgba(117, 232, 255, 0.2), transparent 36%),
    linear-gradient(145deg, #101b2d, #080c15) !important;
}

body:not(.home-page) .team-card:nth-child(2) .team-signature {
  background:
    radial-gradient(circle at 82% 16%, rgba(189, 130, 255, 0.2), transparent 38%),
    linear-gradient(145deg, #171529, #090b15) !important;
}

body:not(.home-page) .team-card:nth-child(3) .team-signature {
  background:
    radial-gradient(circle at 48% 44%, rgba(255, 112, 207, 0.12), transparent 40%),
    linear-gradient(145deg, #11182a, #080c15) !important;
}

body:not(.home-page) .team-signal {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: end;
  margin-top: auto;
}

body:not(.home-page) .team-signal-value {
  color: var(--sub-text);
  font-family: "Space Mono", monospace;
  font-size: 38px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

body:not(.home-page) .team-signal-label {
  max-width: 160px;
  color: var(--sub-muted);
  font-size: 10px;
  line-height: 1.45;
}

body:not(.home-page) .team-capabilities,
body:not(.home-page) .network-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

body:not(.home-page) .team-capabilities span,
body:not(.home-page) .network-cities span {
  padding: 4px 7px;
  border: 1px solid var(--sub-line);
  border-radius: 999px;
  color: #b7c6dc;
  background: rgba(255, 255, 255, 0.025);
  font-family: "Space Mono", monospace;
  font-size: 8px;
  line-height: 1.35;
}

body:not(.home-page) .network-orbit {
  position: absolute;
  z-index: 1;
  inset: 20px 18px 34px;
  width: calc(100% - 36px);
  height: calc(100% - 54px);
  color: var(--sub-cyan);
  opacity: 0.58;
}

body:not(.home-page) .network-cities {
  margin-top: auto;
}

body:not(.home-page) .founder-copy h3 {
  color: transparent;
  background: linear-gradient(95deg, var(--sub-text), #a9efff, #c9a4ff);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-weight: 300;
}

body:not(.home-page) .founder-title,
body:not(.home-page) .team-role {
  color: var(--sub-cyan);
}

body:not(.home-page) .founder-lead {
  color: #d5dbea;
  font-weight: 300;
}

body:not(.home-page) .founder-story,
body:not(.home-page) .credential span {
  color: var(--sub-muted);
}

body:not(.home-page) .credential {
  border-color: var(--sub-line);
}

body:not(.home-page) .credential strong {
  color: var(--sub-cyan);
}

body:not(.home-page) .process-grid {
  border-color: var(--sub-line);
}

body:not(.home-page) .process-step {
  min-height: 260px;
  border-color: var(--sub-line);
  border-radius: 0;
}

body:not(.home-page) .process-step span {
  color: var(--sub-cyan);
  font-family: "Space Mono", monospace;
}

body:not(.home-page) .link-action {
  color: var(--sub-cyan);
}

body:not(.home-page) .contact-panel {
  min-height: 430px;
  padding: clamp(36px, 6vw, 76px);
}

body:not(.home-page) .contact-panel h2 {
  color: transparent;
  background: linear-gradient(96deg, var(--sub-text), #a6edff 55%, #c69cff);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 300;
  letter-spacing: -0.055em;
}

body:not(.home-page) .contact-panel p {
  color: var(--sub-muted);
}

body:not(.home-page) .button {
  min-height: 52px;
  border-radius: 999px;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

body:not(.home-page) .button-primary {
  border-color: rgba(117, 232, 255, 0.54);
  color: #041016;
  background: linear-gradient(105deg, #f7fbff, #9deeff 54%, #c5a6ff);
  box-shadow: 0 14px 42px rgba(117, 196, 255, 0.16);
}

body:not(.home-page) .button-secondary {
  border-color: var(--sub-line-strong);
  color: var(--sub-text);
  background: rgba(255, 255, 255, 0.035);
}

body:not(.home-page) .site-footer {
  position: relative;
  z-index: 2;
  color: var(--sub-faint);
  background: rgba(3, 4, 9, 0.7);
}

body:not(.home-page) .footer-inner {
  border-color: var(--sub-line);
}

body:not(.home-page) .footer-inner strong {
  color: var(--sub-text);
}

[data-subpage-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--sub-ease), transform 700ms var(--sub-ease);
}

[data-subpage-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes sub-spin {
  to { transform: rotate(360deg); }
}

@keyframes sub-morph {
  to {
    transform: translate3d(-7%, 9%, 0) rotate(14deg) scale(1.16);
    border-radius: 59% 41% 38% 62% / 44% 62% 38% 56%;
    opacity: 0.28;
  }
}

@media (max-width: 920px) {
  body:not(.home-page) .nav,
  body:not(.home-page) .section-inner,
  body:not(.home-page) .footer-inner {
    width: min(var(--sub-max), calc(100% - 32px));
  }

  body:not(.home-page) .section-heading,
  body:not(.home-page) .support-layout,
  body:not(.home-page) .founder-panel,
  body:not(.home-page) .contact-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  body:not(.home-page) .support-intro {
    position: static;
  }
}

@media (min-width: 721px) and (max-width: 920px) {
  body:not(.home-page) .team-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  }

  body:not(.home-page) .team-card:last-child .team-signature {
    min-height: 100%;
  }
}

@media (max-width: 720px) {
  body:not(.home-page) .site-header,
  body:not(.home-page) .nav {
    min-height: 68px;
    height: 68px;
  }

  body:not(.home-page) main {
    padding-top: 68px !important;
  }

  .subpage-menu-button {
    display: grid;
  }

  body:not(.home-page) .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    padding: 12px;
    border: 1px solid var(--sub-line);
    border-radius: 16px;
    display: grid !important;
    gap: 2px;
    visibility: hidden;
    opacity: 0;
    background: rgba(5, 7, 13, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transform: translateY(-8px);
    transition: visibility 180ms ease, opacity 180ms ease, transform 180ms ease;
  }

  body:not(.home-page) .nav-links.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  body:not(.home-page) .nav-links a,
  body:not(.home-page) .nav-links .nav-cta {
    min-height: 48px !important;
    padding: 0 14px;
    border-radius: 10px;
    display: flex !important;
  }

  body:not(.home-page) .section {
    padding: 80px 0;
  }

  .investment-page #thesis,
  .experience-page #portfolio,
  .about-page #team,
  .contact-page .process-band {
    min-height: auto;
    padding-top: 118px !important;
  }

  body:not(.home-page) .section-heading h2,
  body:not(.home-page) .section-title,
  .investment-page #thesis .section-heading h2,
  .experience-page #portfolio .section-heading h2,
  .about-page #team .section-heading h2,
  .contact-page .process-band .section-heading h2 {
    font-size: clamp(37px, 11vw, 52px);
  }

  body:not(.home-page) .thesis-grid,
  body:not(.home-page) .portfolio-grid,
  body:not(.home-page) .team-grid,
  body:not(.home-page) .links-grid,
  body:not(.home-page) .process-grid {
    grid-template-columns: 1fr;
  }

  body:not(.home-page) .process-step {
    min-height: 220px;
  }

  body:not(.home-page) .founder-portrait {
    min-height: 340px;
  }

  body:not(.home-page) .founder-signature {
    padding: 24px;
  }

  body:not(.home-page) .team-signature {
    min-height: 184px;
    padding: 20px;
  }

  body:not(.home-page) .founder-path-item {
    padding: 10px 0;
  }

  body:not(.home-page) .founder-path-item strong {
    font-size: 22px;
  }

  body:not(.home-page) .contact-panel {
    min-height: 520px;
    padding: 30px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .subpage-cursor-glow {
    display: none;
  }

  [data-subpage-reveal] {
    opacity: 1;
    transform: none;
  }
}
