/* ═══════════════════════════════════════════════════
   PORTFOLIO 2 — editorial stacked layout
   extends styles.css
═══════════════════════════════════════════════════ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("images/Background\ Website_long_version.png");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  will-change: transform;
}
/* ── Logo as link ── */
.logo-link {
  display: block;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  line-height: 0;
}

.nav-active {
  color: #FF4D00 !important;
}

/* ═══════════════════════════════════════════════════
   PAGE HERO
═══════════════════════════════════════════════════ */

.pf2-hero {
  padding: 130px 5% 50px;
  max-width: 1400px;
  margin: 0 auto;
}

.pf2-hero__title {
  font-family: 'Quanta Grotesk Pro', Arial, sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  color: #FF4D00;
  margin: 0 0 0.2em;
  position: relative;
  left: unset;
  transform: none;
  text-align: left;
}

.pf2-hero__sub {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #FF4D00;
  font-family: Arial, sans-serif;
  margin: 0 0 2rem;
  position: relative;
}

/* ── Filter tabs ── */
.pf2-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pf2-tab {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: rgba(233, 233, 233, 0.65);
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  letter-spacing: 0.03em;
}

.pf2-tab:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #E9E9E9;
}

.pf2-tab.active {
  background: rgba(255, 77, 0, 0.2);
  border-color: #FF4D00;
  color: #FF4D00;
}

/* ═══════════════════════════════════════════════════
   DIVIDER between entries
═══════════════════════════════════════════════════ */

.pf2-divider {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
}

/* ═══════════════════════════════════════════════════
   PROJECT ENTRY
═══════════════════════════════════════════════════ */

.pf2-entry {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 5%;
  align-items: start;
}

/* ── Left label column ── */
.pf2-entry__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 6px;
  position: sticky;
  top: 100px;
}

.pf2-entry__year {
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  color: rgba(233, 233, 233, 0.4);
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Badges */
.pf2-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pf2-badge--uni {
  background: rgba(255, 77, 0, 0.15);
  border: 1px solid rgba(255, 77, 0, 0.45);
  color: #FF4D00;
}

.pf2-badge--personal {
  background: rgba(100, 180, 255, 0.15);
  border: 1px solid rgba(100, 180, 255, 0.4);
  color: #8dcfff;
}

/* ── Inner: media + info side by side ── */
.pf2-entry__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

/* ═══════════════════════════════════════════════════
   MEDIA VIEWER
═══════════════════════════════════════════════════ */

.pf2-media {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pf2-viewer {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.pf2-viewer__main,
.pf2-viewer__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pf2-thumbs {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.pf2-thumb {
  position: relative;
  width: 85px;
  height: 60px;
  border-radius: 9px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.pf2-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pf2-thumb:hover {
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.pf2-thumb.active {
  border-color: #FF4D00;
}

.pf2-thumb__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  color: white;
  font-size: 1rem;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   PROJECT INFO
═══════════════════════════════════════════════════ */

.pf2-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding-top: 0.25rem;
}

.pf2-info__title {
  font-family: 'Quanta Grotesk Pro', Arial, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #E9E9E9;
  margin: 0;
  line-height: 1.2;
  position: relative;
  left: unset;
  bottom: unset;
  transform: none;
  text-align: left;
}

.pf2-info__desc {
  font-family: Arial, sans-serif;
  font-size: 1.3rem;
  line-height: 1.75;
  color: rgba(233, 233, 233, 0.8);
  margin: 0;
  position: relative;
}

/* Meta rows */
.pf2-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.pf2-meta__row {
  display: flex;
  justify-content: space-between;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
}

.pf2-meta__key {
  color: rgba(233, 233, 233, 0.45);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.pf2-meta__val {
  color: #E9E9E9;
  font-weight: 500;
}

/* Tags */
.pf2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45em;
}

.pf2-tag {
  padding: 5px 13px;
  font-size: 0.78rem;
  font-family: 'Cabinet Grotesk', Arial, sans-serif;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: #E9E9E9;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════
   COMING SOON ENTRY
═══════════════════════════════════════════════════ */

.pf2-entry--coming-soon {
  opacity: 0.5;
  pointer-events: none;
}

.pf2-coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.pf2-coming-soon__label {
  font-family: 'Quanta Grotesk Pro', Arial, sans-serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: rgba(233, 233, 233, 0.3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pf2-info__title--muted {
  color: rgba(233, 233, 233, 0.35);
}

.pf2-info__coming-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: rgba(233, 233, 233, 0.35);
  width: fit-content;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLET (max 1100px)
═══════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .pf2-entry {
    grid-template-columns: 1fr;
    padding: 3.5rem 5%;
  }

  .pf2-entry__label {
    flex-direction: row;
    align-items: center;
    position: static;
    margin-bottom: 1.2rem;
  }

  .social-icons {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE (max 700px)
═══════════════════════════════════════════════════ */

@media (max-width: 700px) {
  .pf2-hero {
    padding: 110px 5% 30px;
  }

  .pf2-hero__title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .pf2-entry__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pf2-viewer {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }

  .pf2-thumb {
    width: 68px;
    height: 50px;
  }

  .pf2-info__title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .pf2-tab {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(20, 20, 30, 0.6);
  }
}

/* ═══════════════════════════════════════════════════
   APP PROJECT — tall/portrait viewer
   Add data-app="true" to .pf2-viewer to activate
═══════════════════════════════════════════════════ */

.pf2-viewer[data-app="true"] {
  aspect-ratio: unset;
  height: auto;
  min-height: 420px;
  max-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  padding: 1.5rem 1rem;
  box-sizing: border-box;
}

.pf2-viewer[data-app="true"] .pf2-viewer__main {
  width: auto;
  height: 100%;
  max-height: 640px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.pf2-viewer[data-app="true"] .pf2-viewer__video {
  width: auto;
  height: 100%;
  max-height: 640px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
}

@media (max-width: 700px) {
  .pf2-viewer[data-app="true"] {
    min-height: 300px;
    max-height: 500px;
    padding: 1rem 0.75rem;
  }
}

/* ═══════════════════════════════════════════════════
   CTA LINK BUTTONS — ArtStation & Prototype
═══════════════════════════════════════════════════ */

.pf2-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.2rem;
}

.pf2-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 9px 20px;
  border-radius: 10px;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  cursor: pointer;
}

.pf2-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* ArtStation — orange accent */
.pf2-cta-btn--artstation {
  background: rgba(255, 77, 0, 0.12);
  border: 1px solid rgba(255, 77, 0, 0.5);
  color: #FF4D00;
}

.pf2-cta-btn--artstation:hover {
  background: rgba(255, 77, 0, 0.22);
  border-color: #FF4D00;
}

/* Adobe XD Prototype — purple accent */
.pf2-cta-btn--prototype {
  background: rgba(255, 97, 246, 0.1);
  border: 1px solid rgba(255, 97, 246, 0.4);
  color: #FF61F6;
}

.pf2-cta-btn--prototype:hover {
  background: rgba(255, 97, 246, 0.2);
  border-color: #FF61F6;
}