@import "./tokens.css";
@import "./typography.css";


/* =========================
   Base
   ========================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--color-bg-page);
  color: var(--color-text-primary);
}

/* =========================
   Layout helpers
   ========================= */
.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 1650px) {
  .container {
    padding: 0 100px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 25px;
  }
}


.with-divider {
  padding-bottom: 35px;
  margin-bottom: 35px;
  border-bottom: 1px solid rgba(42, 26, 18, 0.2);
}



.section {
  padding: 100px 0;
}

.section-light {
  background: var(--color-bg-card);
}

.section-cream {
  background: #F2E7DD;
}

.section-brown {
  background: #5A3522;
}

.section-header {
  margin-bottom: 64px;
}

.section-eyebrow {
  color: var(--color-primary);
  font-size: 12px;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: block;
}

.section-header h2 {
  margin: 0;
  font-size: 60px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .section-header h2 {
    font-size: 52px;
  }
}

@media (max-width: 700px) {
  .section-header h2 {
    font-size: 44px;
  }
}

/* =========================
   Navigation
   ========================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  z-index: 1000;

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

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 500;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--color-primary);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #D97941;
  transition: width 0.3s ease;
}

.nav-link.is-active::after {
  width: 100%;
}


.nav-menu {
  display: flex;
  gap: 30px;
}

.nav.is-scrolled {
  background: var(--color-bg-card);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* =========================
   Hero
   ========================= */
.hero {
  position: relative;
  height: 80vh;
  padding-top: 64px;
  /* nav height */
  background-image: url("../assets/images/bg_hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,
      rgba(0, 0, 0, .7),
      rgba(0, 0, 0, .2),
      rgba(0, 0, 0, 0));
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  color: white;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-size: 12px;
}

.hero-year {
  color: var(--color-primary);
}

.hero-title span {
  display: block;
  font-size: clamp(56px, min(8vw, 9vh), 128px);
  font-weight: 900;
  line-height: 1;
  color: var(--color-primary);
}

.hero-subtitle {
  color: white;
  font-size: clamp(16px, 2vw, 24px);
  margin: 20px 0 48px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* =========================
   About
   ========================= */
.about-grid {
  display: flex;
  align-items: center;
  gap: 64px;
}

/* IMAGE COLUMN */
.about-image {
  margin: 0;
  flex: 1 1 520px;
  /* ↓ was 600px */
  min-width: 380px;
  /* ↓ was 420px */
}

/* TEXT COLUMN */
.about-content {
  margin-top: -50px;
  flex: 0 0 460px;
  /* ↑ was 400px */
  max-width: 460px;
}



.about-image img {
  width: 100%;
  height: 700px;
  /* choose what looks right */
  object-fit: cover;
  /* prevents stretching */
  object-position: center;
  border-radius: 5px;
  display: block;
}

@media (max-width: 1150px) {
  .about-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .about-image {
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
  }

  .about-image img {
    height: 500px;
    /* optional: slightly shorter on mobile */
  }

  .about-content {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 0px;
  }
}


.about-image figcaption {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #5A3522;
}

.about-content p {
  line-height: 26px;
  color: #2A1A12;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  /* 162.5% */
  letter-spacing: -0.312px;
}

.about-meta {
  color: #5A3522;
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.about-meta strong {
  color: #5A3522;
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  /* 133.333% */
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.about-meta span {
  color: #2A1A12;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  /* 150% */
  letter-spacing: -0.312px;
}


.about-meta strong {
  display: block;
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

/* =========================
   Footer
   ========================= */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-bg-page);
  padding: 60px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer span {
  display: block;
  font-size: 12px;
  opacity: .6;
}

.footer-lang button {
  background: none;
  border: none;
  color: inherit;
  padding: 6px 12px;
  cursor: pointer;
}

.footer-lang .is-active {
  background: var(--color-primary);
  color: white;
}

.image-credit-wrapper {
  position: absolute;
  right: 2rem;
  /* right-8 */
  top: 50%;
  /* top-1/2 */
  transform: translateY(-50%);
  z-index: 20;
}

.vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);

  font-size: 12px;
  letter-spacing: 3.6px;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.image-credit-wrapper {
  display: none;
}

@media (min-width: 1024px) {
  .image-credit-wrapper {
    display: block;
  }
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;

  width: 40px;
  height: 25px;

  flex-direction: column;
  justify-content: space-between;
}

.nav-burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--color-primary);
  /* your orange */
}

