.cs_hero_title { text-transform: uppercase; letter-spacing: .18em; }
.portfolio-intro { max-width: 870px; margin-top: 24px; }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 14px 28px; padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid #d7d7d7; }
.portfolio-filters a { display: inline-block; padding: 8px 0; font-size: 20px; }
.portfolio-filters .active a { color: #111; box-shadow: 0 2px #111; font-weight: 600; }
.portfolio-card { height: 100%; padding-bottom: 22px; }
.portfolio-image-link { display: block; background: #f1f3f1; border: 1px solid #e6e8e6; }
.portfolio-card .portfolio-preview { display: block; height: auto; aspect-ratio: 1.35; object-fit: contain; padding: 16px; }
.portfolio-role { margin: 22px 0 8px; font-size: 14px; line-height: 1.5; text-transform: uppercase; letter-spacing: .04em; }
.portfolio-detail-link { text-decoration: underline; text-underline-offset: 5px; font-weight: 600; }
.cs_hero_card_thumb img { aspect-ratio: 1.78; object-fit: contain; background: #f1f3f1; }
.cs_project_thumb img[src*="/COMPRO/portfolio/"] { background: #f1f3f1; aspect-ratio: 1.2; object-fit: contain; padding: 16px; }
.cs_project_year { font-size: 15px; white-space: nowrap; padding-left: 12px; }
.cs_testimonial_image img { object-fit: cover; }
.portfolio-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 30px; padding-bottom: 30px;  }
 .portfolio-header img { width: 135px; max-height: 48px; object-fit: contain; }
.portfolio-header nav { display: flex; gap: 24px; }
.portfolio-page-intro { padding: 75px 0 45px; }
.portfolio-directory { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 60px; }
.portfolio-directory a { border: 1px solid #d4d7d4; padding: 10px 16px; border-radius: 24px; font-size: 15px; }
.portfolio-directory a:hover { background: #172c25; color: #fff; }
.portfolio-case { scroll-margin-top: 25px; padding: 60px 0;}
.portfolio-category { text-transform: uppercase; font-size: 14px; letter-spacing: .08em; }
.portfolio-case-image { display: block; background: #f1f3f1; padding: 24px; margin: 32px 0; }
.portfolio-case-image .portfolio-preview { width: 100%; height: auto; max-height: 760px; object-fit: contain; }
.portfolio-case-copy { margin-bottom: 22px; }
.portfolio-case-copy p, .portfolio-case-copy li { line-height: 1.8; }
.portfolio-case-copy h3 { margin-bottom: 14px; }
.portfolio-case-copy li { margin-bottom: 8px; }
.portfolio-footer { padding: 65px 0; background: #172c25; color: white; }
.portfolio-footer h2 { color: white; }
a:focus-visible { outline: 2px solid #31765c; outline-offset: 5px; }
@media (max-width: 767px) {
 .portfolio-header { align-items: flex-start; }
 .portfolio-header img { width: 135px; max-height: 48px; object-fit: contain; }
 .portfolio-header nav { flex-direction: column; gap: 8px; font-size: 14px; }
 .portfolio-page-intro { padding-top: 48px; }
 .portfolio-page-intro h1 { font-size: 46px; }
 .portfolio-case h2 { font-size: 32px; }
 .portfolio-case-image { padding: 8px; }
 .portfolio-filters { gap: 12px 20px; }
 .portfolio-filters a { font-size: 16px; }
}

.cs_banner_style_1 img {
  filter: grayscale(100%);
  transition: filter 5s ease;
}
.cs_banner_style_1:hover img {
  filter: grayscale(0%);
}
.cs_brand_section_style_1 .cs_brand {
  min-height: 140px;
  padding: 12px 0;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
}
.cs_brand_section_style_1 .cs_brand img {
  width: 150px;
  height: 65px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 250ms ease;
}
.cs_brand_section_style_1 .cs_brand:hover img,
.cs_brand_section_style_1 .cs_brand:focus-visible img {
  filter: grayscale(0%);
}
.cs_brand_section_style_1 .cs_brand span {
  display: block;
  max-width: 180px;
  font-size: 12px;
  line-height: 1.4;
  color: #555;
}
@media (prefers-reduced-motion: reduce) {
  .cs_banner_style_1 img,
  .cs_brand_section_style_1 .cs_brand img {
    transition: none;
  }
}
/* The official Surabaya wordmark is white; render it in black on this light strip. */
.cs_brand_section_style_1 .cs_brand img[src$="/surabaya.svg"] {
  filter: brightness(0);
}

.testimonial-draft-label { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }

.portfolio-case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 32px 0;
}
.portfolio-gallery-item { min-width: 0; margin: 0; }
.portfolio-gallery-item > a {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  background: #f1f3f1;
  border: 1px solid #e1e5e1;
}
.portfolio-gallery-item img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 600px;
  object-fit: contain;
}
.portfolio-gallery-item figcaption { padding: 10px 0; font-size: 14px; }
.portfolio-gallery-item figcaption a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  .portfolio-case-gallery { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .portfolio-gallery-item > a { padding: 10px; }
}

.project-list-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; padding-bottom: 80px; }
.project-list-link { display: block; height: 100%; }
.project-list-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 1.4; padding: 16px; margin-bottom: 22px; background: #f1f3f1; border: 1px solid #e1e5e1; overflow: hidden; }
.project-list-image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform 300ms ease; }
.project-list-link:hover img { transform: scale(1.03); }
.project-list-card h2 { display: flex; justify-content: space-between; gap: 12px; }
.project-breadcrumb { padding: 16px 0 16px; border-top: 1px solid #cdd1cd; border-bottom: 1px solid #cdd1cd;}
.project-sibling-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 0 0 60px; }
@media (max-width: 991px) { .project-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .project-list-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (prefers-reduced-motion: reduce) { .project-list-image img { transition: none; } }

.project-client-logo { display: block; width: 180px; height: 75px; object-fit: contain; object-position: left center; margin-bottom: 24px; }
.project-website { margin: 24px 0 0; }
.project-live-link { display: inline-flex; align-items: center; gap: 20px; padding: 12px 20px; border: 1px solid #172c25; border-radius: 4px; background: #172c25; color: #fff; font-size: 17px; }
.project-live-link:hover { background: #fff; color: #172c25; }
