/* ===== COLORS (change these to adjust brightness) ===== */
:root {
  --text-sub: #555;           /* subtitle */
  --text-secondary: #666;     /* bio, contact links */
  --text-muted: #999;         /* section labels (ABOUT, STATS, etc) */
  --text-faint: #555;         /* scroll hint, footer */
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Consolas', 'Courier New', monospace;
  background: #050505;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
::selection { background: rgba(255,255,255,0.12); color: #fff; }

/* ===== CUSTOM CURSOR ===== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: width 0.2s, height 0.2s, border-color 0.2s, background 0.2s;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor.hover {
  width: 40px;
  height: 40px;
  border-color: #fff;
  background: rgba(255,255,255,0.06);
}

/* ===== CANVAS BACKGROUND ===== */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}


/* ===== LAYOUT ===== */
.page {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== HERO HEADER (centered fullscreen) ===== */
.hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  border-bottom: 1px solid #1a1a1a;
  position: relative;
}

.hero-header__name {
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  font-weight: 400;
  color: #e0e0e0;
  letter-spacing: 0.25em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-header__sub {
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  color: var(--text-sub);
  font-weight: 400;
  letter-spacing: 0.2em;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-faint);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: hint-fade 3s ease infinite;
}

.scroll-hint__arrow {
  width: 12px;
  height: 12px;
  border-right: 1px solid var(--text-faint);
  border-bottom: 1px solid var(--text-faint);
  transform: rotate(45deg);
  animation: hint-bounce 2s ease infinite;
}

@keyframes hint-bounce {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(4px) rotate(45deg); }
}

@keyframes hint-fade {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* ===== TEXT DECODE ===== */
[data-scramble] {
  display: inline-block;
}

/* ===== SECTIONS ===== */
.section {
  padding: 3.5rem 0;
  border-bottom: 1px solid #1a1a1a;
  text-align: center;
}

.section:last-child {
  border-bottom: none;
}

.section__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

/* ===== STATS ===== */
.stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats__number {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.stats__label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
}

/* ===== BIO ===== */
.bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto;
  overflow: hidden;
  transition: height 0.35s ease;
}

.bio a {
  color: #e0e0e0;
  border-bottom: 1px solid #333;
  transition: border-color 0.3s;
}

.bio a:hover {
  border-color: #e0e0e0;
}

/* ===== COMPANIES MARQUEE ===== */
.marquee-wrap {
  overflow: hidden;
  padding: 1.5rem 0;
  margin: 0 -2rem;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  align-items: center;
  flex-wrap: nowrap;
  will-change: transform;
}

.marquee__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  opacity: 0.4;
  transition: opacity 0.4s;
}

.marquee__item:hover {
  opacity: 1;
}

.marquee__item img {
  max-height: 100%;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(2);
  transition: filter 0.4s;
}

.marquee__item:hover img {
  filter: grayscale(0%) brightness(1);
}

.marquee-wrap:hover .marquee__track {
  animation-play-state: paused;
}

/* ===== LINKS LIST ===== */
.links {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 350px;
  margin: 0 auto;
}

.links__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid #111;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color 0.3s, padding-left 0.3s;
}

.links__item:hover {
  color: #e0e0e0;
  padding-left: 0.5rem;
}

.links__item:last-child {
  border-bottom: none;
}

.links__arrow {
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  font-size: 0.75rem;
}

.links__item:hover .links__arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* ===== STAGGER CHILDREN ===== */
.stagger {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 0;
  font-size: 0.65rem;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  text-align: center;
}

/* ===== FADE IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .page { padding: 0 1.25rem; }
  .header { padding: 4rem 0 1.5rem; }
  .stats { gap: 2rem; }
  .stats__number { font-size: 1.5rem; }
  body { cursor: auto; }
  .cursor { display: none; }
}
