/* =========================================================
   ABOUT PAGE
   ========================================================= */


/* ---------------------------------------------------------
   PAGE
   --------------------------------------------------------- */

.about-page {
  width: 100%;

  padding:
    clamp(90px, 8vw, 140px)
    var(--page-padding)
    clamp(150px, 14vw, 230px);
}


/*
  The About page has one centered editorial column.

  Individual sections can become wider or narrower
  inside that column depending on their purpose.
*/

.about-content {
  width: 100%;
  max-width: 1180px;

  margin: 0 auto;
}


/* =========================================================
   BIOGRAPHY
   ========================================================= */

.about-biography {
  width: min(100%, 760px);

  margin: 0 auto;
}


.about-biography p {
  margin: 0 0 28px;

  color: var(--text);

  font-size: clamp(0.92rem, 1vw, 1.06rem);
  font-weight: 400;

  line-height: 1.7;
}


.about-biography p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   ABOUT IMAGES
   ========================================================= */

.about-image {
  margin-left: auto;
  margin-right: auto;

  padding: 0;
}


.about-image img {
  display: block;

  width: 100%;
  height: auto;
}


/* ---------------------------------------------------------
   PRIMARY ARTIST PORTRAIT
   --------------------------------------------------------- */

/*
  The clean portrait remains deliberately narrower
  than the studio photograph.

  It reads as an artist portrait rather than
  becoming another full-page hero image.
*/

.about-image--portrait {
  width: min(100%, 620px);

  margin-top:
    clamp(80px, 8vw, 125px);
}


/* ---------------------------------------------------------
   STUDIO IMAGE
   --------------------------------------------------------- */

/*
  The studio photograph is allowed to spread wider.

  This changes the rhythm of the page and gives
  the viewer a broader look into the actual workspace.
*/

.about-image--studio {
  width: min(100%, 1100px);

  margin-top:
    clamp(90px, 9vw, 145px);
}


/* Studio caption */

.about-image figcaption {
  margin-top: 12px;

  color: var(--muted);

  font-size: 0.58rem;
  font-weight: 500;

  line-height: 1;

  letter-spacing: 0.045em;

  text-transform: uppercase;
}


/* =========================================================
   SELECTED EXHIBITIONS
   ========================================================= */

.about-exhibitions {
  width: min(100%, 760px);

  margin:
    clamp(90px, 9vw, 145px)
    auto
    0;
}


.about-exhibitions__heading {
  margin: 0 0 28px;

  color: var(--accent);

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

  line-height: 1;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}


/* ---------------------------------------------------------
   EXHIBITION LIST
   --------------------------------------------------------- */

.exhibition-list {
  margin: 0;
  padding: 0;

  list-style: none;
}


.exhibition-item {
  display: grid;

  grid-template-columns:
    68px
    minmax(0, 1fr);

  column-gap: 20px;

  padding:
    14px
    0;

  border-top:
    1px solid rgba(17, 17, 17, 0.18);
}


.exhibition-item:last-child {
  border-bottom:
    1px solid rgba(17, 17, 17, 0.18);
}


.exhibition-item__year {
  color: var(--text);

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

  line-height: 1.5;
}


.exhibition-item__details {
  margin: 0;

  color: var(--text);

  font-size: 0.78rem;
  font-weight: 400;

  line-height: 1.5;
}


.exhibition-item__venue {
  font-weight: 600;
}

.exhibition-item__note {
  display: block;
  width: fit-content;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
  text-decoration-color: rgba(17, 17, 17, 0.35);
  text-underline-offset: 3px;
}

a.exhibition-item__note::after {
  display: inline-block;
  margin-left: 10px;
  color: var(--accent-text);
  font-size: 0.6rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.06em;
  text-decoration: none;
  content: "READ MORE →";
}

html[lang^="da"] a.exhibition-item__note::after {
  content: "LÆS MERE →";
}

a.exhibition-item__note:hover,
a.exhibition-item__note:focus-visible {
  color: var(--accent-text);
  text-decoration-color: var(--accent);
}


/* ---------------------------------------------------------
   EMPTY / ERROR STATE
   --------------------------------------------------------- */

.exhibition-status {
  margin: 0;

  color: var(--muted);

  font-size: 0.78rem;

  line-height: 1.5;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .about-content {
    max-width: 900px;
  }


  .about-image--portrait {
    width: min(100%, 560px);
  }


  .about-image--studio {
    width: 100%;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .about-page {
    padding-top: 65px;
    padding-bottom: 120px;
  }


  /* Biography */

  .about-biography {
    width: 100%;
  }


  .about-biography p {
    margin-bottom: 24px;

    font-size: 0.92rem;

    line-height: 1.65;
  }


  /* Portrait */

  .about-image--portrait {
    width: 100%;

    margin-top: 70px;
  }


  /* Exhibitions */

  .about-exhibitions {
    width: 100%;

    margin-top: 75px;
  }


  .exhibition-item {
    grid-template-columns:
      55px
      minmax(0, 1fr);

    column-gap: 14px;
  }


  /* Studio */

  .about-image--studio {
    width: 100%;

    margin-top: 80px;
  }


  .about-image figcaption {
    margin-top: 10px;

    font-size: 0.54rem;
  }

}
