* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body, html {
    width: 100%;
    min-height: 100%;
    background: #f5f5f5;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #586175;
    font-size: clamp(16px, 1.2vw, 18px);
    font-weight: normal;
    padding-bottom: 6rem;
}

.hero {
  max-width: 700px;
  margin: 1rem auto 0;
  padding: 0 1rem;

}
h1 {
  text-align: center;
  margin-top: 1em;
  margin-bottom: 0.5em;
  font-family: "Playfair Display", serif;
  color: #2f333c;
}

#site-title {
    font-size: 50px;
    font-weight: bold;
}

#subhead {
  display: block;
  font-size: 20px;
  font-weight: normal;
  text-align: center;
  max-width: 600px;           
  margin: 0 auto;                          
  line-height: 1.2em;  
  color: #586175;  
}

h2 {
  font-size: 28px;
  font-weight: bold;
  color: #2f333c;
  margin: 3rem auto 1rem auto; /* space above/below */
  max-width: 1100px;           /* same wrapper width as future grid */
  padding: 0 1rem;             /* small side padding */
  text-align: left; 
}


.thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f5f5f5;
  overflow: hidden;
}

.thumb img,
.thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* keeps aspect fill like img */
  display: block;
}

/* Section wrapper matches your centered hero width, but a bit wider */
.works {
  max-width: 1100px;
  margin: 3rem auto 4rem;
  padding: 0 1rem;
}

/* Section heading sits left, like the reference */
.work-title {
  font-weight: 500;
  font-size: 24px;
  color: #586175;
  margin: 1rem 0 1rem 0;
}

/* Responsive 3-up grid (wraps to 2 or 1 on small screens) */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Card */
.work-card {
  background: transparent;                 /* keeps your light blue page */
  border-radius: 6px;
  overflow: hidden;
  max-width: 650px;
  border: none;
  padding: 1rem;
  box-shadow: 0 0px 8px rgb(205, 205, 205);
  transition: transform 0.2s ease,
  box-shadow 0.2s ease;;
}

.work-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.8);  /* still soft on hover */
}

/* Make the whole card clickable */
.work-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 900px) {       /* desktop/tablet breakpoint */
  .work-grid {
    grid-template-columns: 1fr 1fr;  /* exactly two columns */
  }
}

.work-card, .thumb {
  border-radius: 0;
}

.thumb.thumb-contain{
  display:flex; align-items:center; justify-content:center; aspect-ratio: 4 / 3;}
.thumb.thumb-contain img,
.thumb.thumb-contain svg { width:100%; height:100%; object-fit: cover; object-position: center;}

.thumb img {
  object-fit: cover;
}



