:root {
  --layout-max-width: 1200px;
  --layout-side-padding: clamp(1rem, 4vw, 4rem);
  --layout-content-offset: clamp(6.5rem, 12vh, 9rem);
}

body {
  background-color: #F7F5F0;
  color: #1C1A17;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem clamp(1rem, 3vw, 3.5rem);
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  top: 0;
  z-index: 100;
  background-color: rgba(247, 245, 240, 0.85);
  backdrop-filter: blur(10px);
}
.site-header, .site-header * {
  box-sizing: border-box;
}
.site-header .logo {
  flex: 0 1 auto;
  min-width: 0;
}
.site-header .logo a {
  display: inline-flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1C1A17;
  text-decoration: none;
  white-space: nowrap;
  max-width: min(40vw, 360px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-header .logo-image {
  max-height: 40px;
  width: auto;
  display: block;
}
.site-header .main-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}
.site-header .main-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.65rem clamp(1rem, 2vw, 2rem);
  margin: 0;
  padding: 0;
}
.site-header .main-nav ul li {
  min-width: 0;
}
.site-header .main-nav ul a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #3b3934;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}
.site-header .main-nav ul a:hover, .site-header .main-nav ul a.active {
  color: #8B2635;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 220;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #1C1A17;
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded=true] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded=true] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded=true] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
}

.page-body.home-container,
.page-body.inner-container {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--layout-side-padding) 8rem;
}

.site-main {
  padding-top: var(--layout-content-offset);
}

.hero-intro h1 {
  font-size: 3.5rem;
  font-weight: 300;
  max-width: 800px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1C1A17;
}

.films-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 6rem;
       column-gap: 6rem;
  row-gap: 8rem;
  padding-bottom: 10rem;
}

.film-link {
  text-decoration: none;
}

.film-card {
  position: relative;
}
.film-card:nth-child(even) {
  margin-top: 10vh;
}
.film-card .image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 133.333%;
  overflow: hidden;
  background-color: rgb(239.9043478261, 236.1304347826, 226.6956521739);
}
.film-card .image-wrapper.image-wrapper--photo {
  padding-top: 75%;
}
.film-card .image-wrapper.image-wrapper--placeholder {
  background-color: #b8b8b8;
}
.film-card .image-wrapper .film-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: grayscale(15%);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
}
.film-card .film-info {
  margin-top: 1.25rem;
}
.film-card .film-info .film-year {
  font-size: 0.85rem;
  color: #3b3934;
  font-family: monospace;
}
.film-card .film-info .film-title {
  font-size: 1.75rem;
  font-weight: 400;
  color: #1C1A17;
  margin-top: 0.25rem;
  transition: color 0.3s ease;
}
.film-card:hover .image-wrapper .film-img {
  transform: scale(1.03);
  filter: grayscale(0%);
}
.film-card:hover .film-title {
  color: #8B2635;
}

.site-footer {
  margin-top: 10rem;
  padding: 4rem 2rem;
  border-top: 1px solid rgba(28, 26, 23, 0.12);
  text-align: center;
  background-color: #F7F5F0;
}
.site-footer p {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #3b3934;
  margin: 0;
}

@media (max-width: 900px) {
  :root {
    --layout-content-offset: 6.5rem;
  }
  .page-body.home-container,
  .page-body.inner-container {
    padding-inline: 1.25rem;
    padding-bottom: 4rem;
  }
  .site-header .main-nav {
    display: none;
  }
  body.nav-mobile-open {
    overflow: hidden;
  }
  body.nav-mobile-open .site-header {
    z-index: 300;
  }
  .site-header {
    gap: 0.75rem;
    padding: 1.1rem 1.25rem;
  }
  .site-header .logo a {
    max-width: calc(100vw - 110px);
    font-size: 1rem;
    letter-spacing: 0.1em;
  }
  .site-header .logo-image {
    max-height: 34px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-mobile {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    padding: 6rem 1.25rem 2rem;
    background-color: rgba(247, 245, 240, 0.98);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 180;
  }
  .nav-mobile, .nav-mobile * {
    box-sizing: border-box;
  }
  .nav-mobile.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-mobile ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .nav-mobile li {
    margin: 0;
    border-bottom: 1px solid rgba(28, 26, 23, 0.12);
  }
  .nav-mobile a {
    display: block;
    padding: 0.9rem 0;
    color: #1C1A17;
    font-size: 1.1rem;
    text-decoration: none;
    letter-spacing: 0.03em;
    overflow-wrap: anywhere;
  }
  .nav-mobile a:hover, .nav-mobile a.active {
    color: #8B2635;
  }
  .films-grid {
    grid-template-columns: 1fr;
    row-gap: 5rem;
  }
  .films-grid .film-card:nth-child(even) {
    margin-top: 0;
  }
}/*# sourceMappingURL=main.css.map */