@import url("tokens.css");

/* ============ base ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--bg-dark);
  color: var(--point);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 20px;
}

body.body--white {
  background-color: var(--secondary);
  color: #000;
}

h1,
h2,
h3 {
  margin-bottom: 10px;
  font-weight: 700;
}

h1 {
  margin-top: 20px;
  font-size: 38px;
  line-height: 44px;
}

h2 {
  margin-top: 20px;
  font-size: 32px;
  line-height: 36px;
}

h3 {
  margin-top: 20px;
  font-size: 24px;
  line-height: 30px;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: inline-block;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.container--wide {
  max-width: var(--container-wide);
}

.link {
  color: var(--point);
  height: 22px;
  margin-bottom: 24px;
}

.margin-bottom-24px {
  margin-bottom: 24px;
}

/* ============ nav ============ */
.nav {
  height: var(--nav-height);
  position: relative;
  z-index: 10;
}

.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.nav__brand {
  display: flex;
  align-items: center;
  max-width: 120px;
  height: 100%;
  margin-left: 15px;
}

.nav__menu {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav__link {
  display: inline-block;
  padding: 20px;
  color: var(--point);
  text-decoration: none;
}

.nav__link[aria-current="page"] {
  color: #fff;
}

.nav--light .nav__link {
  color: var(--prime);
}

.nav--light .nav__link[aria-current="page"] {
  color: #fff;
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 12px 16px;
  cursor: pointer;
}

.nav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background-color: var(--point);
}

.nav--light .nav__toggle-bar {
  background-color: var(--prime);
}

@media screen and (max-width: 991px) {
  .nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    background-color: var(--text-mid);
  }

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

  .nav__link,
  .nav--light .nav__link {
    color: var(--prime);
    text-align: left;
  }

  .nav__link[aria-current="page"],
  .nav--light .nav__link[aria-current="page"] {
    color: var(--prime);
    font-weight: 600;
  }

  .nav__toggle {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .nav {
    height: var(--nav-height-mobile);
  }
}

@media screen and (max-width: 479px) {
  .nav__brand {
    max-width: 100px;
    margin-left: 0;
    padding-left: 10px;
  }
}

/* ============ home ============ */
.hero--home {
  height: 0;
  margin-bottom: -80px;
  padding-bottom: 60%;
  position: relative;
  top: -80px;
  overflow: clip;
}

.hero--home-image {
  position: relative;
  top: -30px;
  width: 100%;
}

@media screen and (max-width: 479px) {
  .hero--home {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: content-box;
    height: 500px;
    margin-bottom: -30px;
    padding-bottom: 0;
  }

  .hero--home-image {
    position: static;
    width: auto;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: 54% 50%;
  }
}

.slogan__container {
  padding: 50px 20px;
}

.slogan__text {
  color: var(--point);
  text-align: center;
}

.home-projects {
  padding-top: 30px;
}

.home-projects__heading {
  color: var(--point);
  text-align: center;
  letter-spacing: -1px;
  margin-bottom: 40px;
}

.home-projects__more {
  display: flex;
  justify-content: center;
  padding: 60px 20px 20px;
}

.button-outline {
  display: inline-block;
  border: 1px solid var(--point);
  color: var(--point);
  letter-spacing: 2px;
  padding: 12px 40px;
  font-size: 12px;
  line-height: 20px;
  text-decoration: none;
  transition: all 0.2s;
}

.button-outline:hover {
  background-color: var(--point);
  color: var(--bg-dark);
}

/* ============ footer ============ */
.footer--light {
  padding: 80px 30px 40px;
  position: relative;
}

.footer__container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.footer__divider {
  width: 100%;
  height: 1px;
  margin-top: 40px;
  margin-bottom: 40px;
  background-color: var(--divider-gold);
}

.footer__divider--prime {
  background-color: var(--prime);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 6px;
}

.footer__copyright--prime {
  color: var(--prime);
}

.footer__linkblock {
  display: inline-flex;
  justify-content: center;
  width: 24px;
  height: 24px;
}

@media screen and (max-width: 767px) {
  .footer--light {
    padding-left: 15px;
    padding-right: 15px;
  }

  .footer__container {
    max-width: 728px;
  }
}

@media screen and (max-width: 479px) {
  .footer--light {
    padding-top: 20px;
  }

  .footer__bottom {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
    padding-right: 0;
  }

  .footer__copyright {
    font-size: 13px;
  }
}

/* ============ about ============ */
.about {
  padding-top: 80px;
  padding-bottom: 80px;
}

.about__container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.about__heading {
  color: var(--point);
  text-align: left;
  letter-spacing: -2px;
  margin-top: 0;
  margin-bottom: 40px;
  padding-left: 20px;
  padding-right: 20px;
}

