/* ============ HERO (BLACK) ============ */
.hero-black {
  background: #0e0e10;
  color: #fff;
  padding: 64px 0 80px;
}
.hero-black-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 100px;
  align-items: start;
}
.hero-black-inner::before,
.hero-black-inner::after{
  content:none !important;
  display:none !important;
}
.hero-black h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color:white;
}
.hero-black-text {
  padding-top: 6px;
}
.hero-black-text p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
}
/* ============ FEATURED CASE STUDY (white) ============ */
.featured {
  padding: 60px 0 50px;
  background: #fff;
}
.featured-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: top;
}
.featured-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #e0e0e0;
  aspect-ratio: 1.6/ 1;
}
/* Retail store with red display - CSS scene */
.scene-retail {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #c4d4dc 0%, #b0c4cd 60%, #8fa5b0 100%);
  position: relative;
  overflow: hidden;
}
.scene-retail::before {
  /* ceiling lights */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 18%;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 60px,
      rgba(255, 255, 255, 0.4) 60px,
      rgba(255, 255, 255, 0.4) 80px
    ),
    linear-gradient(180deg, #f0f2f0 0%, #c8d0cc 100%);
}
.scene-retail::after {
  /* floor */
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 12%;
  background: linear-gradient(180deg, #6a7882 0%, #4a5862 100%);
}
.retail-display {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 30%;
  bottom: 18%;
  background: linear-gradient(135deg, #e54a1f 0%, #c93a18 50%, #a82e14 100%);
  border-radius: 50% 50% 8px 8px / 35% 35% 8px 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.retail-display::before {
  /* WIN text band */
  content: "WIN EPIC FESTIVAL TICKETS";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.2;
  width: 90%;
}
.retail-shelf-l,
.retail-shelf-r {
  position: absolute;
  top: 35%;
  width: 18%;
  height: 55%;
  background: repeating-linear-gradient(
    180deg,
    #f5d14a 0,
    #f5d14a 18%,
    #e5a82e 18%,
    #e5a82e 36%,
    #d43a2e 36%,
    #d43a2e 54%,
    #4a8fd4 54%,
    #4a8fd4 72%,
    #f5d14a 72%,
    #f5d14a 90%
  );
  border-radius: 4px;
}
.retail-shelf-l {
  left: 3%;
}
.retail-shelf-r {
  right: 3%;
}
.retail-floor-disc {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 8%;
  background: radial-gradient(
    ellipse,
    #e54a1f 0%,
    #e54a1f 60%,
    transparent 100%
  );
  border-radius: 50%;
  opacity: 0.7;
}
.featured-right{
  padding-right: 30%;
}
.featured-right h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.client-line {
  font-size: 13px;
  color: #3a3a3e;
  font-weight: 500;
  margin-bottom: 14px;
}
.featured-right > p {
  font-size: 13px;
  color: #4a4a50;
  line-height: 1.7;
  margin-bottom: 18px;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.tag {
  border: 1px solid #dcdde0;
  background: #fff;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  color: #3a3a3e;
  font-weight: 500;
}
.tag:hover {
  background: var(--purple);
  color: white;
}
.btn-read {
  background: var(--purple);
  color: #fff;
  padding: 4px 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-read:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
  color:white;
}
.btn-read.dark {
  background: #0e0e10;
}
.btn-read.dark:hover {
  background: #2a2a2e;
}
.pager {
  display: flex;
  justify-content: flex-start;
  gap: 5px;
  margin-top: 14px;
}
.pager .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d5d6d9;
}
.pager .dot.active {
  background: #1a1a22;
  width: 6px;
  height: 6px;
}
.carousel-featured {
  --carousel-gap: 0;
  --carousel-slides-per-view: 1;
}
.carousel-featured .carousel-track {
  width: 100%;
}
.carousel-featured .carousel-slide {
  flex: 0 0 100%;
  max-width: 100%;
}
.carousel-viewport {
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: var(--carousel-gap);
  transition: transform 0.35s ease;
  will-change: transform;
}
.carousel-slide {
  flex: 0 0
    calc(
      (100% - (var(--carousel-gap) * (var(--carousel-slides-per-view) - 1))) /
        var(--carousel-slides-per-view)
    );
  min-width: 0;
}
.featured-img .carousel-slide img,
.featured-blue-img .carousel-slide img,
.featured-3-img .carousel-slide img {
  width: 100%;
  display: block;
}
.featured-carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.featured-carousel-nav {
  display: none;
}
.carousel-pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
}
.carousel-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d5d6d9;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.carousel-dot.is-active {
  background: #1a1a22;
  width: 6px;
  height: 6px;
}
/* ============ FEATURED 2 (light blue) ============ */
.featured-blue {
  background: var(--bg-soft);
  padding: 60px 0;
}
.featured-blue-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.featured-blue-left h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.featured-blue-left .client-line {
  margin-bottom: 14px;
}
.featured-blue-left > p {
  font-size: 13px;
  color: #4a4a50;
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 480px;
}
.featured-blue-img {
  border-radius: 8px;
  overflow: hidden;
  background: #c8c8d0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.6/1;
}
/* fan of blue envelopes */
.env-fan {
  position: relative;
  width: 75%;
  height: 55%;
}
.envelope {
  position: absolute;
  width: 140px;
  height: 90px;
  background: linear-gradient(135deg, #a8b8dc 0%, #8da0cc 100%);
  border-radius: 3px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  top: 30%;
  left: 50%;
  transform-origin: 50% 100%;
}
.envelope::before {
  /* window cutout */
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 56px;
  height: 38px;
  background: #fff;
  border-radius: 2px;
}
.envelope::after {
  /* address area */
  content: "";
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 18px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 1px;
}
.envelope:nth-child(1) {
  transform: translate(-50%, -50%) rotate(-35deg);
}
.envelope:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-22deg);
}
.envelope:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-10deg);
}
.envelope:nth-child(4) {
  transform: translate(-50%, -50%) rotate(2deg);
}
.envelope:nth-child(5) {
  transform: translate(-50%, -50%) rotate(14deg);
}
.envelope:nth-child(6) {
  transform: translate(-50%, -50%) rotate(26deg);
}
.envelope:nth-child(7) {
  transform: translate(-50%, -50%) rotate(38deg);
}
.featured-blue-img + .pager {
  margin-top: 14px;
  justify-content: center;
}
/* ============ FILTERED GRID ============ */
.filtered {
  padding: 70px 0 60px;
  background: #fff;
}
.filtered h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 22px;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}
.filter-row .tag {
  padding: 5px 12px;
  font-size: 11px;
}
/* Row 1: 3 equal cards */
.row-1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
/* Row 2: asymmetric */
.row-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.col-stacked {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.case-card {
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  background: #f0f5f9;
  border: 1px solid #f0f5f9;
}
.case-img-contain {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin: 5px 0;
  display: block;
  width: 100%;
}
.case-img-contain::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(150, 101, 170, 0) 0%, #9665aa 100%);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.case-img-contain::before {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 12px;
  width: 54px;
  height: 34px;
  background: url("../svg/arrow-right-white.svg") center center/contain
    no-repeat;
  opacity: 0;
  z-index: 2;
  transform: translateY(6px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
}
.case-card .case-img img {
  aspect-ratio: 16/11;
  display: block;
  width: 100%;
}
.case-img {
  padding: 20px 20px 0;
  position: relative;
  overflow: hidden;
  line-height: 0;
}
.case-card:hover .case-img-contain::after,
.case-card:hover .case-img-contain::before,
.small-image-card:hover .case-img-contain::after,
.small-image-card:hover .case-img-contain::before {
  opacity: 1;
}
.case-card:hover .case-img-contain::before,
.small-image-card:hover .case-img-contain::before {
  transform: translateY(0);
}
.case-content {
  padding: 24px 20px 28px;
}
.case-content h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.25;
  margin-bottom: 12px;
}
.case-content .client-line {
  font-size: 14px;
  color: #5a5a60;
  margin-bottom: 14px;
}
.case-content .tag-row {
  margin-bottom: 10px;
  gap: 5px;
}
.case-content .tag {
  padding: 3px 9px;
  font-size: 10px;
}
/* small image-only cards in row 2 col 1 */
.small-image-card {
  background: #f1f1f1;
  border: 1px solid #f1f1f1;
  border-radius: 8px;
  overflow: hidden;
}
.small-image-card:hover {
  background: #f0f5f9;
  border: 1px solid #f0f5f9;
}
.small-image-card .case-img img {
  aspect-ratio: 16/7;
  display: block;
  width: 100%;
}

