.service-explorer .service-tabs { background: var(--surface-muted); }
.service-explorer .service-tabs button { transition: background-color .22s, color .22s, border-color .22s; }
.service-explorer .service-tabs button[aria-selected="true"] { background: var(--brand-red); color: var(--paper); border-bottom-color: var(--brand-orange); }
.service-explorer .service-tabs button[aria-selected="true"] .service-icon { color: var(--paper); background: #ffffff24; }
.service-explorer .service-tabs button[aria-selected="true"]:focus-visible { outline-color: var(--paper); }
.service-explorer .service-tabs button[aria-selected="true"] .service-icon--connect::before,
.service-explorer .service-tabs button[aria-selected="true"] .service-icon--connect::after,
.service-explorer .service-tabs button[aria-selected="true"] .service-icon--connect i::before { background: var(--brand-red-hover); }
.service-explorer .service-panel {
  min-height: clamp(355px, 34vw, 445px);
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: 0;
  padding: 0;
  background: var(--paper);
}
.service-story { padding: clamp(21px, 4.5vw, 50px); }
.service-story .service-requests { border: 0; border-top: 1px solid var(--line); margin-top: 22px; padding: 15px 0 0; }
.service-visual { min-width: 0; position: relative; align-self: stretch; margin: 0; overflow: hidden; background: var(--surface-muted); }
.service-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.015); transition: transform .6s cubic-bezier(.2,.6,.3,1); }
.service-visual:hover img { transform: scale(1.075); }
.service-panel#service-rental .service-visual { background: var(--surface-muted); }
.service-panel#service-rental img { object-fit: contain; }
.home-feature-links a { transition: background-color .2s, transform .2s, border-color .2s; }
.home-feature-links a:hover { transform: translateY(-3px); border-color: var(--brand-red); background: var(--brand-red-tint); }

