:root {
  --bg: #050505;
  --text: #e1e1e1;
  --accent: #7c4dff;
  --accent-dim: rgba(124, 77, 255, 0.1);
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  pointer-events: none;
  z-index: 50;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  z-index: 100;
  mix-blend-mode: difference;
}
.home-link {
  text-decoration: none;
  color: white;
  font-family: var(--font-head);
  font-weight: bold;
  font-size: 1.2rem;
}
.dim {
  opacity: 0.5;
  font-weight: normal;
}

.bio-hero {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
}

.huge-text {
  font-family: var(--font-head);
  font-size: clamp(3rem, 12vw, 9rem);
  line-height: 0.9;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
}

.outline {
  -webkit-text-stroke: 1px var(--text);
  color: transparent;
  opacity: 0.5;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5%;
  padding: 0 5% 10% 5%;
  align-items: center;
}

.image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #111;
}

.parallax-img {
  width: 100%;
  height: 120%;
  position: relative;
  top: -10%;
}

.parallax-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: 0.5s;
}
.image-wrapper:hover img {
  filter: grayscale(0%);
}

.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  z-index: 5;
}

.bio-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.label {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--accent);
}
.bio-content h2 {
  font-family: var(--font-head);
  font-size: 3rem;
  line-height: 1.1;
}
.bio-content p {
  color: #888;
  line-height: 1.6;
  max-width: 500px;
}

.stats-row {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  border-top: 1px solid #222;
  padding-top: 2rem;
}
.stat {
  display: flex;
  flex-direction: column;
}
.num {
  font-family: var(--font-head);
  font-size: 3rem;
}
.desc {
  font-size: 0.8rem;
  color: #555;
}

.marquee-section {
  padding: 5rem 0;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  overflow: hidden;
  white-space: nowrap;
}

.track {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

.content {
  font-family: var(--font-head);
  font-size: 6vw;
  color: #222;
  font-weight: bold;
  -webkit-text-stroke: 1px #444;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.manifesto {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #080808;
}
.quote-wrapper h3 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4rem);
  max-width: 800px;
  margin-top: 20px;
}
.quote-wrapper p {
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: var(--accent);
}

.learning-section {
  padding: 10vh 5%;
  border-top: 1px solid #222;
  background: linear-gradient(to bottom, var(--bg), #0a0a0a);
}

.section-sub {
  color: #666;
  margin-bottom: 4rem;
  font-size: 1.1rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin-bottom: 4rem;
}

.res-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #222;
  padding: 2rem;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  text-decoration: none;
  color: var(--text);
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.res-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text);
  transform: translateY(-5px);
}

.res-card.highlight {
  border-color: rgba(124, 77, 255, 0.3);
}
.res-card.highlight:hover {
  border-color: var(--accent);
  box-shadow: 0 5px 20px var(--accent-dim);
}

.res-icon {
  font-size: 2rem;
  color: #444;
  transition: 0.3s;
}
.res-card:hover .res-icon {
  color: white;
}

.res-content h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.res-content p {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.4;
  transition: 0.3s;
}
.res-card:hover .res-content p {
  color: #aaa;
}

.res-arrow {
  margin-left: auto;
  font-family: var(--font-head);
  opacity: 0;
  transform: translate(-10px, 10px);
  transition: 0.3s;
  color: var(--accent);
}
.res-card:hover .res-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.footer-msg {
  text-align: center;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 2px;
  opacity: 0.5;
  margin-top: 5rem;
}

@media (max-width: 768px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .res-card {
    padding: 1.5rem;
  }
}

@media (max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .image-wrapper {
    width: 80%;
    margin: 0 auto;
  }
}