.small-image-card .case-content {
  padding: 10px 20px 14px;
}
.small-image-card h5 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a22;
  margin-bottom: 3px;
}
/* text-only cards in row 2 col 3 */
.text-card {
  background: #f1f1f1;
  border: 1px solid #f1f1f1;
  border-radius: 6px;
  padding: 18px 20px;
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 120px;
  position: relative;
}
.text-card::after {
  content: "";
  position: absolute;
  display: block;
  right: 12px;
  bottom: 10px;
  width: 54px;
  height: 34px;
  background: url("../svg/arrow-right-purple.svg") center center/contain
    no-repeat;
  z-index: 2;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
}
.text-card:hover {
  background: #f0f5f9;
  border: 1px solid #f0f5f9;
}
.text-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}
.text-card p {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a22;
  line-height: 1.35;
}
/* Scene fills for case images */
.scene-fridge {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, #3a4a50 0%, #3a4a50 18%, transparent 18%),
    linear-gradient(
      180deg,
      #b0c4cd 0%,
      #b0c4cd 18%,
      #d43a1a 18%,
      #e5572a 50%,
      #f5c440 50%,
      #f5c440 80%,
      #4a8fd4 80%,
      #4a8fd4 95%,
      #2a2a2e 95%
    );
  position: relative;
}
.scene-fridge::before {
  content: "";
  position: absolute;
  inset: 18% 4% 5% 4%;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 14px,
      rgba(255, 255, 255, 0.18) 14px,
      rgba(255, 255, 255, 0.18) 15px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 32px,
      rgba(0, 0, 0, 0.15) 32px,
      rgba(0, 0, 0, 0.15) 34px
    );
}
.scene-van {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #a8b5a0 0%, #6b7a65 50%, #4a5a45 100%);
  position: relative;
  overflow: hidden;
}
.scene-van::before {
  /* van body */
  content: "";
  position: absolute;
  left: 6%;
  right: 14%;
  bottom: 18%;
  height: 50%;
  background: linear-gradient(180deg, #4a7a2a 0%, #3a6a1a 100%);
  border-radius: 4px 12px 4px 4px;
}
.scene-van::after {
  /* van banner text area */
  content: "TAKE A BITE";
  position: absolute;
  left: 14%;
  right: 22%;
  top: 32%;
  color: #f5d14a;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.02em;
  z-index: 2;
  background: #3a6a1a;
  padding: 4px 6px;
  border-radius: 2px;
}
.van-wheels {
  position: absolute;
  bottom: 14%;
  left: 8%;
  right: 18%;
  display: flex;
  justify-content: space-between;
  z-index: 3;
}
.van-wheels::before,
.van-wheels::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 3px solid #4a4a4e;
}
.van-road {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10%;
  background: #2a2a2e;
}
.scene-mural {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    #f5f2ec 0%,
    #e0dcd2 70%,
    #4a4a4e 70%,
    #4a4a4e 100%
  );
  position: relative;
  overflow: hidden;
}
.scene-mural::before {
  /* big number 1 mural */
  content: "1";
  position: absolute;
  top: 8%;
  right: 8%;
  font-family: Georgia, serif;
  font-size: 120px;
  font-weight: 900;
  color: #3a5a3a;
  line-height: 1;
}
.scene-mural::after {
  /* angular green shape */
  content: "";
  position: absolute;
  top: 18%;
  left: 14%;
  width: 42%;
  height: 50%;
  background: linear-gradient(135deg, #5a8a4a 0%, #4a7a3a 100%);
  clip-path: polygon(0 20%, 100% 0, 80% 100%, 30% 100%);
}
.scene-mural-stripe {
  position: absolute;
  bottom: 12%;
  left: 0;
  right: 0;
  height: 6%;
  background: #7a3a2a;
}

.scene-landscape {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    #a8c0d8 0%,
    #c8d5e0 30%,
    #5a7a4a 50%,
    #4a6a3a 70%,
    #3a5a2a 100%
  );
  position: relative;
  overflow: hidden;
}
.scene-landscape::before {
  /* clouds */
  content: "";
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  height: 22%;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(255, 255, 255, 0.7) 0%,
      transparent 30%
    ),
    radial-gradient(
      ellipse at 50% 60%,
      rgba(255, 255, 255, 0.6) 0%,
      transparent 35%
    ),
    radial-gradient(
      ellipse at 80% 40%,
      rgba(255, 255, 255, 0.8) 0%,
      transparent 25%
    );
}
.scene-landscape::after {
  /* hills */
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background:
    radial-gradient(ellipse at 30% 100%, #6a8a5a 0%, transparent 60%),
    radial-gradient(ellipse at 70% 100%, #5a7a4a 0%, transparent 60%),
    linear-gradient(180deg, transparent 0%, #3a5a2a 100%);
}
/* ============ FEATURED 3 (light blue/gray) ============ */
.featured-3 {
  padding: 70px 0;
  background: #eef3f5;
}
.featured-3-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.featured-3-img {
  aspect-ratio: 1.6/1;
  overflow: hidden;
  background: #f2ead7;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reform-scene {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #f2ead7 0%, #e8dec5 60%, #ddd2b5 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding-bottom: 18%;
}
.reform-pack {
  width: 60px;
  height: 140px;
  background: linear-gradient(180deg, #fff 0%, #f0ede3 100%);
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 10px 6px;
  color: #7a6a4a;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.reform-pack .brand {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #7a6a4a;
}
.reform-pack .desc {
  font-size: 6px;
  letter-spacing: 0.04em;
  color: #7a6a4a;
  line-height: 1.2;
}
.reform-pack .product {
  font-size: 5px;
  color: #3a3a3e;
  text-align: left;
  padding: 2px;
}
.reform-pack.dark {
  background: linear-gradient(180deg, #3a3a42 0%, #2a2a30 100%);
  color: #fff;
}
.reform-pack.dark .brand {
  color: #f5d14a;
}
.reform-pack.dark .desc {
  color: #fff;
}
.reform-pack.dark .product {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.reform-badge {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f5d14a;
  color: #3a3a3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  z-index: 5;
}
.reform-bg-wall {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 30px,
      rgba(0, 0, 0, 0.04) 30px,
      rgba(0, 0, 0, 0.04) 31px
    ),
    linear-gradient(180deg, #f2ead7 0%, #e8dec5 100%);
  z-index: 0;
}
.reform-counter {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 18%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.04) 0%,
    rgba(0, 0, 0, 0.12) 100%
  );
  z-index: 1;
}
/* ============ LOAD MORE ============ */
.load-more-wrap {
  padding: 50px 0 70px;
  background: #fff;
  text-align: center;
}
.load-more-arrow {
  font-size: 18px;
  color: #1a1a22;
  margin-bottom: 8px;
  display: block;
}
.load-more-text {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a22;
  cursor: pointer;
  letter-spacing: 0.02em;
}
@media (max-width: 1024px) {
  .hero-black-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .featured-inner,
  .featured-blue-inner,
  .featured-3-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .row-1,
  .row-2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .hero-black h1 {
    font-size: 36px;
  }
  .featured-right h2,
  .featured-blue-left h2,
  .filtered h2 {
    font-size: 22px;
  }
}