.project-showcase { background: var(--surface-muted); color: var(--ink); border-block: 1px solid var(--line); }
.project-shell { padding-block: clamp(46px, 7vw, 94px); }
.project-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.project-heading h2 { margin: 9px 0 0; font-size: clamp(40px, 6vw, 74px); font-weight: 650; letter-spacing: -.065em; line-height: 1; }
.project-link { display: inline-flex; align-items: center; gap: 9px; width: fit-content; padding: 7px 0; color: var(--brand-red); border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.project-link:hover { color: var(--brand-red-hover); border-color: currentColor; }
.project-carousel { border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: var(--paper); }
.project-slides { display: grid; }
.project-slide {
  grid-area: 1 / 1;
  min-height: 287px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 4.2vw, 51px);
  background: var(--paper);
}
.project-slide[hidden] { display: grid !important; visibility: hidden; }
.project-copy .project-client { color: var(--brand-red); font-weight: 700; margin: 0 0 11px; }
.project-copy h3 { margin: 0; font-size: clamp(30px, 4.2vw, 56px); font-weight: 650; letter-spacing: -.06em; line-height: 1.02; }
.project-copy p { margin: 13px 0; line-height: 1.55; max-width: 52ch; color: var(--muted); }
.project-meta { display: grid; justify-items: end; align-content: center; gap: 5px; min-width: 0; padding-inline-start: 20px; border-left: 1px solid var(--line); text-align: right; }
.project-meta strong { font-size: clamp(60px, 11.2vw, 156px); letter-spacing: -.09em; line-height: .93; font-weight: 600; color: var(--brand-red); }
.project-meta span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.project-controls { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--line); }
.project-actions, .project-stepper, .partner-controls { display: flex; gap: 6px; align-items: center; }
.project-controls button, .partner-controls button { display: grid; place-items: center; min-width: 43px; min-height: 43px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); }
.project-controls button:hover { background: var(--brand-red-tint); }
.project-previous .arrow, .partner-previous .arrow { transform: rotate(180deg); }
.project-controls .project-toggle { padding-inline: 10px; font-size: 12px; font-weight: 650; }
.project-stepper button { min-width: 36px; border-color: transparent; }
.project-stepper button span { display: block; height: 4px; width: 17px; border-radius: 4px; background: #9AAABD; overflow: hidden; }
.project-stepper button[aria-pressed="true"] span { background: var(--brand-red); }
.project-stepper button span::after { content: ""; display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; }
.project-carousel.is-rotating .project-stepper button[aria-pressed="true"] span::after { background: var(--brand-orange); animation: project-timing 8s linear both; }
@keyframes project-timing { to { transform: scaleX(1); } }

.partner-rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: #A7B5C6 var(--surface-muted); padding: 3px 2px 12px; }
.partner-rail .partner-track { display: flex; gap: 10px; }
.partner-track li { flex: 0 0 clamp(118px, 16vw, 190px); scroll-snap-align: start; transition: border-color .2s, transform .2s; }
.partner-track li:hover { transform: translateY(-2px); border-color: var(--brand-red); }
.partner-controls { justify-content: flex-end; margin-top: 8px; }
.partner-controls button { color: var(--brand-red-hover); border-color: var(--line); background: white; }
.partner-controls button:hover:not(:disabled) { background: var(--brand-red-tint); }
.partner-controls button:disabled { opacity: .45; cursor: default; }

@media (max-width: 660px) {
  .service-explorer .service-panel { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .service-visual { grid-row: 1; height: clamp(150px, 48vw, 265px); }
  .service-story .service-requests { margin-top: 16px; }
  .project-slide { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .project-meta { grid-row: 1; justify-items: start; text-align: left; gap: 4px; padding: 0 0 12px; border-left: 0; border-bottom: 1px solid var(--line); }
  .project-meta strong { font-size: clamp(48px, 13vw, 72px); }
  .project-controls { padding-inline: 8px; gap: 5px; }
  .project-controls button { min-width: 36px; min-height: 40px; }
  .project-stepper button { min-width: 25px; }
  .project-stepper button span { width: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-visual img, .home-feature-links a, .partner-track li { transition: none; }
  .service-visual:hover img, .home-feature-links a:hover, .partner-track li:hover { transform: none; }
  .project-carousel.is-rotating .project-stepper button span::after { animation: none; }
}

.service-explorer .service-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .service-explorer .service-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-explorer .service-tabs button { flex-direction: row; min-height: 50px; font-size: .875rem; }
}

.hero.hero--building .hero-inner { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr; min-height: clamp(460px, 42vw, 600px); background: #fff; }
.hero--building .hero-media { position: absolute; inset: 0; margin: 0; z-index: -1; pointer-events: none; background: white; }
.hero--building .hero-media > img { position: absolute; right: 0; top: 0; width: 64%; height: 100%; object-fit: cover; object-position: 50% 49%; }
.hero--building .hero-media::after { inset: 0; width: auto; height: auto; background: linear-gradient(90deg, #fff 0%, #fff 28%, #fffffff5 36%, #ffffffbe 43%, #ffffff24 57%, #ffffff12 100%); }
.hero--building .hero-copy { max-width: 54%; padding: clamp(30px, 4vw, 60px); padding-right: 0; }
.hero--building .hero-intro { color: #394756; }
.hero--building .button--outline { background: white; }
.hero-sample--building { background: linear-gradient(90deg, #fff, #ffffffc9 38%, transparent 70%), url('assets/wisma-juricco-angled.webp') center / cover; }
@media (min-width: 761px) {
  .hero--building .hero-copy {
    max-width: 41%;
    padding-left: clamp(20px, 2vw, 32px);
  }
  .hero--building h1 { font-size: clamp(35px, 4vw, 59px); }
  .hero--building .hero-media > img { width: 57%; }
  .hero--building .hero-media::after {
    background: linear-gradient(90deg, #fff 43%, #ffffffb8 47%, #ffffff24 56%, #ffffff12 100%);
  }
  .hero--building .hero-actions { flex-wrap: wrap; }
}
@media(max-width:760px) {
 .hero.hero--building .hero-inner { align-items: end; }
 .hero--building .hero-media > img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
 .hero--building .hero-media::after { background: linear-gradient(0deg,#fff 0%,#fff 28%,#fffffff5 43%,#ffffffa0 57%,#ffffff15 82%); }
 .hero--building .hero-copy { max-width: 100%; padding: clamp(210px,53vw,340px) 6% 30px; }
 .hero--building h1 { font-size: clamp(35px,8.5vw,53px); }
 .hero--building .hero-actions { flex-wrap: wrap; }
 .hero-tabs { max-width: 100%; overflow-x: auto; }
 .hero-tabs button { flex: none; }
}
@media(max-width:380px) { .hero--building .hero-actions .button { min-height:44px; padding:0 10px; font-size:13px; gap:5px; } }
@media(max-width:760px) {
 .hero--building .hero-media > img { mask-image: linear-gradient(#000 0%,#000 66%,transparent 100%); }
}
