/* --------HOME PAGE -------- */


/* -------- RESET -------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* -------- VARIABLES -------- */
:root {
  --font-body: 'Inter', system-ui, sans-serif;
  
  --font-accent: 'Space Grotesk', system-ui, sans-serif;
  --font-archshift: 'Press Start 2P', monospace;
  --font-collective: 'Oswald', sans-serif;
  --font-rapid-rush: 'Baloo 2', cursive;
}

/* -------- BASE -------- */
body {
  background-color: #000;
  color: #fff;
  font-family: var(--font-body);
  min-height: 100vh;
  cursor: none;
}
body.home,
body.about {
  cursor: none;
}




/* -------- LAYOUT -------- */
.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem;
}

/* -------- TYPOGRAPHY -------- */
h1 {
  font-family: basset-four, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(4.5rem, 10vw, 7.2rem);
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  
  letter-spacing: .05em;
  line-height: 1;
}

.subtitle {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  opacity: 0.65;
}

.intro-text {
  margin-top: 2.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.6;
}

.hero {
  text-align: center;
  max-width: 640px;
  padding-bottom: 4rem;
}

.accent {
  font-family: var(--font-accent);
  letter-spacing: 0.02em;
}

/* -------- COMPONENTS -------- */
.cta {
  display: inline-block;
  margin-top: 3rem;
  padding: 0.8rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  text-decoration: none;
  color: white;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.cta:hover {
  background: white;
  color: black;
}
/* -------- BACKGROUND -------- */
.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.04),
      rgba(0, 0, 0, 0.9) 65%
    );
  overflow: hidden;
}
#noise {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  mix-blend-mode: overlay;
}
.parallax-layer {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.08),
      transparent 60%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(255, 255, 255, 0.05),
      transparent 65%
    );
  animation: drift 40s linear infinite;
}

@keyframes drift {
  0%   { transform: translate(0px, 0px); }
  50%  { transform: translate(-40px, -30px); }
  100% { transform: translate(0px, 0px); }
}

#starfield,
#trail {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#starfield {
  opacity: 0.6;
}
.social-links {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 24px;
  z-index: 10;
}

.social-links a {
  opacity: 0.5;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.social-links a:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.08);
}

.social-links img {
  width: 30px;
  height: 30px;
  display: block;
}
/* -------- CUSTOM CURSOR -------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

/* =========================
   WORK PAGE
========================= */
.work-page {
  padding: 160px 64px 120px;
}
/* ===== WORK HEADER ===== */
.work-header {
  position: sticky;
  top: 0;
  z-index: 50;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 32px 64px;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.85),
      rgba(0,0,0,0.6),
      rgba(0,0,0,0)
    );

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow:
  0 8px 40px rgba(0,0,0,0.45),
  inset 0 -1px rgba(255,255,255,0.04);
}
.work-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background-image:
    radial-gradient(circle at 18% 42%, rgba(255,255,255,0.12) 1px, transparent 1px),
    radial-gradient(circle at 62% 22%, rgba(255,255,255,0.08) 1px, transparent 1px),
    radial-gradient(circle at 78% 64%, rgba(255,255,255,0.06) 1px, transparent 1px);

  background-size: 140px 140px;
  opacity: 0.25;
}
.work-header::after {
  content: "";
  position: absolute;
  left: 64px;
  right: 64px;
  bottom: 0;
  height: 1px;

  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.12),
    transparent
  );
}

.section-label {
  
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  position: relative;
}
.section-label::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 50%;

  width: 6px;
  height: 6px;
  border-radius: 50%;

  background: white;
  box-shadow:
    0 0 8px rgba(255,255,255,0.6),
    0 0 16px rgba(255,255,255,0.25);

  transform: translateY(-50%);
}


.work-header-nav {
  display: flex;
  gap: 24px;
}

.nav-link {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  text-decoration: none;
  color: rgba(255,255,255,0.55);

  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: white;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}
.nav-link:hover {
  color: white;
}
.work{
  cursor: auto; 
}
.work-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0c0c0c;
}
.work-page {
  padding: 120px 64px;
}

.work-heading {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 48px;
}

/* Grid */
.work-grid {
  display: grid;
  margin-top: 32px;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}


/* Tile */
.work-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #000;
  border-radius: 20px;
}

