@font-face {
  font-family: "Unbounded";
  src: url("diafilm-source/assets/fonts/Unbounded-Variable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
}

:root {
  --green: #a6eb00;
  --black: #000;
  --white: #fff;
  --tracking: -0.05em;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--green);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--black);
  background: var(--green);
  font-family: "Unbounded", sans-serif;
  font-variation-settings: "wght" 700;
}

img {
  display: block;
}

button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.site {
  width: 100%;
}

.hero,
.about,
.social,
.pricing,
.contact-panel-bottom,
.footer-brand {
  width: 100%;
}

.hero {
  height: var(--hero);
  position: relative;
  background: var(--green);
  overflow-x: clip;
  overflow-y: visible;
}

.hero-brand {
  height: var(--heroBrand);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px var(--heroPadding) 0;
  position: relative;
  z-index: 3;
}

.header-logo {
  width: 100%;
  max-width: none;
  height: auto;
}

.hero-brand p {
  width: 100%;
  font-size: 12px;
  line-height: 1;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-stage {
  position: relative;
  height: var(--heroStage);
  overflow: visible;
}

.hero-image {
  position: absolute;
  z-index: 0;
  top: var(--heroMediaTop);
  left: 50%;
  height: var(--heroMedia);
  width: var(--heroMediaWidth);
  transform: translate(
    calc(-50% + var(--heroShift)),
    var(--heroParallaxY, 0px)
  );
  object-fit: cover;
}

.hero-poster-image {
  z-index: 0;
  opacity: 0;
}

.hero-motion {
  opacity: 1;
}

.hero-stage.motion-loading .hero-poster-image {
  opacity: 1;
}

.hero-stage.motion-loading .hero-motion {
  opacity: 0;
}

.hero-stage.motion-fallback .hero-poster-image {
  opacity: 1;
}

.hero-stage.motion-fallback .hero-motion {
  opacity: 0;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px var(--heroPadding);
  font-size: var(--heroFont);
  line-height: 1;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
}

.hero-copy span {
  display: block;
}

.hero-copy-end {
  align-self: flex-end;
  width: 100%;
  text-align: right;
}

.hero-copy .hero-copy-wide {
  display: none;
}

.about {
  height: var(--about);
  position: relative;
  z-index: 1;
  background: transparent;
}

.about-head {
  height: var(--aboutHead);
  position: relative;
}

.logo-symbol {
  width: min(100%, 762px);
  height: auto;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.about-tagline {
  position: absolute;
  z-index: 1;
  right: 50%;
  bottom: 0;
  width: var(--contentWidth);
  max-width: calc(100% - 30px);
  transform: translateX(50%);
  font-size: var(--sectionFont);
  line-height: 1.1;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
}

.about-tagline > span,
.about-closing span,
.social-main h2 span,
.contact-cta span {
  display: block;
}

.about-tagline .align-right {
  text-align: right;
}

.about-tagline .spread {
  display: flex;
  justify-content: space-between;
  white-space: nowrap;
}

.services {
  height: 234px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, min-content);
  align-content: start;
  padding-top: 48px;
  row-gap: 24px;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.service img {
  width: var(--serviceIcon);
  height: var(--serviceIcon);
}

.service span {
  font-size: var(--serviceFont);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.about-closing {
  height: calc(var(--about) - var(--aboutHead) - 234px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 max(15px, 5vw) 48px;
}

.about-closing p {
  width: var(--contentWidth);
  max-width: 100%;
  margin-left: 0;
  font-size: var(--sectionFont);
  line-height: 1.1;
  letter-spacing: var(--tracking);
  text-align: right;
  text-transform: uppercase;
}

.social {
  height: var(--social);
  color: var(--white);
  background: var(--black);
}

.social-main {
  height: var(--socialMain);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 48px;
}

.social-main h2 {
  width: var(--contentWidth);
  max-width: calc(100% - 30px);
  font-size: var(--sectionFont);
  line-height: 1.1;
  letter-spacing: var(--tracking);
  text-align: right;
  text-transform: uppercase;
}

.social-icons {
  width: var(--contentWidth);
  max-width: calc(100% - 30px);
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, var(--socialIcon));
  align-content: center;
  row-gap: 24px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons img {
  width: var(--socialIcon);
  height: var(--socialIcon);
}

.projects {
  height: var(--projects);
  color: var(--white);
  background: var(--black);
}

.projects-inner {
  position: relative;
  width: var(--contentWidth);
  max-width: calc(100% - 30px);
  height: 100%;
  margin: 0 auto;
  padding-top: 48px;
}

.projects h2 {
  color: var(--green);
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 4px;
  margin-top: 24px;
}

.project-filter {
  min-width: 0;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border: 1px solid var(--green);
  border-radius: 12px;
  color: var(--white);
  background: transparent;
  font-family: "Unbounded", sans-serif;
  font-size: 12px;
  font-weight: 400;
  font-variation-settings: "wght" 400;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.project-filter:hover,
.project-filter:focus-visible {
  color: var(--green);
  outline: none;
}

.project-filter.is-active {
  color: var(--black);
  background: var(--green);
}

.project-filter-all {
  position: relative;
  width: 47px;
  flex: 0 0 47px;
  padding: 0;
  border: 0;
  background: none;
}

.project-filter-all img {
  position: absolute;
  inset: 0;
  width: 47px;
  height: 24px;
}

.filter-all-hover,
.filter-all-active,
.button-hover {
  opacity: 0;
}

.project-filter-all:hover .filter-all-default,
.project-filter-all:focus-visible .filter-all-default,
.project-filter-all.is-active .filter-all-default,
.project-filter-all.is-active .filter-all-hover {
  opacity: 0;
}

.project-filter-all:hover .filter-all-hover,
.project-filter-all:focus-visible .filter-all-hover,
.project-filter-all.is-active .filter-all-active {
  opacity: 1;
}

.project-filter-all.is-active:hover .filter-all-hover,
.project-filter-all.is-active:focus-visible .filter-all-hover {
  opacity: 0;
}

.project-link {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 24px;
}

.project-image {
  width: 100%;
  height: auto;
  aspect-ratio: 580 / 326;
  object-fit: cover;
}

.project-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
}

.project-play img {
  position: absolute;
  inset: 0;
  width: 48px;
  height: 48px;
}

.project-link:hover .button-default,
.project-link:focus-visible .button-default,
.project-arrow:hover .button-default,
.project-arrow:focus-visible .button-default {
  opacity: 0;
}

.project-link:hover .button-hover,
.project-link:focus-visible .button-hover,
.project-arrow:hover .button-hover,
.project-arrow:focus-visible .button-hover {
  opacity: 1;
}

.project-link:focus-visible,
.project-arrow:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.project-navigation {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 24px;
}

.project-arrow {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  cursor: pointer;
}

.project-arrow img {
  position: absolute;
  inset: 0;
  width: 24px;
  height: 24px;
}

.project-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-panel {
  color: var(--white);
  background: var(--black);
}

.contact-panel-social {
  height: var(--contact);
}

.contact-panel-bottom {
  height: var(--contact);
}

.contact-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120px 15px;
  gap: 24px;
}

.messengers {
  display: flex;
  gap: 24px;
}

.messengers a,
.messengers img {
  display: block;
  width: 64px;
  height: 64px;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  font-size: var(--contactFont);
  line-height: 1;
  letter-spacing: var(--tracking);
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.phone,
.contact-cta {
  display: block;
}

.contact-cta {
  color: var(--green);
}

.pricing {
  height: var(--price);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 48px max(5px, calc((100% - var(--cardWidth)) / 2));
  background: var(--green);
}

.pricing > h2 {
  flex: 0 0 auto;
  width: 100%;
  font-size: var(--priceFont);
  line-height: 1.1;
  letter-spacing: var(--tracking);
  text-align: center;
  text-transform: uppercase;
}

.cards {
  width: var(--cardWidth);
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-rows: var(--cardBase) calc(var(--cardBase) + 28px) var(--cardBase);
  align-items: stretch;
  gap: 24px;
}

.price-card {
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 24px 15px;
  border-radius: 48px;
  text-transform: uppercase;
}

.price-card-one {
  border: 1px solid var(--black);
}

.price-card-flow {
  background: var(--white);
}

.price-card-show {
  color: var(--white);
  background: var(--black);
}

.card-head {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.card-head h3 {
  width: 100%;
  font-size: 32px;
  line-height: 1;
  letter-spacing: var(--tracking);
  text-align: center;
}

.price-card-show .card-head h3 {
  color: var(--green);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 4px 8px;
  border: 1px solid currentColor;
  border-radius: 24px;
  font-size: 8px;
  font-variation-settings: "wght" 400;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.price-card-show .pill {
  color: var(--green);
}

.card-head p {
  height: 12px;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
}

.price-card-show .card-head p {
  color: var(--green);
}

.option {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
}

.option > img {
  width: 20px;
  height: 20px;
}

.option > div,
.option-double span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.option strong {
  display: block;
  font-size: var(--sectionFont);
  line-height: 1.1;
  letter-spacing: var(--tracking);
  white-space: nowrap;
}

.option small {
  display: block;
  font-size: 8px;
  font-variation-settings: "wght" 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.option-double > div {
  gap: 0;
}

.separator {
  width: 100%;
  height: auto;
  margin-top: auto;
}

.card-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  white-space: nowrap;
}

.card-price strong {
  font-size: 28px;
  line-height: 1;
  letter-spacing: var(--tracking);
}

.price-card-show .card-price strong {
  color: var(--green);
}

.card-price small {
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.price-card-show .card-price small {
  color: var(--green);
}

.flow-price {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.saving {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 4px 8px;
  border-radius: 24px;
  color: var(--black);
  background: var(--green);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.contact-panel-bottom {
  background: var(--black);
}

.footer-brand {
  height: var(--footer);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  background: var(--black);
}

.footer-brand img {
  width: var(--footerLogo);
  max-width: calc(100% - 24px);
  height: auto;
}

@media (min-width: 400px) {
  .price-card {
    padding-inline: 20px;
  }

  .option {
    column-gap: 20px;
  }

  .card-head {
    height: 86px;
    flex: 0 0 86px;
  }

  .option {
    min-height: 39px;
  }

  .option > div {
    justify-content: center;
  }

  .option-double {
    min-height: 78px;
  }

  .option-double > div {
    justify-content: flex-start;
  }

  .option-double span {
    min-height: 39px;
    justify-content: center;
  }
}

@media (min-width: 600px) {
  .hero-brand {
    height: 81px;
    padding: 12px 40px 0;
  }

  .header-logo {
    width: 278px;
  }

  .hero-brand p {
    position: absolute;
    left: 40px;
    bottom: 0;
    width: calc(100% - 80px);
    font-size: 13px;
    text-align: center;
  }

  .hero-copy .hero-copy-narrow {
    display: none;
  }

  .hero-copy .hero-copy-wide {
    display: block;
  }

  .services {
    height: 333px;
    align-content: start;
    row-gap: 48px;
    padding-top: 48px;
    padding-inline: 40px;
  }

  .about-closing {
    height: calc(var(--about) - var(--aboutHead) - 333px);
    padding: 0 40px;
    align-items: flex-start;
    transform: translateY(-29px);
  }

  .about-tagline,
  .about-closing p {
    width: 688px;
    max-width: calc(100% - 80px);
  }

  .social-main {
    height: 351px;
  }

  .social-main h2 {
    max-width: 688px;
  }

  .social-icons {
    max-width: 688px;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: var(--socialIcon);
    column-gap: 24px;
    row-gap: 0;
  }

  .projects-inner {
    width: 688px;
    max-width: calc(100% - 80px);
  }

  .project-filters {
    flex-wrap: nowrap;
  }

  .project-play {
    width: 64px;
    height: 64px;
  }

  .project-play img {
    width: 64px;
    height: 64px;
  }

  .project-arrow,
  .project-arrow img {
    width: 32px;
    height: 32px;
  }

  .pricing {
    padding-inline: max(40px, calc((100% - var(--cardWidth)) / 2));
  }

  .price-card {
    padding-inline: 20px;
  }

  .option {
    column-gap: 20px;
  }

  .option strong {
    font-size: 20px;
  }

  .footer-brand {
    padding-block: 120px;
  }

  .footer-brand img {
    max-width: calc(100% - 80px);
  }
}

@media (min-width: 1200px) {
  .hero-image {
    transform: translate(
      calc(-50% + var(--heroShift)),
      var(--heroParallaxY, 0px)
    );
  }

  .hero-stage {
    overflow: visible;
  }

  .services {
    height: 333px;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: min-content;
    align-content: center;
    row-gap: 24px;
    padding-top: 0;
    padding-inline: 40px;
  }

  .about-closing {
    height: 226px;
    align-items: flex-start;
    padding-bottom: 120px;
    transform: none;
  }

  .social-main h2,
  .social-icons {
    width: 688px;
  }

  .pricing {
    gap: 120px;
    padding: 120px calc((100% - var(--contentWidth)) / 2);
  }

  .pricing > h2 {
    height: 80px;
    line-height: 1.1;
  }

  .cards {
    width: var(--contentWidth);
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
    align-items: start;
    column-gap: 24px;
  }

  .service span {
    font-size: var(--serviceFont);
    line-height: 1.2;
  }

  .price-card {
    width: 100%;
    height: calc(100% - 28px);
    flex: none;
  }

  .price-card-flow {
    height: 100%;
  }

  .card-head h3 {
    font-size: 34px;
  }

  .option strong {
    font-size: 26px;
  }

  .option small {
    font-size: 10px;
  }

  .card-price strong {
    font-size: 34px;
  }

  .footer-brand img {
    max-width: none;
  }
}

@media (min-width: 1512px) {
  .cards {
    column-gap: 80px;
  }
}

@media (width: 320px) {
  .hero-brand {
    padding-inline: var(--heroPadding);
  }

  .hero-brand p {
    text-align: left;
  }

  .about-tagline,
  .social-main h2,
  .social-icons {
    max-width: 290px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
