@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800&family=Montserrat:wght@200;300;400;500;600&display=swap');

/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


/* =========================
   GLOBAL
========================= */

body {
  background: #fff;
  color: #000;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  padding: 0 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

a {
  color: inherit;
  text-decoration: none;
}


/* =========================
   HEADER
========================= */

header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 20px 40px;
  z-index: 1000;
}

.nav-item {
  padding: 10px 22px;
  border-radius: 999px;
  background: white;
  color: black;
  border: 1px solid black;
  transition: .3s;
}

.nav-item:hover {
  background: black;
  color: white;
}

.nav-item a {
  color: inherit;
}


/* =========================
   HERO
========================= */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 760px;
  background: url('../images/heroimage-01.webp') center center / cover no-repeat;
  background-color: #000;
  overflow: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-text {
  display: none;
}


/* =========================
   HERO INTRO
========================= */

.hero-intro {
  position: relative;
  width: 100%;
  padding: 20px 20px 80px;
  display: grid;
  grid-template-columns: minmax(420px, 60%) minmax(220px, 40%);
  gap: 80px;
  align-items: center;
}

.hero-intro > div {
  position: relative;
  z-index: 2;
}

.hero-intro-bg {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 220px;
  max-width: 28%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  border-radius: 0;
  z-index: 1;
  opacity: 1;
  pointer-events: none;
}

.hero-intro > div:last-child {
  display: none;
}

.hero-intro img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-intro-heading {
  font-size: clamp(4rem, 7vw, 6rem);
  line-height: .96;
  font-weight: 800;
  margin: 0 0 30px;
  max-width: 100%;
}

.hero-intro-copy {
  font-size: 1.5rem;
  line-height: 1.8;
  max-width: 100%;
  color: #111;
  margin-bottom: 40px;
  margin-top: 50px
}

.hero-intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.hero-intro-meta-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.hero-intro-meta2 {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 1.5rem;
}

.hero-intro-meta-item2 strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

/* =========================
   WORK HERO IMAGE SPREAD
========================= */

.work-hero {
  position: relative;
  width: 100%;
  height: 140vh;
  min-height: 1000px;
  background: #fff;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

.work-hero h1 {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(56px, 6vw, 110px);
  font-weight: 700;
  letter-spacing: -0.06em;
  color: #000;
  z-index: 5;
  white-space: nowrap;
}

.work-hero h1 sup {
  font-size: 0.42em;
  vertical-align: super;
  letter-spacing: -0.04em;
}

.work-hero h1 a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  transform-origin: center;
  transition: transform 0.60s cubic-bezier(.22, .90, .37, 1);
}

.work-hero h1 a:hover,
.work-hero h1 a:focus {
  transform: scale(1.08);
  cursor: pointer;
}

.img {
  position: absolute;
  object-fit: cover;
  opacity: 0.35;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.img-left {
  left: 0;
  top: 8%;
  width: 20%;
  height: 64%;
  opacity: 0.9;
}

.img-small-left {
  left: 26.5%;
  top: 53%;
  width: 7.5%;
  height: 20%;
}

.img-top-right {
  right: 18%;
  top: 0;
  width: 16%;
  height: 34%;
  opacity: 0.85;
}

.img-far-right {
  right: 3%;
  top: 24%;
  width: 7.5%;
  height: 20%;
}

.img-bottom-center {
  left: 59%;
  top: 67%;
  width: 7.5%;
  height: 20%;
}

.img-bottom-right {
  right: 0;
  bottom: -5%;
  width: 23%;
  height: 20%;
  opacity: 0.9;
  z-index: 3;
}

.img-extra-1 {
  left: 12%;
  top: 78%;
  width: 14%;
  height: 18%;
  opacity: 0.9;
  z-index: 2;
}

.img-extra-2 {
  left: 36%;
  top: 86%;
  width: 18%;
  height: 20%;
  opacity: 0.8;
  z-index: 2;
}

.img-extra-3 {
  right: 6%;
  top: 52%;
  width: 16%;
  height: 22%;
  opacity: 0.85;
  z-index: 1;
}


/* =========================
   TITLES
========================= */

.projects,
.projects2 {
  width: 100%;
  border-top: 1px solid black;
  padding: 20px;
  margin-top: 240px;
}

.projects2 {
  border-bottom: 1px solid black;
}

.projects2 h2,
.episode-title {
  font-weight: 400;
}

.lala-text {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.lala-text h1 {
  margin-top: 40px;
  margin-bottom: 100px;
}


/* =========================
   CONTAINERS
========================= */

.container,
.container2 {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 20px 0;
  margin-bottom: 100px;
}

.container2 {
  border-top: 1px solid black;
}

.left h1 {
  font-size: 64px;
  font-weight: 300;
}

.right {
  width: 60%;
}

.row {
  font-size: 1.5rem;
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid black;
}


/* =========================
   FEATURED PROJECT
========================= */

.featured-project {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 140px;
}

.project-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 70px;
}

.project-header::before {
  content: "";
  display: none;
}

.project-header h1 {
  position: relative;
  z-index: 2;
  background: white;
  padding: 0 70px;
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -0.06em;
}

.bracket {
  position: relative;
  z-index: 2;
  background: white;
  padding: 0 40px;
  font-size: 7rem;
  font-weight: 500;
  line-height: 1;
  transition: transform .3s ease-out;
}

.project-card {
  width: min(900px, 100%);
  margin: auto;
}

.project-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  transform-origin: center;
  transition: transform .3s ease-out;
}