.work-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  
  /* grayscale look */
  filter: grayscale(100%) brightness(0.85) contrast(0.95);
  transition:
    filter 0.4s ease,
    transform 0.4s ease;
}

/* Hover motion */
.work-tile:hover img {
  filter: grayscale(0%) brightness(1) contrast(1);
  transform: scale(1.03);
}


/* Title */
.work-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;

  color: white;

  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}
.work-tile .work-title.dark {
  color: #f5f5f5;
  text-shadow:
    0 2px 6px rgba(0,0,0,0.6),
    0 0 12px rgba(0,0,0,0.4);
}
.work-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.work-tile:hover::after {
  opacity: 1;
}



/* Laurel badge — Linden Performer only */
.work-tile.linden .laurel-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;

  width: 180px;
  height: auto;

  opacity: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));

  pointer-events: none; /* never interferes with hover */
  z-index: 3;
}

.work-tile.archshift .work-title {
  font-family: var(--font-archshift);
  font-size: 1.5rem; /* pixel fonts read larger */
  letter-spacing: 0.12em;
}
.work-tile.collective .work-title {
  font-family: var(--font-collective);
  font-weight: 700;
  letter-spacing: 0.35em; /* matches TMP spacing 35 */
  text-transform: uppercase;
  font-size: 1.6rem;
  
}
.work-tile.rapid-rush .work-title {
  font-family: var(--font-rapid-rush);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 2rem;
  color: #eaeff1;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.35),
    0 3px 6px rgba(0,0,0,0.25);
    transform: translate(-50%, -50%) scale(1.03);
}
.work-tile.starstep .work-title{
  font-family: "bd-geminis", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 2rem ;
color: black;
}
.work-tile .hover-asset {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 60%;        /* 👈 controls size */
  max-width: 420px;  /* optional safety cap */

  height: auto;
  object-fit: contain;

  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;

  pointer-events: none;
  z-index: 2;
}

