.gallery figure {
  margin: 0;
  position: relative;
}
.project-archive {
  width: min(1120px, calc(100% - 40px));
  padding-top: 52px;
}
.project-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: none;
  min-height: clamp(420px,56vw,620px);
  padding: 80px 24px;
  background: #203b32 url('/assets/projects-hero-workshop-v2.jpg') center 50%/cover no-repeat;
  color: #fff;
  text-align: center;
}
.project-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg,rgba(11,8,6,.62),rgba(11,8,6,.74));
  -webkit-backdrop-filter: blur(1.35px) brightness(.82) saturate(.78);
  backdrop-filter: blur(1.35px) brightness(.82) saturate(.78);
}
.project-hero>div { width: min(820px,100%); }
.project-hero .eyebrow { color: #e0bd7e; }
.project-hero h1 {
  margin: 10px 0 20px;
  color: #fff;
  font-size: clamp(46px,7vw,76px);
  text-shadow: 0 2px 20px rgba(0,0,0,.34);
}
.project-hero p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: #f6efe5;
  font: clamp(18px,2.2vw,23px)/1.65 Georgia,serif;
}
.project-archive-intro {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}
.project-archive-intro h2 { margin: 0 0 10px; }
.project-archive-intro p { margin: 0; color: #665f57; }
.project-filters {
  margin-bottom: 34px;
  padding: 22px 24px;
  border-top: 1px solid #b79962;
  border-bottom: 1px solid #b79962;
  background: #fbf8f1;
}
.project-filter-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 7px 0;
}
.project-filter-group>div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.project-filter-group button {
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #3d3026;
  font: 700 14px Georgia,serif;
  cursor: pointer;
}
.project-filter-group button:hover,
.project-filter-group button:focus-visible {
  border-color: #b79962;
}
.project-filter-group button.active {
  background: #b79962;
  color: #fff;
}
.builder-filter {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #3d3026;
  font: 700 14px Georgia,serif;
}
.builder-filter>span {
  color: #6f5a3d;
}
.project-filter-group select {
  width: 112px;
  min-width: 112px;
  max-width: 112px;
  flex: 0 0 112px;
  margin: 0;
  padding: 2px 22px 2px 3px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  color: #6f5a3d;
  font: 700 14px Georgia,serif;
  cursor: pointer;
}
.project-filter-status {
  margin: 12px 0 0;
  text-align: center;
  color: #6f675e;
  font-size: 13px;
}
.project-card-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: stretch;
  column-gap: 34px;
  row-gap: 52px;
}
.project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfd3c1;
  border-top: 3px solid #b8792f;
  background: #fff;
  box-shadow: 0 7px 20px rgba(48,33,22,.16);
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease,box-shadow .2s ease;
}
.project-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(48,33,22,.2); }
.project-card:focus-visible { outline: 3px solid #b8792f; outline-offset: 4px; }
.project-card[hidden] { display: none; }
.project-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #17352c;
}
.project-card .project-card-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform .35s ease;
}
.project-card:hover .project-card-image img { transform: scale(1.025); }
.project-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 29px 30px 27px;
  text-align: center;
}
.project-card-copy .project-card-meta {
  margin: 0 0 10px;
  color: #9a702f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.project-card-title {
  display: block;
  margin: 0 0 14px;
  color: #34271f;
  font-family: Georgia,serif;
  font-weight: 700;
  line-height: 1.16;
  font-size: clamp(25px,3vw,34px);
}
.project-card-facts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: -1px 0 11px!important;
  padding: 6px 10px;
  color: #2f493f;
  font: 800 13px/1.3 "Segoe UI",Arial,sans-serif;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.project-card-facts span[aria-hidden="true"] {
  color: #b8792f;
  font-size: 18px;
  line-height: 1;
}
.project-card-facts span:last-child { color: #9a702f; }
.project-card-description { display: block; margin: 0 0 22px; color: #635d56; }
.project-read-more {
  margin-top: auto;
  color: #8b6929;
  font-family: Georgia,serif;
  font-weight: 700;
  text-decoration: none;
}
.project-read-more span { display: inline-block; transition: transform .2s; }
.project-read-more:hover span { transform: translateX(4px); }
.gallery-open {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: zoom-in;
}
.gallery-open.video-open {
  position: absolute;
  right: 8px;
  top: 8px;
  width: auto;
  padding: 7px 10px;
  border-radius: 4px;
  background: #17352de6;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.gallery img,
.gallery video {
  display: block;
}
body.lightbox-open {
  overflow: hidden;
}
.measurement-comparison {
  margin-block: 42px;
}
.measurement-intro {
  margin: -8px 0 20px;
  color: #5f6b66;
}
.measurement-table-wrap {
  overflow: hidden;
  border: 1px solid #d8ccba;
  border-radius: 12px;
  background: #fffdf8;
}
.measurement-comparison table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.measurement-comparison th,
.measurement-comparison td {
  padding: 17px 20px;
  border-bottom: 1px solid #e5dccf;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}
.measurement-comparison thead th {
  background: #17352c;
  color: #fff;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.measurement-comparison tbody th {
  width: 27%;
  color: #17352c;
  font-family: Georgia, serif;
  font-size: 18px;
}
.measurement-comparison tbody th small {
  display: block;
  margin-top: 5px;
  color: #737b77;
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}
.measurement-comparison tr:last-child th,
.measurement-comparison tr:last-child td {
  border-bottom: 0;
}
.not-recorded {
  color: #858b87;
  font-style: italic;
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(48px, 7vw) 1fr minmax(48px, 7vw);
  align-items: center;
  background: #08100ded;
  color: #fff;
}
.gallery-lightbox[hidden] {
  display: none;
}
.gallery-stage {
  min-width: 0;
  text-align: center;
}
.gallery-full-media {
  height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-full-media img,
.gallery-full-media video {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.gallery-close,
.gallery-prev,
.gallery-next {
  border: 0;
  background: #ffffff18;
  color: #fff;
  cursor: pointer;
}
.gallery-close {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 36px;
  line-height: 1;
}
.gallery-prev,
.gallery-next {
  justify-self: center;
  width: 52px;
  height: 74px;
  border-radius: 6px;
  font-size: 52px;
  line-height: 1;
}
.gallery-full-caption {
  max-width: 760px;
  margin: 12px auto 0;
  line-height: 1.35;
}
.gallery-count {
  margin: 4px 0 0;
  color: #d9d3c8;
  font-size: 13px;
}
@media (max-width: 620px) {
  .project-hero { min-height: 480px; padding: 64px 20px; }
  .project-hero h1 { font-size: 44px; }
  .project-hero p:last-child { font-size: 18px; }
  .project-archive { width: min(100% - 28px,1120px); padding-top: 34px; }
  .project-filters { padding: 18px 14px; }
  .project-filter-group { gap: 12px; }
  .project-filter-group>div { justify-content: center; gap: 6px; }
  .project-filter-group button { padding: 8px 11px; font-size: 13px; }
  .project-filter-group select { width: 112px; min-width: 112px; max-width: 112px; flex-basis: 112px; }
  .project-filter-status { margin-left: 0; }
  .project-card-grid { grid-template-columns: 1fr; }
  .project-card-copy { padding: 25px 20px 27px; }
  .measurement-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .measurement-comparison table,
  .measurement-comparison tbody,
  .measurement-comparison tr,
  .measurement-comparison th,
  .measurement-comparison td {
    display: block;
    width: 100%;
  }
  .measurement-comparison thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .measurement-comparison tr {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid #d8ccba;
    border-radius: 10px;
    background: #fffdf8;
  }
  .measurement-comparison th,
  .measurement-comparison td {
    padding: 13px 16px;
    border-bottom: 1px solid #e5dccf;
  }
  .measurement-comparison td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #8e591f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .cards .card img {
    width: 100%;
    height: 230px;
    min-height: 0;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }
  .cards .card div {
    padding: 24px 22px 28px;
  }
  .cards .card h2 {
    margin-top: 0;
    font-size: 28px;
  }
  .gallery-lightbox {
    grid-template-columns: 1fr;
    min-height: 100dvh;
  }
  .gallery-full-media {
    height: calc(100dvh - 105px);
    padding: 52px 8px 8px;
  }
  .gallery-prev,
  .gallery-next {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px;
    height: 62px;
    transform: translateY(-50%);
    font-size: 42px;
  }
  .gallery-prev {
    left: 6px;
  }
  .gallery-next {
    right: 6px;
  }
  .gallery-close {
    right: 10px;
    top: 10px;
  }
  .gallery-full-caption {
    margin-top: 7px;
    padding: 0 48px;
    font-size: 14px;
  }
}

/* Individual project case-study template */
.project-case-study { width: 100%; max-width: none; padding: 0; text-align: left; }
.project-case-study>.page-head { width: 100%; max-width: none; }
.project-case-study>.case-section,
.project-case-study>blockquote,
.project-case-study>.project-final-cta { width: min(900px,calc(100% - 40px)); margin-inline: auto; }
.project-case-study>.case-section { text-align: center; }
.case-section { padding: 64px 0; }
.case-section+.case-section { border-top: 1px solid #e0d6c8; }
.case-section>.eyebrow { width: 100%; margin: 0 auto 8px; text-align: center; text-indent: -.15em; }
.case-section>h2 { width: 100%; margin: 0 auto 27px; font-size: clamp(30px,4vw,42px); text-align: center; }
.case-section>h2::after { content: ''; display: block; width: 62px; height: 1px; margin: 18px auto 0; background: #b8792f; }
.case-section>p { max-width: 780px; margin-left: auto; margin-right: auto; line-height: 1.75; text-align: center; }
.project-case-study .case-copy,.project-case-study .case-copy h3,.project-case-study .case-copy p { text-align: center; }
.project-overview-grid { max-width: 780px; margin: 0 auto; }
.project-overview .project-objective { margin: 0; }
.project-overview dl { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 28px 0 0; border-top: 2px solid #b8792f; background: #f8f3e9; }
.project-overview dl div { padding: 14px 18px; border-bottom: 1px solid #dfd3c2; }
.project-overview dl div+div { border-left: 1px solid #dfd3c2; }
.project-overview dt { color: #8e591f; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.project-overview dd { margin: 3px 0 0; color: #17352c; font: 700 17px/1.35 Georgia,serif; text-align: center; }
.case-copy { display: block; max-width: 780px; margin: 0 auto; padding: 24px 0; border-top: 1px solid #e4dbce; text-align: center; }
.case-copy h3 { margin: 0 auto 10px; font-size: 21px; text-align: center; }
.case-copy p { max-width: 720px; margin: 0 auto; line-height: 1.75; text-align: center; }
.measurement-comparison { text-align: left; }
.measurement-takeaway { margin-top: 20px; padding: 22px 25px; border-left: 3px solid #b8792f; background: #f8f3e9; }
.measurement-takeaway strong { color: #17352c; font: 700 18px Georgia,serif; }
.measurement-takeaway p { margin: 7px 0 0; line-height: 1.65; }
.project-results { color: inherit; }
.results-lead { max-width: 780px; margin: 0 auto 28px; color: inherit; font: inherit; line-height: 1.75; }
.result-grid { display: block; max-width: 780px; margin: 0 auto; }
.result-grid article { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 28px; padding: 24px 0; border-top: 1px solid #e4dbce; background: transparent; }
.result-grid h3 { margin: 0; color: #17352c; font-size: 21px; }
.result-grid p { margin: 0; line-height: 1.75; }
.project-photo-story { text-align: center; }
.photo-story-intro { margin: -10px auto 27px; color: #625d56; }
.project-carousel { position: relative; }
.project-carousel-stage { position: relative; overflow: hidden; min-height: 500px; background: #eee7dc; }
.project-carousel-item { display: none; margin: 0; }
.project-carousel-item.active { display: block; }
.project-carousel-item>.gallery-open,
.project-carousel-item>video { width: 100%; }
.project-carousel-item img,
.project-carousel-item video { display: block; width: 100%; height: 500px; object-fit: cover; background: #eee7dc; }
.project-carousel-item figcaption { min-height: 48px; padding: 13px 70px; background: #f5efe5; color: #514b45; text-align: center; }
.project-carousel-prev,.project-carousel-next { position: absolute; z-index: 3; top: 226px; width: 48px; height: 68px; border: 1px solid #d8b67d88; background: #241710d9; color: #fff; font-size: 42px; cursor: pointer; }
.project-carousel-prev { left: 10px; }
.project-carousel-next { right: 10px; }
.project-carousel-count { margin: 13px 0 10px!important; color: #716a62; font-size: 13px; }
.project-carousel-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 3px 3px 10px; }
.project-carousel-thumb { width: 82px; height: 62px; flex: 0 0 82px; overflow: hidden; padding: 0; border: 2px solid transparent; background: #2b1d15; color: #fff; cursor: pointer; }
.project-carousel-thumb.active { border-color: #b8792f; box-shadow: 0 0 0 2px #fff,0 0 0 3px #b8792f; }
.project-carousel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-carousel-thumb span { display: grid; height: 100%; place-items: center; font-size: 11px; }
.sound-demo { text-align: center; }
.sound-demo>p:not(.eyebrow) { max-width: 690px; margin: -8px auto 24px; color: #655e57; }
.sound-demo-player { max-width: 620px; margin: 0 auto; padding: 0; border: 0; background: transparent; text-align: center; }
.sound-demo-video { position: relative; display: inline-grid; max-width: 100%; padding: 6px; place-items: center; overflow: hidden; border: 1px solid #b99255; border-radius: 7px; background: #24362f; box-shadow: 0 14px 34px rgba(35,24,16,.2); vertical-align: top; }
.sound-demo-player video { display: block; width: auto; max-width: 100%; height: auto; max-height: 400px; margin: 0 auto; border-radius: 3px; object-fit: contain; background: #111; }
.sound-demo-play { position: absolute; left: 50%; top: 50%; display: grid; width: 52px; height: 52px; place-items: center; padding: 0; transform: translate(-50%,-50%); border: 2px solid rgba(255,255,255,.88); border-radius: 50%; background: rgba(23,53,44,.86); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.34); cursor: pointer; transition: transform .18s ease,background .18s ease,opacity .18s ease; }
.sound-demo-play span { width: 0; height: 0; margin-left: 4px; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 15px solid #f0d8ad; }
.sound-demo-play:hover,.sound-demo-play:focus-visible { background: #244a3e; transform: translate(-50%,-50%) scale(1.07); outline: 3px solid #cda45e; outline-offset: 3px; }
.sound-demo-play[hidden] { display: none; }
.sound-demo-player p { margin: 11px 6px 2px; color: #5f5851; font-size: 14px; }
@media(max-width:600px){.sound-demo-video{padding:4px}.sound-demo-player video{max-height:350px}.sound-demo-play{width:46px;height:46px}.sound-demo-play span{border-top-width:8px;border-bottom-width:8px;border-left-width:13px}}
.challenge-sound { display: block; text-align: center; }
.challenge-sound h3 { margin: 0 auto 20px; text-align: center; }
.challenge-sound .sound-demo-player { width: 100%; margin-inline: auto; }
.related-projects { text-align: center; }
.related-projects>div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 30px 0; }
.related-projects>div a { overflow: hidden; background: #fff; box-shadow: 0 5px 16px #30211622; color: #34271f; text-decoration: none; }
.related-projects>div img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.related-projects>div span { display: block; padding: 16px; font: 700 18px/1.35 Georgia,serif; }
.project-end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px auto 0; }
.project-end-actions .button { min-width: 190px; text-align: center; transition: transform .18s ease,background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease; }
.project-end-actions .button:hover,.project-end-actions .button:focus-visible { transform: translateY(-3px); border-color: #b8792f; background: #17352c; color: #fff; box-shadow: 0 9px 20px rgba(23,53,44,.2); }
.project-end-actions .button:active { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(23,53,44,.16); }
@media(prefers-reduced-motion:reduce){.project-end-actions .button{transition:none}.project-end-actions .button:hover,.project-end-actions .button:focus-visible,.project-end-actions .button:active{transform:none}}
.project-final-cta { margin-bottom: 0!important; padding: 64px 0 74px; border-top: 1px solid #e0d6c8; background: transparent; text-align: center; }
.project-final-cta h2 { margin: 0 auto 27px; }
.project-final-cta p { max-width: 690px; margin: 0 auto 26px; color: #625d56; line-height: 1.75; }
@media(max-width:700px){
  .case-section { padding: 46px 0; }
  .project-overview dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-overview dl div:nth-child(odd) { border-left: 0; }
  .case-copy { grid-template-columns: 1fr; gap: 8px; }
  .result-grid article { grid-template-columns: 1fr; gap: 8px; }
  .related-projects>div { grid-template-columns: 1fr; }
  .project-end-actions { align-items: center; flex-direction: column; }
  .project-end-actions .button { width: min(100%,330px); }
  .project-carousel-stage { min-height: 330px; }
  .project-carousel-item img,.project-carousel-item video { height: 330px; }
  .project-carousel-item figcaption { padding-inline: 48px; }
  .project-carousel-prev,.project-carousel-next { top: 135px; width: 40px; height: 60px; }
  .project-carousel-prev { left: 4px; }.project-carousel-next { right: 4px; }
  .project-final-cta { width: calc(100% - 28px)!important; padding: 46px 0 54px; }
}
@media(max-width:480px){.project-overview dl{grid-template-columns:1fr}.project-overview dl div+div{border-left:0}.sound-demo-player video{max-height:320px}}