.project-card img.scroll-scale {
  transform: scale(0.8);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(900px, 100%);
  margin: 24px auto 0;
  padding-top: 26px;
}

.project-meta span {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}


/* =========================
   PROJECT CARDS
========================= */

.card-container,
.card-container1 {
  display: flex;
  gap: 50px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.tilt-card {
  width: 400px;
  height: 400px;
  overflow: hidden;
  border-radius: 20px;
  background: #efefef;
  transition: .3s;
}

.tilt-card:hover {
  transform: translateY(-8px);
}

.tilt-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =========================
   BUTTONS
========================= */

.more-btn {
  background: none;
  border: none;
  color: #555;
  font-size: 20px;
  padding-top: 40px;
  cursor: pointer;
}

.more-btn:hover {
  color: black;
}

.more-button {
  color: #000;
  text-decoration: none;
}


/* =========================
   SECOND PAGE / EPISODES
========================= */

.episode {
  width: 100%;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid black;
  padding: 20px 0;
}

.episode-main {
  display: flex;
  gap: 40px;
}

.episode-number{
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
}

.episode-image-frame {
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 20px;
}

.episode-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.episode-meta {
  display: flex;
  gap: 20px;
}

.episode-meta .meta-item strong {
  font-weight: 700;
  display: block;
}


/* =========================
   BIG TEXT
========================= */

.pow {
  margin-top: 400px;
}

.popo {
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popo-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(4rem, 6vw, 8rem);
  font-weight: 800;
  text-align: center;
  line-height: .9;
}

.popo-text--bold {
  font-weight: 800;
}


/* =========================
   FOOTER
========================= */

.footer2 {
  width: 100%;
  background: white;
  border-top: 1px solid black;
  padding: 24px 20px 16px; /* bolo 40px 40px 30px */
  margin-top: 100px;       /* bolo 60px */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 24px;               /* bolo 40px */
  align-items: start;
}

.footer-image {
  max-width: 300px;
}

.footer-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer-nav a {
  color: #000;
  font-size: 1.15rem;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: none;
}

.footer-nav a:hover {
  opacity: .6;
}

.footer-contact {
  display: grid;
  gap: 28px;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  align-items: start;
}

.footer-contact-label {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .75;
}

.footer-contact-details {
  line-height: 1.4;        /* bolo 1.8 */
}

.footer-contact-details a {
  color: #000;
  text-decoration: none;
}

.footer-contact-details a:hover {
  opacity: .6;
}

.footer-bottom {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 24px;        /* bolo 60px */
}


/* =========================
   LOADING OVERLAY
========================= */

.page-loading-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 1;
  transition: opacity 0.4s ease;
  pointer-events: all;
}

.page-loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.page-loading-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* =========================
   ANIMATIONS
========================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.95s ease, transform 0.95s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.trail-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.dot {
  width: 6px;
  height: 6px;
  background: black;
  border-radius: 50%;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  body {
    padding: 0 16px 40px;
  }

  header {
    gap: 12px;
    padding: 16px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-intro {
    grid-template-columns: 1fr;
    padding: 80px 16px 40px;
  }

  .hero-intro-heading {
    font-size: 3.2rem;
  }

  .hero-intro-meta {
    gap: 16px;
  }

  .container,
  .container2 {
    flex-direction: column;
  }

  .right {
    width: 100%;
  }

  .card-container,
  .card-container1 {
    justify-content: center;
  }

  .tilt-card {
    width: 100%;
    max-width: 380px;
  }

  .project-header {
    margin-bottom: 40px;
  }

  .project-header h1 {
    padding: 0 20px;
    font-size: 4rem;
  }

  .bracket {
    padding: 0 10px;
    font-size: 4rem;
  }

  .project-meta span {
    font-size: 1.2rem;
  }

  .episode {
    flex-direction: column;
    gap: 20px;
  }

  .episode-main {
    flex-direction: column;
    gap: 20px;
  }

  .episode-meta {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
}

.lala-text {
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: flex-start;
}

.lala2-text{ 
    width:100%;

    margin-top:40px;
    margin-bottom:100px;

    display:flex;
    justify-content:space-between;
    align-items:center;
}


.lala-text h2:last-child{
    text-align:right;
}

.bracket {
    height: 7rem;
    width: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.episode-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.episode-title-main {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.episode-title-author {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0;
}

.meta-item {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

.meta-item strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.more-button {
  font-size: 1.25rem;
  font-weight: 400;
}

.episode-title{
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:20px;
}

.episode-title-symbol{
    height:5rem;
    width:auto;
    display:block;
    object-fit:contain;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  gap: 12px;

  color: #000;
  text-decoration: none;

  font-size: 1.25rem;
  font-weight: 400;

  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.scroll-indicator svg {
  width: 18px;
  height: 18px;
}

.scroll-indicator.hidden {
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
}