.work-tile.linden:hover .hover-asset {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
body.is-transitioning {
  pointer-events: none;
  background-color: #000;
}

body.is-transitioning .work-tile {
  opacity: 0.15;
  transform: scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

body.is-transitioning .work-tile.is-active {
  opacity: 1;
  transform: scale(1.02);
}





/* Reveal title on hover */
.work-tile:hover .work-title {
  opacity: 1;
}

/* Cursor + intent */
.work-tile.featured {
  cursor: pointer;
}

.work-tile.misc {
  cursor: default;
}
/* =========================
   ABOUT PAGE
========================= */

/* =========================
   ABOUT PAGE
========================= */

.about {
  cursor: auto;
}

.about-page {
  padding: 140px 64px 120px;
}

/* subtle space texture (keep) */


/* ===== LAYOUT ===== */

.about-section {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

/* ===== INTRO BLOCK ===== */

.about-intro-block {
  margin-bottom: 72px;
}

/* portrait */
.about-image {
  width: 360px;
  height: 360px;
  margin: 0 auto 40px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: none;

  box-shadow:
    0 28px 64px rgba(0,0,0,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* ===== LEAD TEXT ===== */

.about-lead {
  max-width: 720px;
  margin: 0 auto 32px;

  font-size: 1rem;
  line-height: 1.75;
   color: rgba(255, 255, 255, 0.65); /* instead of opacity */
}
.about-name-inline {
 font-weight: 600;
 opacity: 1;
  color: rgb(255, 255, 255);
}

.about-lead strong {
  font-weight: 400;
}

/* ===== TOGGLE ===== */

.about-toggle {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);

  font-family: var(--font-accent);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  cursor: pointer;
  position: relative;
  padding-bottom: 6px;
}

.about-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 1px;
  background: white;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.about-toggle:hover::after {
  transform: scaleX(1);
}

.about-toggle:hover {
  color: white;
}

/* ===== LONG STATEMENT ===== */

.about-statement {
  max-width: 820px;
  margin: 72px auto 0;
  text-align: left;

  opacity: 1;
  transform: translateY(0);

  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.about-statement p {
  font-size: 0.95rem;
  line-height: 1.9;
  opacity: 0.7;
  margin-bottom: 28px;
}

/* collapsed */
.about-statement.is-hidden {
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  height: 0;
  overflow: hidden;
}
/* ===== CONSTELLATION BACKGROUND ===== */
#constellation-bg {
  position: fixed;
  inset: 0;
  z-index: -2; /* behind everything */
  pointer-events: none;
  opacity: 1;/* keep subtle */
}

/* =========================
   CURSOR SYSTEM — FINAL
========================= */

/* Hide cursor ONLY on home + about */
body:not(.work):not(.project-page):not(.section-page) {
  cursor: none;
}

/* Show cursor on interactive pages */
body.work,
body.project-page,
body.section-page {
  cursor: auto;
}

/* Background layers should never block interaction */
.background,
#starfield,
#trail,
.parallax-layer,
.about-page::before {
  pointer-events: none;
}


iframe,
.video-wrapper {
  cursor: auto;
}

.project-title-image {
  width: clamp(150px, 10vw, 320px);
  margin-bottom: 16px;
}

.project-title-image img {
  width: 100%;
  height: auto;
  display: block;
}


.nav-title-image {
  height: 250px;              /* controls size */
  width: auto;
  opacity: 1;
}

@media (max-width: 768px) {
  .nav-title-image {
    height: 16px;
  }
}
.project-footer {
  padding: 80px 64px 120px;
  text-align: center;
}

.footer-back {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.55);
  position: relative;
  padding-bottom: 4px;
}

.footer-back::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: white;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-back:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.footer-back:hover {
  color: white;
}
/* =========================
   PROJECT HEADER (MATCH WORK)
========================= */

.project-header {
  position: sticky;
  top: 0;
  z-index: 50;

  padding: 32px 64px;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.85),
      rgba(0,0,0,0.6),
      rgba(0,0,0,0)
    );

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.project-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-back {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.55);
  position: relative;
  padding-bottom: 2px;
}

.nav-back::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: white;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-back:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-back:hover {
  color: white;
}

.nav-title {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
@media (max-width: 900px) {
  .work-page {
    padding: 120px 32px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
/* ===== RESUME BUTTON ===== */

.about-resume-btn {
  display: inline-block;
  margin: 8px auto 28px;

  padding: 0.8rem 2.2rem;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.6);
  color: white;
  text-decoration: none;

  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  background: transparent;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.about-resume-btn:hover {
  background: white;
  color: black;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}
/* ===== ABOUT ACTIONS STACK ===== */

.about-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.work-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  filter: grayscale(100%) brightness(0.85) contrast(0.95);
  transition:
    filter 0.4s ease,
    transform 0.4s ease;
}
.work-tile:hover video {
  filter: grayscale(0%) brightness(1) contrast(1);
  transform: scale(1.02);
}
/* =========================
   MOBILE FIXES — ABOUT + WORK
========================= */

@media (max-width: 768px) {

  /* ===== GLOBAL PAGE PADDING ===== */
  .about-page,
  .work-page {
    padding: 100px 24px 80px;
  }

  /* ===== ABOUT IMAGE ===== */
  .about-image {
    width: 240px;
    height: 240px;
  }

  /* ===== ABOUT TEXT ===== */
  .about-lead {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .about-statement {
    margin-top: 48px;
  }

  .about-statement p {
    font-size: 0.9rem;
    line-height: 1.75;
  }

  /* ===== ABOUT ACTIONS ===== */
  .about-actions {
    gap: 14px;
  }

  /* ===== SOCIAL LINKS ===== */
  .social-links {
    bottom: 20px;
    gap: 18px;
  }

  .social-links img {
    width: 24px;
    height: 24px;
  }
@media (max-width: 768px) {

  /* ===== WORK HEADER ===== */
  .work-header {
    padding: 20px 24px;
  }

  .section-label {
    font-size: 1.2rem;
  }

  .work-header-nav {
    gap: 16px;
  }

  .nav-link {
    font-size: 0.7rem;
  }

  /* ===== WORK GRID ===== */
  .work-grid {
    gap: 36px;
  }

  /* ===== WORK TILE TITLES ===== */
  .work-title {
    font-size: 1.1rem;
  }

  .work-tile.rapid-rush .work-title,
  .work-tile.starstep .work-title {
    font-size: 1.4rem;
  }

}
@media (max-width: 480px) {
  h1 {
    font-size: clamp(2.2rem, 9vw, 3.5rem);
  }

  .work-title {
    letter-spacing: 0.04em;
  }
}


}







