/* ABCDiatypePlusVariable-Trial */
@font-face {
  font-family: 'Dia';
  src: url('../assets/ABCDiatypePlusVariable-Trial.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --breakpoint-xl: 1200px;
}
html {
  scroll-behavior: smooth;
}

html,
body {
  font-family: 'Dia', sans-serif;
  font-size: 21px;
  /* max-width: 100%; */
  /* overflow-x: hidden; */
  letter-spacing: 0.01em;
  /* line-height: 120% !important; */
  /* width: 80dvw; */
  /* max-width:1200px; */
  @media (max-width: 1200px) {
    max-width: unset;
  }
}

body {
  margin-top: 0px;
  margin-bottom: 0px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav {
  margin-top: .1em;

  a {
    text-decoration: underline;
  }
  a:hover {
    text-decoration: none;
  }
}

.site-title {
  color: black;
}

.site-title:visited {
  color: black;
}

.work-index {
  list-style: none;
  margin: 0;
  padding: 0;
}

.work-index li {
  margin-bottom: .35em;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.25rem 0;
  border-top: 1px solid #ccc;
}

.news-item--text {
  grid-template-columns: minmax(0, 1fr);
}

.news-date {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.news-item h3 {
  font-size: 1rem;
  line-height: 1.2;
}

.news-item-image {
  width: 100%;
  margin: 0;
}

.news-item-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1200px) {
  .news-item {
    grid-template-columns: 1fr;
  }
}

project-header {
  grid-column: span 8 / span 8;
}

.back-button {
  font-size: 1rem;
  text-decoration: underline;
  margin-bottom: 1.5em;
  display: inline-block;
  letter-spacing: 0.02em;
  /* margin-top:.3em; */
  text-underline-offset: 0.1em;
}
.back-button:hover {
  text-decoration: none;
}

h3 {
  font-size: 1rem;
  margin: 0;
  padding: 0;
  color: black !important;
}

.project-card {
  width: 100%;
  display: flex;
  padding: 1.25rem 0;
  flex-direction: row;
  height: max-content;
  align-items: flex-start;
  gap: 1.5rem;
  border-top: 1px solid #ccc;
}

.project-card--full {
  display: block;
  padding-top: 0;
  border-top: 0;
}

.project-card--detail {
  justify-content: space-between;
}

.project-card-copy {
  width: min(22rem, 100%);
  flex: 0 0 min(22rem, 100%);
}

.project-card-copy h3 {
  font-size: 1rem;
  /* margin-bottom: 0.45rem; */
}

.project-card--detail .image-card {
  flex: 1 1 0;
}

.project-card--detail .image-card img {
  width: 100%;
}

/* Index cards keep a consistent media column, including when an image is not yet available. */
.project-card--index {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
}

.project-card--index .image-card {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.project-card--index .image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card--index .project-card-copy {
  width: auto;
  flex: none;
}
.page-title {
   text-align: left;
   width: 100%;
   padding: 0;
}

@media (max-width: 1200px) {
  .project-card--detail {
    flex-direction: column;
  }

  .project-card-copy {
    width: 100%;
    flex-basis: auto;
  }

  .project-card--index {
    grid-template-columns: 1fr;
  }
}

.project-card figcaption {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.15;
  margin-top: .3rem;
  margin-left: -0.08rem;
}
.project-card:hover {
  opacity: .9;
  transition: opacity 0.3s ease;
}

h1 {
  font-size: 1.2rem;
  letter-spacing: 0.024em;
}
h1:has(+ .subtitle) {
  margin-bottom: 0.2em;
  /* color:red; */
}
h1:first-of-type {
  margin-top: 0 !important;
}
.subtitle {
  margin-bottom: 2rem;
  /* line-height:1.25; */
}
.title-card {
  width: 50%;
  height: 100%;

}
.image-card {
  width: 100%;
  margin: 0;
  img {
    width: 100%;
    height: auto;
    display: block;
  }
}

img {
  max-width: 100%;
  height: auto;
}
.project-card-title {
  margin-bottom: .25rem;
}
.caption {
  text-decoration: none !important;
  color: black;
  font-size: 0.9rem;
  line-height: 1.2;
  
}

.dimensions {
  text-decoration: none !important;
  color: black;
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.2;
}
a {
  text-decoration: none;
}

.text-body,
.text-base {
  font-size: 1rem;
  line-height: 130%;
  /* font-style: italic; */
}

.container {
  margin: 20px;
  @media (max-width: 1200px) {
    display: flex !important;
    flex-direction: column;
  }
}

.grid-container-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0 10px;
  font-size: 1rem;
  margin-top:1.3rem;
  line-height: 130%;
}
h2 {
  font-size: 1.2rem;
  padding: 0;
  margin: 0;
}
a {
  color: blue;
}
a:visited {
  color: blue;
}
.artwork {
  @media (max-width: 1200px) {
    display: flex !important;
    flex-direction: column;
    margin-bottom: 20px;
  }
}
.menu {
  ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  @media (max-width: 1200px) {
    > ul {
      display: flex !important;
      flex-direction: column;
      margin-bottom: 20px;
      gap: 0;
    }
  }
}
.cv {
  ul {
    list-style: none;
    /* line-height: 100%; */
    padding: 0;
  }
  li {
    padding-left: 1em;
    text-indent: -1em;
  }
}

p {
  margin-bottom: 1rem;
  margin-top: 0;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.artwork-details {
  display: flex;
  flex-direction: column;
  gap: 0 10px;
  h3 {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1em;
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
  }
  span {
    font-weight: 400;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.2em;
    margin: 0;
    padding: 0;
  }
}

.overline {
  border-top: 1px solid #ccc;
  padding-top: 10px;
}
.grid,
.grid-12,
.grid-10 {
  display: grid;
}

.grid-12,
.grid-cols-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.grid-10,
.grid-cols-10 {
  grid-template-columns: repeat(10, 1fr);
}

.grid-12,
.grid-10,
.gap-x-2\.5 {
  gap: 0 10px;
}

.block {
  display: block;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}
.mt-4 {
  margin-top: 1rem !important;
}

.mt-8 {
  margin-top: 2rem;
}

.span-2,
.col-span-2 {
  grid-column: span 2 / span 2;
  width: 100%;
  height: auto;
}

.span-4,
.col-span-4 {
  grid-column: span 4 / span 4;
  width: 100%;
  height: auto;
}

.span-5,
.col-span-5 {
  grid-column: span 5 / span 5;
  width: 100%;
  height: auto;
}

.span-8,
.col-span-8 {
  grid-column: span 8 / span 8;
  width: 100%;
  height: auto;
}

.span-10,
.col-span-10 {
  grid-column: span 10 / span 10;
  width: 100%;
  height: auto;
}

.start-3,
.col-start-3 {
  grid-column-start: 3;
}

.span-12,
.col-span-12 {
  grid-column: span 12 / span 12;
  width: 100%;
  height: auto;
}

.projects-list, .project-details {
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: repeat(12, 1fr);
  justify-content: start;
  gap: 1em;
  
  column-gap: 1em;
  /* margin-top: 1em; */
}

.projects-page > project-card {
  display: block;
  flex: 0 0 100%;
  width: 100%;
}
body {
  max-width: 1800px;
  
}

.project-details > p {
    margin: 30px;
    grid-column: span 10 / span 10;
    width: 100%;
    height: auto;
    padding: 2rem;
    @media (max-width: 1200px) {
      padding: .5rem;
      margin:0;
      margin-bottom: 1em;
    }
}  


.project-details h2,
.project-details ul {
  margin-left: 30px;
  margin-right: 30px;
    grid-column: span 10 / span 10;
    width: 100%;
}
.project-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
    margin-left: 30px;
  margin-right: 30px;
}
.project-details li {
  margin-bottom: 0.5em;
}

/* Project Image Layouts */
.project-image {
  width: 100%;
}
.project-image.full {
  /* grid-column: span 10 / span 10; */
  width: 100%;
  margin-bottom: 1em;
}
.project-image.medium {
  /* grid-column: span 10 / span 10; */
  width: 75%;
  margin-bottom: 1em;
}
.project-image.half {
  /* grid-column: span 5 / span 5; */
  width: calc(50% - 0.5em);
  margin-bottom: 1em;
  
  @media (max-width: 1200px) {
    width: 100%;
  }

}
.project-image figure {
  margin: 0;
}
.project-image img {
  width: 100%;
  height: auto;
}
.project-image figcaption {
  font-size: 0.7rem;
  color: #666;
  line-height: 1.15;
  margin-top: -0.1rem;
  margin-left: -0.08rem;
}

/* Page load fade-in */
@keyframes page-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
body {
  animation: page-fade-in 0.4s ease-in both;
}
@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }
}
