.gm-projects-note{background:#fff8df;border-left:3px solid #f4c258;padding:16px 20px}.gm-project-filters{display:flex;align-items:end;flex-wrap:wrap;gap:16px;margin:28px 0 16px}.gm-project-filters label{flex:1;min-width:180px;font-weight:600}.gm-project-filters select{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid #c6e0e3;background:white;color:#303030}.gm-project-filters button{padding:12px 20px;margin-bottom:8px;border:1px solid #16838e;background:white;color:#16838e}.gm-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.gm-project-card{background:#f0f8f9;border:1px solid #d9e7e9;display:flex;flex-direction:column}.gm-project-card[hidden]{display:none}.gm-project-body{padding:24px}.gm-project-body :is(h2, h4){font-size:20px;line-height:1.25;margin:0 0 6px;font-weight:400}.gm-project-body :is(h2, h4) a{color:#16838e;font-family:Montserrat,Arial,sans-serif;font-weight:400}.gm-project-body p{font-size:14px}.gm-project-badge{display:inline-block;padding:5px 9px;background:#ffedba;color:#303030;font-size:12px}.gm-project-detail>img{max-width:100%;height:auto}@media(max-width:991px){.gm-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:575px){.gm-project-grid{grid-template-columns:1fr}.gm-project-filters{gap:8px}.gm-project-filters label{width:100%;flex-basis:100%}.gm-project-body{padding:20px}}

.gm-project-picture {
  display: grid;
  grid-template-columns: 20% minmax(0, 1fr) 20%;
  block-size: 190px;
  isolation: isolate;
  background: linear-gradient(145deg, #116b74, #0b4852);
  color: #fff;
}
.gm-project-cover-side {
  position: relative;
  min-width: 0;
}
.gm-project-cover-model {
  position: absolute;
  inset: 50% auto auto 29%;
  transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap;
  font: 700 17px/1 "Montserrat Bold", Arial, sans-serif;
}
.gm-project-cover-photo {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  background: #176b74;
  font: clamp(16px, 2vw, 23px)/1 "Montserrat Bold", Arial, sans-serif;
  letter-spacing: .1em;
}
.gm-project-cover-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
.gm-project-cover-lettering::after {
  content: "";
  position: absolute;
  inset: 0 17% 0 auto;
  width: 22%;
  background: url("project-ornament-medallions.png") center / 100% 100% no-repeat;
}
.gm-project-cover-region {
  display: grid;
  place-items: center;
}
.gm-project-cover-region img {
  display: block;
  width: min(77%, 64px);
  height: auto;
}

.gm-project-location {
  color: #0b565d;
  font-weight: 600;
  margin-bottom: 24px;
}
.gm-project-detail-layout {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}
.gm-project-detail-layout.has-photos {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}
.gm-project-gallery .gm-kb12-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: #eef6f7;
  border: 1px solid #d9e7e9;
  cursor: zoom-in;
}
.gm-project-gallery .gm-kb12-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.gm-project-gallery .gm-kb12-thumbs:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.gm-project-gallery .gm-kb12-thumbs a {
  display: block;
  border: 2px solid #d9e7e9;
}
.gm-project-gallery .gm-kb12-thumbs a[aria-current="true"] {
  border-color: #16838e;
}
.gm-project-gallery .gm-kb12-thumbs img {
  display: block;
  width: clamp(49px, 6vw, 78px);
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gm-project-gallery a:focus-visible {
  outline: 2px solid #0b565d;
  outline-offset: 2px;
}
.gm-project-about {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid #d9e7e9;
  border-top: 3px solid #16838e;
  background: #f0f8f9;
}
.gm-project-about h2,
.gm-project-video h2 {
  margin: 0 0 12px;
  color: #0b565d;
  font-size: clamp(21px, 2.5vw, 28px);
}
.gm-project-about :last-child {
  margin-bottom: 0;
}
.gm-project-video {
  max-width: 840px;
  margin-top: 32px;
}
.gm-project-video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}
.gm-project-back {
  margin: 24px 0 0;
}
.gm-project-back a {
  color: #0b565d;
}
@media (max-width: 767px) {
  .gm-project-detail-layout.has-photos {
    grid-template-columns: minmax(0, 1fr);
  }
}

.gm-project-body .gm-project-card-location {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  align-items: start;
  column-gap: 6px;
  margin: 0 0 8px;
  font-weight: 700;
}
.gm-project-card-location::before {
  content: "";
  box-sizing: border-box;
  width: 12px;
  height: 12px;
  margin: 3px 0 0 1px;
  border: 1.5px solid #0b565d;
  border-radius: 50% 50% 50% 0;
  background: radial-gradient(circle, #0b565d 1.5px, transparent 2px);
  transform: rotate(-45deg);
}
.gm-project-body .gm-project-card-subtitle {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.4;
}

.gm-home-projects {
  margin-top: clamp(32px, 5vw, 56px);
}
.gm-home-projects > h3 {
  margin: 0 0 24px;
  color: #17565d;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
}
.gm-home-projects-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  color: #0b565d;
  font-weight: 600;
}

.gm-home-projects .gm-home-project-track {
  --gm-project-visible: 3;
  gap: 14px;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--gm-project-visible) - 1) * 14px) / var(--gm-project-visible));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #8cbcc0 transparent;
}
.gm-home-project-track .gm-project-card {
  min-width: 0;
  scroll-snap-align: start;
}
.gm-home-project-actions,
.gm-home-project-controls:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gm-home-project-actions {
  flex-wrap: wrap;
  margin-top: 12px;
  column-gap: 16px;
}
.gm-home-project-actions .gm-home-projects-link {
  margin-top: 0;
}
.gm-home-project-controls button {
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid #16838e;
  color: #0b565d;
  font-size: 20px;
}
.gm-home-project-controls button:disabled {
  opacity: .45;
}
.gm-home-project-controls button:enabled:hover {
  background: #f0f8f9;
}
.gm-home-project-track:focus-visible,
.gm-home-project-controls button:focus-visible {
  outline: 2px solid #0b565d;
  outline-offset: 2px;
}
@media (max-width: 991px) {
  .gm-home-projects .gm-home-project-track { --gm-project-visible: 2; }
}
@media (max-width: 575px) {
  .gm-home-projects .gm-home-project-track { --gm-project-visible: 1; }
}

.gm-project-heading-year {
  font: 700 22px/1.25 "Montserrat Bold", Montserrat, Arial, sans-serif;
  white-space: nowrap;
}
