@font-face {
  font-family: "Gloved";
  src: url("../assets/fonts/GlovedRegular.woff2") format("woff2"), url("../assets/fonts/GlovedRegular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.sc-testimonials {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 70vh;
  margin: 0 auto;
  position: relative;
}
.sc-testimonials__thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: 400px;
  align-items: center;
}
.sc-testimonials__thumb {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  border: none;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  opacity: 0.5;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}
.sc-testimonials__thumb.is-active {
  opacity: 1;
}
.sc-testimonials__thumb:hover {
  opacity: 1;
}
.sc-testimonials__thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.sc-testimonials__content {
  position: relative;
  flex: 1;
  min-height: 280px;
}
.sc-testimonials__quote-bg {
  position: absolute;
  top: -10px;
  right: -80px;
  display: flex;
  gap: 12px;
  pointer-events: none;
  z-index: 0;
}
.sc-testimonials__quote-bg img {
  width: 460px;
  height: auto;
  opacity: 1;
}
.sc-testimonials__slide {
  display: none;
  position: relative;
  z-index: 1;
  animation: scTestimonialFadeIn 0.8s ease-in-out;
}
.sc-testimonials__slide.is-active {
  display: block;
}
.sc-testimonials__title {
  font-size: 20px;
  font-weight: 800;
  color: #c4c4c4;
}
.sc-testimonials__quote {
  margin: 0 0 24px;
  padding: 0;
  border: none;
  font-style: normal;
}
.sc-testimonials__quote p {
  color: #000;
  font-family: "Inter", sans-serif;
  font-weight: bold;
  font-size: 24px;
  line-height: 1.2;
}
.sc-testimonials__quote p + p {
  margin-top: 0.75em;
}
.sc-testimonials__name {
  font-family: "Gloved", cursive;
  font-size: 64px;
  color: #000000;
  line-height: 1;
  padding-bottom: 0;
}
.sc-testimonials__location {
  font-size: 14px;
  color: #c4c4c4;
  margin: 0;
  font-weight: 600;
}

@keyframes scTestimonialFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .sc-testimonials {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }
  .sc-testimonials__thumbs {
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    max-height: none;
  }
  .sc-testimonials__thumb {
    width: 60px;
    height: 60px;
  }
  .sc-testimonials__quote-bg {
    display: none;
  }
  .sc-testimonials__quote p {
    font-weight: 400;
    font-size: 1.2rem;
  }
}
.sc-portfolio {
  font-family: "Inter", sans-serif;
  font-size: 16px;
}
.sc-portfolio__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.sc-portfolio__tab {
  padding: 8px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  background: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.sc-portfolio__tab:hover {
  border-color: #333;
  color: #333;
}
.sc-portfolio__tab.is-active {
  background: #333;
  color: #fff;
  border-color: #333;
}
.sc-portfolio__carousel {
  display: flex;
  gap: 20px;
  padding-bottom: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.sc-portfolio__card.is-hidden {
  display: none;
}
.sc-portfolio__card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.sc-portfolio__card:hover .sc-portfolio__link {
  text-decoration: underline;
}
.sc-portfolio__image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 8px;
}
.sc-portfolio__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.sc-portfolio__body {
  padding: 16px 0;
}
.sc-portfolio__project_type {
  color: #c4c4c4;
  font-size: 12px;
  font-weight: 600;
}
.sc-portfolio__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #000;
}
.sc-portfolio__excerpt {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sc-portfolio__link {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  text-underline-offset: 2px;
}
.sc-portfolio__card--cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333;
  min-height: 100%;
}
.sc-portfolio__cta-content {
  text-align: center;
  color: #fff;
}
.sc-portfolio__cta-text {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.sc-portfolio__cta-arrow {
  font-size: 24px;
}

@media (max-width: 768px) {
  .sc-portfolio__card {
    flex: 0 0 260px;
  }
}