@media (max-width: 1150px) {
  .nav-menu {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;

    background: var(--color-bg-card);
    padding: 24px;

    display: none;
    flex-direction: column;
    gap: 24px;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-burger {
    display: flex;
  }
}

.nav-burger span {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-burger.is-open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.nav-burger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.is-open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/*
label shit
*/

.label-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

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

  padding: 10px 20px;
  border-radius: 2px;
  background: #E8DDD3;
  color: #2A1A12;

  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;

  white-space: nowrap;
}

.productions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 300px);
  gap: 32px;
  justify-content: space-around;
}


/* CARD */
.production-card {
  width: 300px;
  height: 440px;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.production-image {
  height: 260px;
  position: relative;
  flex-shrink: 0;
  /* 👈 key line */
}


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



/* BADGE */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #E67E3A;
  color: #fff;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 2px;
}

/* production tiles */
.production-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.production-content h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 6px;
  line-height: 18px;
}

.production-content .year {
  font-size: 12px;
  opacity: 0.7;
  margin: 2px;
}

.production-content .role {
  font-size: 11px;
  color: #E67E3A;
  text-transform: uppercase;
  margin: 2px;
}

.production-content .meta {
  font-size: 11px;
  line-height: 1.5;
  opacity: 0.75;
  margin: 2px;
  /* pushes meta to bottom */
}


/* VIDEO */
/* whole video area */
.video-block {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}


/* MAIN VIDEO */
.video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 5px;
    background: #000;
}

.video-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* VIDEO TILES */
.video-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;

    margin-top: 40px;

    width: 100%;
}


/* TILE */
.video-tile {
    width: 180px;
    border: 2px solid transparent;
    padding: 4px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    opacity: 0.55;
    border-radius: 7px;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        border-color 0.2s ease;
}

.video-tile:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.video-tile.is-active {
    opacity: 1;
    border-color: var(--color-secondary);
}

.video-tile.is-active .video-tile__title {
    color: var(--color-secondary);
    font-weight: 600;
}


/* TILE THUMBNAIL */
.video-tile video {
    width: 100%;
    aspect-ratio: 16 / 9;

    object-fit: cover;
    display: block;

    border-radius: 5px;

    pointer-events: none;
}


/* TILE TITLE */
.video-tile__title {
    display: block;

    margin-top: 8px;

    color: var( --color-secondary);
    font-size: 14px;
}

.video-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}
/* MOBILE */
@media (max-width: 700px) {

    .video-block {
        max-width: 100%;
    }

    .video-list {
        gap: 12px;
        margin-top: 20px;
    }

    .video-tile {
        width: calc(50% - 6px);
    }

}
/*GALLERY*/

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.gallery-item {
  margin: 0;

}

.gallery-item img {
  width: 100%;
  height: 420px;

  object-fit: cover;
  object-position: top center;

  border-radius: 5px;
  display: block;

  transition: transform 0.3s ease;
  transform-origin: top center;
}
@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 24px;
  }

  .gallery-item img {
    height: 560px;
  }
}
.gallery-item:hover img {
  transform: scale(1.02);
}

.gallery-item figcaption {
  margin-top: 8px;
  font-size: 12px;
  padding: 16px;
  line-height: 1.4;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-align: left;
  color: #5A3522;
}

.gallery-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}

/* media */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.media-tile {
  border-radius: 5px;
  text-align: center;
  overflow: hidden;
}

.media-tile img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.media-caption {
  border: 2px solid #2A1A121A;
  padding: 8px 16px;
}

.media-source {
  display: block;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
}

.media-meta {
  display: block;
  font-size: 14px;
  color: #2A1A12;
}

/*contact*/
.contact-header h2 {
  margin-top: 8px;
  font-size: 60px;
  font-weight: 900;
  text-transform: uppercase;
  color: #2A1A12;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 48px;
}

.contact-details {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
}

.contact-label {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2A1A12;
  margin-bottom: 6px;
}

.contact-link {
  display: inline-block;
  font-size: 20px;
  color: var(--color-primary);
  text-decoration: none;
}

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

.contact-text {
  display: block;
  font-size: 18px;
  color: #2A1A12;
  margin-bottom: 4px;
}

.contact-social {
  color: #2A1A12;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.contact-social-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.55px;
}

.contact-social:hover {
  color: var(--color-primary);
}

.contact-action {
  text-align: center;
  margin-top: 32px;
}