/* FONTS */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Press+Start+2P&display=swap');

/* RESET */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', Arial, sans-serif;
  background: #f5f1ea;
  color: #111;
  line-height: 1.6;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(245, 241, 234, 0.95);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(0,0,0,0.08);

  padding: 1.25rem 4rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-size: 0.9rem;
  letter-spacing: 0.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* NAV */

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.logo {
  font-size: 0.9rem;
  letter-spacing: 0.2rem;
  font-weight: 700;
}

.nav-btn {
  background: none;
  border: none;
  cursor: pointer;

  font-size: 0.95rem;
  color: #111;

  padding: 0;

  text-decoration: none;

  transition: opacity 0.2s ease;
}

.nav-btn:hover {
  opacity: 0.5;
}

.nav-btn.active {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.nav-left {
  flex: 1;
}

.nav-right {
  margin-left: auto;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  color: #111;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.5;
}

/* HERO */

.hero {
  padding: 3rem 4rem 1rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: top;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  font-size: 0.8rem;
  margin-top: 2rem;
  color: #555;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;

  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.92;

  margin-bottom: 2rem;

  font-weight: 700;
  letter-spacing: -0.05em;

  max-width: 10ch;
}

.intro {
  max-width: 650px;
  color: #444;
  font-size: 1.05rem;
}

.hero-image img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  border-radius: 1rem;
}

/* CONTACT PAGE */

.contact-page {
  padding: 4rem;
  min-height: calc(100vh - 120px);
}

.contact-container {
  max-width: 700px;
}

.contact-title {
  font-family: 'Space Grotesk', sans-serif;

  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.92;

  margin-bottom: 2rem;

  font-weight: 700;
  letter-spacing: -0.05em;
}

.contact-description {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 3rem;
}

.contact-section-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  color: #666;

  margin-bottom: 0.75rem;
}

.contact-email {
  display: inline-block;

  font-size: 1.2rem;
  font-weight: 600;

  color: #111;
  text-decoration: none;

  margin-bottom: 2.5rem;
}

.contact-email:hover {
  opacity: 0.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #111;
  transition: opacity 0.2s ease;
}

.social-links a:hover {
  opacity: 0.6;
}

.social-links svg {
  width: 28px;
  height: 28px;
}

/* FILTER LINKS */

.filter-link {
  font-weight: bold;
  text-decoration: none;
  color: black;
}


.filter-link:hover {
  text-decoration: underline;
}

.link-out {
  font-weight: bold;
  text-decoration: none;
  color: black;
}

.link-out:hover {
  text-decoration: underline;
}


/* PROJECTS */

.projects-wrapper {
  padding: 1rem 4rem 6rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
}

/* CARD */

/* .project-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    box-shadow 0.25s ease;
} */

.project-card {
  opacity: 1;
  transform: translateY(0);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.25s ease;
}

.project-card.hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;

  position: absolute;
  visibility: hidden;
}

.project-card:hover {
  transform: translateY(-4px);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.08);
}

/* .project-card.hidden {
  display: none;
} */

.project-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* =========================
   MAIN TAGS
========================= */

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;

  margin-bottom: 1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.45rem 0.8rem;

  border-radius: 999px;

  font-size: 0.72rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.08em;

  border: 2px solid currentColor;

  box-shadow:
    2px 2px 0px rgba(0,0,0,0.12);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.tag:hover {
  transform: translate(-1px, -1px);

  box-shadow:
    4px 4px 0px rgba(0,0,0,0.12);
}

/* CATEGORY COLORS */

.tag.production {
  background: #b7f5c5;
  color: #155724;
}

.tag.writing {
  background: #bfdcff;
  color: #0b3d91;
}

.tag.immersive {
  background: #ffe69c;
  color: #7a5b00;
}

.production-filter:hover {
  text-underline-offset: 4px;
  text-decoration-color: #3c9f53;
}

.writing-filter:hover {
  text-underline-offset: 4px;
  text-decoration-color: #8aade8;
}

.immersive-filter:hover {
  text-underline-offset: 4px;
  text-decoration-color: #fb923c;
}


/* =========================
   SUBTAGS
========================= */

.subtag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;

  margin-top: 1rem;
  margin-bottom: 1rem;
}

.subtag {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.3rem 0.7rem;

  font-size: 0.76rem;
  font-weight: 600;

  color: #111;

  border: none;
  border-radius: 999px;

  letter-spacing: 0.02em;

  opacity: 0.95;
}

/* MATCH PRIMARY TAG COLORS */

.subtag.production {
  background: #d9f8e1;
}

.subtag.writing {
  background: #dbe9ff;
}

.subtag.immersive {
  background: #fff1bf;
}

/* PROJECT CONTENT */

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.project-content p {
  color: #444;
  margin-bottom: 1rem;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-links a {
  text-decoration: none;
  color: #111;
  font-weight: 600;
}

.project-links a:hover {
  opacity: 0.6;
}

/* FOOTER */

.footer {
  padding: 4rem;
  text-align: center;
  color: #666;
}

/* RESPONSIVE */

@media (max-width: 1000px) {

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-image img {
    height: 50vh;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 700px) {

  .site-header {
    padding: 1rem 1.5rem;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .hero {
    padding: 3rem 1.5rem;
  }

  .projects-wrapper {
    padding: 1rem 1.5rem 4rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .nav-left,
  .nav-right {
    width: 100%;
  }

  .nav-right {
    margin-left: 0;
  }

}