@font-face {
  font-family: "Manuscribe";
  src: url("../fonts/ManuscribeFree-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "HK Grotesk";
  src: url("../fonts/HKGrotesk-RegularLegacy.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "GT-Zirkon";
  src: url("../fonts/GT-Zirkon-Trial-Bold.otf"), format("opentype");
  font-weight: 400;
  font-style: normal;
}


* {
  box-sizing: border-box;
  margin: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  color: #fff;
  font-family: "HKGrotesk", sans-serif;
  line-height: 1.4;
  padding: 24px;
}

/* Navigation ---------------------------------------------- */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

.logo {
  font-weight: bold;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  opacity: 0.8;
}

.nav-links a:hover {
  opacity: 1;
}

.code-page {
  overflow-y: auto;
  overflow-x: hidden;
}

/* Hero ---------------------------------------------------- */

.hero {
  padding-bottom: 40px;
  height: 30%;
}


.hero h1 {
  /* font-family: "Manuscribe", sans-serif; */
  font-family: "GT-Zirkon", sans-serif;
  letter-spacing: -0.2rem;
  font-size: clamp(48px, 4vw, 96px);
  line-height: 1.05;
  margin-bottom: 60px;
  max-width: 900px;
}

.hero h2 {
  margin-bottom: 20px;
}

/* Biography ----------------------------------------------- */

.bio {
  max-width: 640px;
  height: 30%;
  /* margin-bottom: 30px; */
}

.bio h2 {
  font-size: 18px;
  margin-bottom: 12px;
  opacity: 0.8;
}

.bio p {
  font-size: 15px;
  opacity: 0.9;
}

/* Divider ------------------------------------------------- */

hr {
  border: none;
  border-top: 1px solid #333;
  margin: 20px 0;
}

/* Grid ---------------------------------------------------- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.column h3 {
  margin-bottom: 16px;
  font-size: 18px;
}

.item {
  margin-bottom: 10px;
  font-size: 14px;
  opacity: 0.9;
}


/* image-grid ----------------------------------------------------*/

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 2 columns */
  gap: 24px;
  /* space between items */
  max-width: 85%;
  margin: 0 auto;
}

.home-image img {
  width: 100%;
  /* height: 100%; */
  display: block;
  object-fit: cover;
  /* keeps images neat */
  aspect-ratio: 16 / 9;
  /* optional – consistent size */
}

.home-image h3 {
  margin-top: 8px;
  font-size: 14px;
}

/* IMAGE WALL  ----------------------------------------------------*/

.image-wall {
  width: 100%;
  height: 98vh;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  position: relative;
}

#imagePile {
  position: relative;

  width: 80vw;
  height: 80vh;

  transform: translateY(-80px);
}

.pile-image {
  position: absolute;

  width: 100%;
  height: 100%;

  left: 0;
  top: 0;

  object-fit: cover;

  transform:
    translate(var(--offset-x), var(--offset-y))
    rotate(var(--rotation));
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .portfolio-wall__item {
    animation: none;
    transition: none;
  }
}

/* Responsive ---------------------------------------------- */

@media (max-width: 700px) {

  .hero h1 {
    font-size: 42px;
  }

  #imagePile {
    position: relative;

    width: 100vw;
    height: 30vh;

    transform: translateY(-80px);
  }


  .hero {
    padding-bottom: 20px;
    height: 20%;
  }

  .bio {
    max-width: 640px;
    height:28%;
  }

  .image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    /* space between items */
    max-width: 99%;
    margin: 0 auto;
  }

  .nav {
    margin-bottom: 40px;
  }

  .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.column h3 {
  margin-bottom: 16px;
  font-size: 18px;
}

.item {
  margin-bottom: 10px;
  font-size: 14px;
  opacity: 0.9;
}
}