.about__images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 20px;
  margin-bottom: 40px;
  padding: 40px 20px;
}

.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__text {
  text-align: left;
  letter-spacing: -0.1px;
  margin-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
}

.about__heading2 {
  margin-top: 40px;
  margin-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  line-height: 39px;
}

.about__bulletpoints {
  text-align: left;
  letter-spacing: -0.1px;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 30px;
  padding-right: 20px;
  line-height: 28px;
}

ul.about__bulletpoints {
  list-style: none;
}

ul.about__bulletpoints li::before {
  content: "● ";
}

ol.about__bulletpoints {
  list-style-position: inside;
}

@media screen and (max-width: 767px) {
  .about {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .about__images {
    grid-template-columns: 1fr;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .about__heading {
    letter-spacing: -1px;
    margin-bottom: 30px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 32px;
    line-height: 32px;
  }

  .about__heading2 {
    font-size: 24px;
    line-height: 34px;
  }
}

@media screen and (max-width: 479px) {
  .about__heading2 {
    padding-left: 10px;
    padding-right: 10px;
  }

  .about__text {
    padding-left: 10px;
    padding-right: 10px;
  }

  .about__bulletpoints {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ============ team ============ */
.team {
  padding: 80px 30px;
  position: relative;
}

.team__container {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.team__heading {
  color: var(--point);
  text-align: center;
  letter-spacing: -2px;
  margin-bottom: 50px;
  font-size: 38px;
  line-height: 44px;
}

.team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 50px;
  margin-top: 50px;
}

.team__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 22px;
}

.team__card__image {
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 50%;
  width: 270px;
  height: 270px;
  margin-bottom: 24px;
}

.team__card__name {
  color: var(--text-bright);
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 500;
  line-height: 32px;
}

.team__card__position {
  color: var(--text-bright);
  margin-bottom: 12px;
}

@media screen and (max-width: 767px) {
  .team {
    padding: 60px 15px;
  }

  .team__grid {
    column-gap: 40px;
    row-gap: 20px;
  }

  .team__heading {
    letter-spacing: -1px;
    font-size: 32px;
    line-height: 32px;
  }

  .team__card__image {
    width: 210px;
    height: 210px;
  }
}

@media screen and (max-width: 479px) {
  .team__grid {
    grid-template-columns: 1fr;
  }

  .team__card__image {
    width: 190px;
    height: 190px;
  }
}

/* ============ projects list ============ */
.projects {
  padding-top: 80px;
  padding-bottom: 80px;
}

.projects__project {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 45%;
  position: relative;
  overflow: clip;
}

.projects__image {
  width: 100%;
  position: relative;
}

.projects__description {
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding-left: 20px;
  padding-right: 20px;
  color: var(--text-mid);
  background-image: linear-gradient(
    rgb(0 0 0 / 0),
    rgb(0 0 0 / 0) 70%,
    rgb(0 0 0 / 0.4) 79%,
    #000 100%
  );
}

.projects__description__heading {
  width: 100%;
}

.projects__description__paragraph {
  width: 50%;
  min-width: 500px;
  margin-bottom: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.projects__project:hover .projects__description__paragraph,
.projects__project:focus-visible .projects__description__paragraph {
  opacity: 1;
}

@media screen and (max-width: 767px) {
  .projects {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .projects__project {
    margin-bottom: -6px;
    padding-bottom: 56.25%;
  }

  .projects__description {
    padding-left: 10px;
    padding-right: 10px;
  }

  .projects__description__heading {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
  }
}

@media screen and (max-width: 479px) {
  .projects__description__paragraph {
    display: none;
  }

  .projects__description__heading {
    font-size: 14px;
    line-height: 22px;
  }
}

/* ============ project detail ============ */
.hero--project {
  display: flex;
  overflow: clip;
}

.hero__image-container {
  width: 60%;
  height: 0;
  padding-bottom: 33.75%;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  position: relative;
}

.hero__image--woyzeckworld {
  width: 100%;
}

.hero__image--woyzeck {
  top: -50px;
}

.hero__image--lost-soul {
  top: -20px;
}

.hero__image--hibernation {
  top: -100px;
}

.hero__cover {
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
  align-items: stretch;
  width: 40%;
  padding-bottom: 24px;
  padding-left: 24px;
  padding-right: 24px;
  background-color: rgb(0 0 0 / 0.54);
  background-image: linear-gradient(
    rgb(0 0 0 / 0.82),
    rgb(54 54 54 / 0) 28%,
    rgb(255 255 255 / 0)
  );
}

.hero__cover__title {
  color: #fff;
  letter-spacing: 0.1rem;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 3.5rem;
}

.hero__logline {
  color: var(--text-light);
  text-align: left;
  font-size: 14px;
  line-height: 24px;
}

.hero__location-year {
  color: var(--text-light);
  text-align: left;
  margin-top: 80px;
  font-size: 14px;
  line-height: 20px;
}

.heading {
  color: var(--text-light);
  text-align: center;
  letter-spacing: -0.1rem;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 30px;
}

.highlight {
  color: #c5a47e;
}

.award {
  padding-top: 60px;
}

.video-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.17%;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.project__details {
  margin-top: 100px;
  margin-bottom: 100px;
}

.project__details__flex {
  display: flex;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.project__details__description {
  width: 50%;
  padding-left: 12px;
  padding-right: 12px;
}

.project__details__description__text {
  color: var(--text-light);
  font-size: 16px;
  font-weight: 300;
  line-height: 160%;
}

.project__details__credits {
  width: 50%;
  padding-left: 12px;
}

.project__details__credits__header {
  color: var(--point);
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 600;
}

.project__details__credits__name {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 16px;
  font-weight: 300;
  line-height: 160%;
}

.project__details__credits__label {
  font-weight: 500;
}

.project__photos__images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 20px;
  margin-bottom: 40px;
  padding: 40px 20px;
}

.project__photos__images--two {
  grid-template-columns: repeat(2, 1fr);
}

.project__photos__image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-height: 500px;
  overflow: clip;
}

.project__photos__image--voyzeck {
  width: 100%;
  height: auto;
  max-height: none;
}

.project__photos__image--hibernation {
  height: 400px;
  overflow: hidden;
}

@media screen and (max-width: 991px) {
  .project__details__description {
    padding-left: 24px;
  }
}

@media screen and (max-width: 767px) {
  .hero--project {
    flex-flow: column;
  }

  .hero__image-container {
    width: 100%;
    padding-bottom: 56%;
  }

  .hero__cover {
    width: 100%;
  }

  .hero__cover__title {
    margin-bottom: 10px;
  }

  .hero__location-year {
    margin-top: 40px;
  }

  .project__details {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .project__details__flex {
    flex-flow: column;
    gap: 50px;
  }

  .project__details__description {
    width: 100%;
    padding-right: 24px;
  }

  .project__details__credits {
    width: 100%;
    padding-left: 24px;
  }

  .project__photos__images {
    grid-template-columns: 1fr;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .project__photos__image {
    min-height: 200px;
  }

  .project__photos__image--hibernation {
    height: 300px;
  }
}

@media screen and (max-width: 479px) {
  .hero__cover__title {
    font-size: 2rem;
    line-height: 2rem;
  }

  .heading {
    font-size: 20px;
  }
}

/* ============ workshops ============ */
.workshops {
  padding-top: 80px;
  padding-bottom: 80px;
}

.workshops__heading {
  text-align: center;
  margin-bottom: 40px;
}

.workshops__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding-left: 20px;
  padding-right: 20px;
}

.workshops__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: var(--card-light);
  border: 1px solid #000;
  border-radius: 2px;
  padding: 21px 24px 18px;
  font-size: 14px;
  line-height: 22px;
}

.workshops__title {
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 21px;
}

.workshops__field {
  display: flex;
  height: 20px;
  margin-bottom: 2px;
}

.workshops__field--tags {
  margin-top: 12px;
}

.workshops__field__header {
  margin-right: 5px;
  font-weight: 600;
  line-height: 16px;
}

.workshops__field__value {
  line-height: 16px;
}

.workshops__field__value--hashtag {
  color: var(--text-hashtag);
}

@media screen and (max-width: 767px) {
  .workshops__heading {
    margin-bottom: 30px;
    font-size: 20px;
  }

  .workshops__title {
    font-size: 16px;
    font-weight: 600;
  }
}

@media screen and (max-width: 479px) {
  .workshops__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .workshops__card {
    border-radius: 0;
  }
}

/* ============ contact ============ */
.contact {
  padding: 80px 30px;
  position: relative;
}

.contact__container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.contact__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.contact__email {
  display: flex;
  align-items: center;
  height: 24px;
}

.contact__email__logo {
  width: 16px;
  margin-right: 8px;
}

.contact__email__text {
  margin-bottom: 2px;
}

@media screen and (max-width: 479px) {
  .contact {
    padding: 60px 15px;
  }
}

/* ============ subscribe ============ */
.subscribe {
  padding: 80px 30px;
  position: relative;
}

.subscribe__container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.subscribe__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.subscribe__split {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  max-width: 46%;
}

.subscribe__heading {
  font-size: 38px;
  line-height: 44px;
}

.subscribe__instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.subscribe__instagram:hover .subscribe__instagram__icon {
  filter: brightness(0);
}

@media screen and (max-width: 767px) {
  .subscribe__split {
    max-width: 100%;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 479px) {
  .subscribe__split {
    width: 100%;
  }
}
