/* ============================================================
   WE ARSITEK — Production Stylesheet
   Brand: Dark-first, editorial, premium architecture
   Fonts: Cormorant Garamond (display) + Inter (body)
   ============================================================ */

/* 1. DESIGN TOKENS
   ---------------------------------------------------------- */
:root {
  --navy-deep:   #002540;
  --navy:        #003B5F;
  --navy-light:  #1A5580;
  --off-white:   #F0F4F7;
  --off-black:   #0A1628;
  --stone:       #C4B5A0;
  --stone-faint: rgba(196, 181, 160, 0.12);

  /* Referenced by the tier cards and body copy but previously undeclared,
     so those surfaces rendered transparent and that text had no colour.
     --mid gives 6.17:1 on --sand-light and 6.95:1 on white (WCAG AA). */
  --sand-light:  #F5F1E9;
  --mid:         #4F5B66;
  --white-60:    rgba(240, 244, 247, 0.6);
  --white-30:    rgba(240, 244, 247, 0.3);
  --white-10:    rgba(240, 244, 247, 0.08);
  --dark-60:     rgba(10, 22, 40, 0.6);
  --dark-15:     rgba(10, 22, 40, 0.15);

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width:   1280px;
  --nav-height:  72px;
  --gutter:      24px;
  --pad:         clamp(24px, 5vw, 80px);

  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 2. RESET & BASE
   ---------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--off-white);
  line-height: 1.5;
  overflow-x: hidden;
  counter-reset: section-counter;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* 3. LAYOUT
   ---------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section         { padding: clamp(60px, 10vw, 120px) 0; }
.section--light  { background: var(--off-white); color: var(--off-black); }
.section--navy   { background: var(--navy); }
.section--deep   { background: var(--navy-deep); }

/* 4. NAVIGATION
   ---------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(0, 37, 64, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--white-10);
}

.nav__inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-60);
  position: relative;
  transition: color 0.25s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--stone);
  transition: width 0.3s ease;
}

.nav__link:hover,
.nav__link.active { color: var(--off-white); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.nav__cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--off-white);
  border: 1px solid var(--white-30);
  padding: 10px 22px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nav__cta:hover {
  border-color: var(--stone);
  background: var(--stone-faint);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  cursor: pointer;
  padding: 4px 0;
}

.nav__toggle span {
  display: block;
  height: 1px;
  background: var(--off-white);
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

.nav__toggle span:nth-child(2) { width: 70%; }

.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile overlay nav */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 99;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 var(--pad);
  gap: 8px;
}

.nav__mobile.open { display: flex; }

.nav__mobile-link {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 400;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.2;
  transition: color 0.2s ease, transform 0.2s ease;
  display: block;
}

.nav__mobile-link:hover {
  color: var(--stone);
  transform: translateX(8px);
}

.nav__mobile-sub {
  margin-top: 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

.nav__mobile-close {
  position: absolute;
  top: var(--nav-height);
  right: var(--pad);
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--off-white);
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav__mobile-close:hover { color: var(--stone); }

/* 5. HERO — Homepage
   ---------------------------------------------------------- */
.hero {
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-height);
  padding-bottom: clamp(60px, 10vw, 120px);
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 37, 64, 0.25);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}


.hero__subtitle {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--white-60);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--off-white);
  border-bottom: 1px solid var(--stone);
  padding-bottom: 8px;
  transition: gap 0.35s ease, color 0.25s ease;
}

.hero__cta:hover { gap: 20px; color: var(--stone); }

.hero__scroll {
  position: absolute;
  bottom: 48px;
  right: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.hero__scroll-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-30);
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: var(--white-10);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--stone);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { top: -100%; }
  100% { top: 100%; }
}

/* 6. PAGE HERO — Inner pages
   ---------------------------------------------------------- */
.page-hero {
  padding-top: calc(var(--nav-height) + clamp(60px, 10vw, 120px));
  padding-bottom: clamp(48px, 8vw, 96px);
  background: var(--navy-deep);
}

.page-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 24px;
}

.page-hero__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--off-white);
}

.page-hero__desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--white-60);
  max-width: 400px;
  align-self: end;
}

/* 7. STATS BAR
   ---------------------------------------------------------- */
.stats {
  background: var(--navy);
  padding: clamp(48px, 8vw, 80px) 0;
  border-top: 1px solid var(--white-10);
  border-bottom: 1px solid var(--white-10);
}

.stats__grid {
  display: grid;
  /* Ikut jumlah kartu, bukan dipatok tiga. Waktu "8 tenaga ahli" dihapus,
     repeat(3, 1fr) menyisakan satu kolom kosong di kanan. */
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  text-align: center;
}

.stat {
  padding: 0 24px;
}

.stat + .stat {
  border-left: 1px solid var(--white-10);
}

.stat__number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 300;
  font-style: italic;
  color: var(--off-white);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 10px;
}

/* 8. PROJECT GRID
   ---------------------------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

.project-card {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--navy);
}

.project-card--large  { grid-column: span 7; height: 500px; }
.project-card--medium { grid-column: span 5; height: 500px; }
.project-card--half   { grid-column: span 6; height: 500px; }
.project-card--third  { grid-column: span 4; height: 500px; }
.project-card--full   { grid-column: span 12; height: 500px; }

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.8s var(--ease-smooth), opacity 0.5s ease;
}



/* Lite overlay — photo is the hero, max 25% opacity */
.project-card--lite .project-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 37, 64, 0.25) 0%,
    transparent 55%
  ) !important;
}
.project-card--lite .project-card__img { opacity: 1; }
.project-card--lite:hover .project-card__img { opacity: 0.82; }

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 37, 64, 0.25) 0%,
    transparent 60%
  );
  z-index: 1;
}

.project-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(20px, 3vw, 36px);
  z-index: 2;
  transform: translateY(6px);
  transition: transform 0.4s ease;
}

.project-card:hover .project-card__info { transform: translateY(0); }

.project-card__type {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}

.project-card__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--off-white);
  line-height: 1.15;
}

.project-card__location {
  font-size: 13px;
  color: var(--white-60);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

.project-card__arrow {
  position: absolute;
  top: clamp(16px, 2vw, 24px);
  right: clamp(16px, 2vw, 24px);
  width: 36px;
  height: 36px;
  border: 1px solid var(--white-30);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 2;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover .project-card__arrow {
  opacity: 1;
  transform: translateY(0);
  border-color: var(--stone);
}

/* 8a. FAQ ACCORDION — animated, Lora serif, JS-driven
   — lives inside .project-body (off-white background, dark text)
   ---------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(10, 22, 40, 0.12);
}

.faq-item {
  border-bottom: 1px solid rgba(10, 22, 40, 0.12);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: 15px;
  font-weight: 400;
  font-style: normal;
  color: var(--off-black);
  cursor: pointer;
  gap: 20px;
  user-select: none;
  background: none;
  border: none;
  text-align: left;
  line-height: 1.5;
  transition: color 0.25s ease;
}

.faq-question:hover { color: var(--navy); }

.faq-item.is-open .faq-question { color: var(--navy); }

.faq-question:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  border-radius: 2px;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--stone);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.25s ease;
}

.faq-icon::before {
  width: 12px; height: 1.5px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1.5px; height: 12px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after { background: var(--navy); }

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }

.faq-panel__inner { overflow: hidden; min-height: 0; }

@media (prefers-reduced-motion: reduce) {
  .faq-panel,
  .faq-icon::before,
  .faq-icon::after,
  .faq-question,
  .section-narrative__media img,
  .section-split__media img,
  .photo-showcase__panel img { transition: none; }
  .section-split:hover .section-split__media img { transform: none; }
}

.faq-answer {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--dark-60);
  padding: 4px 0 28px 0;
  max-width: 680px;
}

/* WA ASK FORM
   — also inside .project-body (light background)
   ---------------------------------------------------------- */
.wa-ask-section { }

.wa-ask-form {
  display: flex;
  gap: 0;
  border: 1px solid rgba(10, 22, 40, 0.2);
  border-radius: 2px;
  overflow: hidden;
  max-width: 600px;
  transition: border-color 0.2s ease;
}

.wa-ask-form:focus-within {
  border-color: var(--navy);
}

.wa-ask-input {
  flex: 1;
  background: #fff;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--off-black);
  min-width: 0;
}

.wa-ask-input::placeholder {
  color: rgba(10, 22, 40, 0.35);
}

.wa-ask-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--navy);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.wa-ask-btn:hover {
  background: var(--navy-light);
}

@media (max-width: 600px) {
  .wa-ask-form { flex-direction: column; }
  .wa-ask-btn { justify-content: center; }
}

/* 8b. HERO SLIDESHOW
   ---------------------------------------------------------- */
.hero-slideshow {
  grid-column: span 12;
  height: 640px;
  position: relative;
  overflow: hidden;
  cursor: default;
  background: var(--navy-deep);
}

.slideshow__track {
  position: absolute;
  inset: 0;
}

.slideshow__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}

.slideshow__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slideshow__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 9s ease;
}

.slideshow__slide.is-active img {
  transform: scale(1);
}

.slideshow__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 37, 64, 0.55) 0%,
    rgba(0, 37, 64, 0.1) 45%,
    transparent 70%
  );
  z-index: 1;
}

.slideshow__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(24px, 4vw, 44px);
  z-index: 2;
}

.slideshow__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 10px;
  display: block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.slideshow__slide.is-active .slideshow__label {
  opacity: 1;
  transform: translateY(0);
}

.slideshow__name {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: var(--off-white);
  line-height: 1.1;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}

.slideshow__slide.is-active .slideshow__name {
  opacity: 1;
  transform: translateY(0);
}

.slideshow__dots {
  position: absolute;
  bottom: clamp(24px, 4vw, 44px);
  right: clamp(24px, 4vw, 44px);
  display: flex;
  gap: 10px;
  z-index: 3;
  align-items: center;
}

.slideshow__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(240, 244, 247, 0.28);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.35s ease, transform 0.35s ease;
}

.slideshow__dot.is-active {
  background: var(--off-white);
  transform: scale(1.5);
}

.slideshow__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.08);
  z-index: 4;
  overflow: hidden;
}

.slideshow__progress-bar {
  height: 100%;
  background: var(--stone);
  width: 0%;
}

@media (max-width: 1023px) {
  .hero-slideshow { grid-column: span 2; height: 480px; }
}

/* 9. SECTION HEADERS
   ---------------------------------------------------------- */
.section-header {
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.section-title--light { color: var(--off-white); }
.section-title--dark  { color: var(--off-black); }

/* 10. POSITIONING STATEMENT
   ---------------------------------------------------------- */
.statement {
  background: var(--navy-deep);
  padding: clamp(60px, 10vw, 120px) 0;
  border-top: 1px solid var(--white-10);
}

.statement__inner { max-width: 860px; }

.statement__quote {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
  color: var(--off-white);
  letter-spacing: -0.01em;
}

.statement__attribution {
  display: block;
  margin-top: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

/* 11. SERVICES
   ---------------------------------------------------------- */
.services__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(40px, 6vw, 72px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--dark-15);
}

.services__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--dark-15);
}

.service-item {
  background: var(--off-white);
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  align-items: flex-start;
  gap: 24px;
  transition: background 0.3s ease;
}

.service-item:hover { background: #E8EDF2; }

.service-item__number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  font-style: italic;
  color: rgba(10, 22, 40, 0.18);
  line-height: 1;
  letter-spacing: -0.02em;
  min-width: 52px;
  flex-shrink: 0;
}

.service-item__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--off-black);
  margin-bottom: 8px;
}

.service-item__desc {
  font-size: 14px;
  color: var(--dark-60);
  line-height: 1.65;
}

/* 12. CTA SECTION
   ---------------------------------------------------------- */
.cta-section {
  background: var(--navy);
  padding: clamp(60px, 10vw, 120px) 0;
  text-align: center;
  border-top: 1px solid var(--white-10);
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 300;
  font-style: italic;
  color: var(--off-white);
  letter-spacing: -0.02em;
  margin-bottom: clamp(16px, 3vw, 32px);
}

.cta-section__subtitle {
  font-size: 16px;
  color: var(--white-60);
  max-width: 440px;
  margin: 0 auto clamp(32px, 5vw, 48px);
  line-height: 1.75;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--off-white);
  color: var(--navy-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 18px 36px;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-wa:hover {
  background: var(--stone);
  color: var(--navy-deep);
}

.btn-wa svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* 13. FLOATING WHATSAPP
   ---------------------------------------------------------- */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 16px rgba(37, 211, 102, 0.35);
}

.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* 14. FOOTER
   ---------------------------------------------------------- */
.footer {
  background: var(--off-black);
  padding: clamp(60px, 8vw, 100px) 0 clamp(24px, 4vw, 40px);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  margin-bottom: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--white-10);
}

.footer__logo-img {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 20px;
}

.footer__tagline {
  font-size: 13px;
  color: var(--white-60);
  margin-top: 20px;
  line-height: 1.65;
  max-width: 260px;
}

.footer__col-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}

.footer__links { display: flex; flex-direction: column; gap: 12px; }

.footer__link {
  font-size: 14px;
  color: var(--white-60);
  transition: color 0.25s ease;
}

.footer__link:hover { color: var(--off-white); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 12px;
  color: var(--white-30);
  letter-spacing: 0.02em;
}

.footer__ig {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 0.25s ease;
}

.footer__ig:hover { color: var(--off-white); }

/* 15. TEAM GRID
   ---------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.team-card {
  padding: 28px 24px;
  border-top: 1px solid var(--white-10);
  border-right: 1px solid var(--white-10);
  transition: background 0.3s ease;
}

.team-card:nth-child(4n) { border-right: none; }

.team-card:hover { background: var(--navy); }

.team-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--off-white);
  margin-bottom: 6px;
  line-height: 1.2;
}

.team-card__role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Light variant for light-bg sections */
.team-card--light {
  border-top-color: var(--dark-15);
  border-right-color: var(--dark-15);
}

.team-card--light .team-card__name { color: var(--off-black); }

/* 16. PROCESS STEPS
   ---------------------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--white-10);
}

.process-step {
  background: var(--navy-deep);
  padding: clamp(32px, 5vw, 56px) clamp(24px, 3vw, 36px);
  position: relative;
}

.process-step__number {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 300;
  font-style: italic;
  color: rgba(240, 244, 247, 0.06);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.process-step__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--off-white);
  margin-bottom: 12px;
}

.process-step__desc {
  font-size: 14px;
  color: var(--white-60);
  line-height: 1.75;
}

/* 17. PROJECT DETAIL
   ---------------------------------------------------------- */
.project-hero {
  height: 85vh;
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  margin-top: var(--nav-height);
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

/* Hero yang fotonya persegi atau potret. Bingkai header rasionya ~2.09;
   memaksa foto persegi ke situ membuang separuh tingginya. Di sini bingkainya
   yang mengalah: lebar tetap penuh dan tingginya mengikuti rasio foto,
   ditanam sebagai aspect-ratio inline oleh generate_pages.py. height:auto
   wajib -- kalau tidak, height:85vh dari aturan induk menang. */
.project-hero--fit {
  height: auto;
}

.project-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 37, 64, 0.25) 0%, transparent 55%);
}

/* Dulu ditulis inline oleh generate_pages.py. Gaya inline tidak bisa
   ditimpa media query, jadi ukurannya tidak pernah bisa dikecilkan di ponsel.
   Nilai di sini sama persis dengan yang inline dulu -- desktop tidak berubah. */
.project-hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.project-hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300;
  font-style: italic;
  color: var(--off-white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 12px;
}

.project-hero__sub {
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--stone);
  margin-top: 10px;
  opacity: 0.85;
}

.project-hero__caption {
  position: absolute;
  bottom: clamp(32px, 5vw, 60px);
  left: var(--pad);
  right: var(--pad);
  max-width: var(--max-width);
  margin: 0 auto;
}

.project-meta-bar {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--off-white);
  color: var(--off-black);
  border-bottom: 2px solid rgba(196, 181, 160, 0.25);
}

.project-meta-item {
  flex: 1;
  padding: clamp(20px, 3vw, 32px);
  border-right: 1px solid var(--dark-15);
}

.project-meta-item:last-child { border-right: none; }

.project-meta-item__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}

.project-meta-item__value {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--off-black);
}

.project-body {
  background: var(--off-white);
  padding: clamp(60px, 8vw, 100px) 0;
  color: var(--off-black);
}

.project-content-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.project-content-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
}

.project-content-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--dark-60);
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
  margin-top: clamp(40px, 6vw, 72px);
}

.project-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.project-gallery img:first-child:nth-last-child(1) {
  grid-column: span 2;
  aspect-ratio: 16/7;
}

/* 17b. SECTION IMMERSIVE — full-bleed photo with editorial overlay text
   ─ Replaces section-narrative split. Each section is a cinematic frame.
   ---------------------------------------------------------- */
/* 17b. SECTION SPLIT — clean text + photo side by side
   ─ Text (45%) | Photo (55%), alternating direction.
   ─ Both columns stretch to same height via align-items:stretch.
   ─ Photo uses object-fit:cover so any aspect ratio works cleanly.
   ─ No max-height: sections grow with content so text is never clipped.
   ---------------------------------------------------------- */
.section-split {
  display: grid;
  grid-template-columns: 45fr 55fr;
  /* Dulu dipaksa minimal 400px. Isi teks cuma 169-237px, jadi kalau
     gambarnya lebih pendek dari 400px sisanya jadi celah navy di
     samping foto. Sekarang tinggi baris mengikuti isinya. */
  grid-auto-rows: auto;
  align-items: stretch;
  border-bottom: 1px solid rgba(196, 181, 160, 0.1);
  counter-increment: section-counter;
}

.section-split--alt .section-split__text  { order: 2; }
.section-split--alt .section-split__media { order: 1; }

.section-split__text {
  padding: clamp(52px, 7vw, 88px) clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--off-white);
  color: var(--off-black);
  position: relative;
  overflow: hidden;
}

/* Ghost chapter number — fills vertical space with editorial depth */
.section-split__text::before {
  content: "0" counter(section-counter);
  font-family: var(--font-display);
  font-size: clamp(96px, 13vw, 180px);
  font-weight: 300;
  color: var(--stone);
  opacity: 0.10;
  position: absolute;
  bottom: clamp(12px, 2vw, 24px);
  right: clamp(16px, 2.5vw, 32px);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

.section-split__label,
.section-split__body {
  position: relative;
}

.section-split__label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-split__label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--stone);
  opacity: 0.55;
  flex-shrink: 0;
}

.section-split__body {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 2;
  color: rgba(10, 22, 40, 0.72);
  max-width: 540px;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.section-split__media {
  overflow: hidden;
  position: relative;
  /* Ensure the column participates in stretch without contributing intrinsic size */
  min-height: 0;
}

.section-split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}



/* Sections without a paired photo — text only, inside project-body */
.section-text-only {
  max-width: 680px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* 17c. PROJECT CONCEPT — full-width cinematic quote section
   ---------------------------------------------------------- */
.project-concept {
  background: var(--off-black);
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid rgba(196, 181, 160, 0.14);
  border-bottom: 1px solid rgba(196, 181, 160, 0.14);
  position: relative;
  overflow: hidden;
}

.project-concept::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 900px 480px at 65% 55%, rgba(196, 181, 160, 0.045) 0%, transparent 70%);
  pointer-events: none;
}

.project-concept .project-content-label {
  color: var(--stone);
}

.project-concept__quote {
  max-width: 720px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 300;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.45;
  letter-spacing: -0.015em;
}

/* 17c. PHOTO SHOWCASE — tabbed by category (Render / Progress / Finish)
   ---------------------------------------------------------- */
.photo-showcase {
  margin-top: clamp(64px, 9vw, 104px);
  padding-top: clamp(48px, 7vw, 80px);
  border-top: 1px solid rgba(10, 22, 40, 0.12);
}

.photo-showcase__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 24px;
  flex-wrap: wrap;
}

.photo-showcase__title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
}

.photo-showcase__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(10, 22, 40, 0.12);
  margin-bottom: 32px;
}

.photo-showcase__tab {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background: none;
  color: rgba(10, 22, 40, 0.35);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.photo-showcase__tab:hover { color: var(--off-black); }

.photo-showcase__tab.active {
  color: var(--off-black);
  border-bottom-color: var(--navy);
}

.photo-showcase__panel {
  display: none;
}

.photo-showcase__panel.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.photo-showcase__panel img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.35s var(--ease-smooth);
}



.photo-showcase__panel img:first-child:nth-last-child(1) {
  grid-column: span 3;
  aspect-ratio: 16/7;
}

/* Portrait panels: finish, progress, existing photos are taller than wide */
[data-panel="finish"] img,
[data-panel="progress"] img,
[data-panel="existing"] img {
  aspect-ratio: 3/4;
}
[data-panel="finish"] img:first-child:nth-last-child(1),
[data-panel="progress"] img:first-child:nth-last-child(1),
[data-panel="existing"] img:first-child:nth-last-child(1) {
  aspect-ratio: 3/4;
}

/* Lightbox overlay */
.photo-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.95);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.photo-lightbox.is-open { display: flex; }

.photo-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.photo-lightbox__close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 28px;
  color: var(--off-white);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}

.photo-lightbox__close:hover { opacity: 1; }

/* 18. CONTACT PAGE
   ---------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--white-10);
}

.contact-info-item:first-child { border-top: 1px solid var(--white-10); }

.contact-info-item__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}

.contact-info-item__value {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  color: var(--off-white);
  transition: color 0.25s ease;
}

.contact-info-item__value a:hover { color: var(--stone); }

.contact-wa-panel {
  background: var(--navy);
  padding: clamp(36px, 5vw, 56px);
}

.contact-wa-panel__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.25;
  margin-bottom: 16px;
}

.contact-wa-panel__desc {
  font-size: 14px;
  color: var(--white-60);
  line-height: 1.75;
  margin-bottom: 32px;
}

/* 19. PROYEK PAGE — Filters
   ---------------------------------------------------------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.filter-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--white-60);
  padding: 8px 20px;
  border: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.filter-btn:hover { color: var(--off-white); }

.filter-btn.active {
  color: var(--off-white);
  border-color: var(--white-30);
}

.project-card[data-hidden] { display: none; }

/* 20. ABOUT / STUDIO
   ---------------------------------------------------------- */
.studio-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(60px, 8vw, 100px);
}

.studio-split--reverse { direction: rtl; }
.studio-split--reverse > * { direction: ltr; }

.studio-text__body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--white-60);
  margin-top: 20px;
}

.studio-text__body + .studio-text__body { margin-top: 16px; }

.studio-image {
  overflow: hidden;
  aspect-ratio: 3/4;
}

.studio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* 21. SCROLL ANIMATIONS
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* Page load stagger */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-in   { animation: fadeUp 0.9s ease forwards; }
.anim-d1   { opacity: 0; animation-delay: 0.15s; }
.anim-d2   { opacity: 0; animation-delay: 0.32s; }
.anim-d3   { opacity: 0; animation-delay: 0.50s; }

/* 22. UTILITIES
   ---------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-stone  { color: var(--stone); }
.text-white  { color: var(--off-white); }
.text-muted  { color: var(--white-60); }
.text-center { text-align: center; }

.mt-sm  { margin-top: 16px; }
.mt-md  { margin-top: 24px; }
.mt-lg  { margin-top: 48px; }
.mt-xl  { margin-top: clamp(40px, 6vw, 72px); }
.mt-2xl { margin-top: clamp(60px, 8vw, 96px); }

/* Divider line */
.divider {
  width: 100%;
  height: 1px;
  background: var(--white-10);
  margin: clamp(40px, 5vw, 64px) 0;
}

.divider--dark { background: var(--dark-15); }

/* 23. RESPONSIVE — Tablet
   ---------------------------------------------------------- */
@media (max-width: 1023px) {
  .nav__links  { display: none; }
  .nav__toggle { display: flex; }

  .page-hero .container { grid-template-columns: 1fr; }
  .page-hero__desc { margin-top: 16px; max-width: none; }

  .projects-grid { grid-template-columns: repeat(2, 1fr); }

  .project-card--large,
  .project-card--medium { grid-column: span 1; height: 400px; }
  .project-card--half,
  .project-card--third  { grid-column: span 1; height: 400px; }
  .project-card--full   { grid-column: span 2; height: 400px; }

  .services__header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .services__list { grid-template-columns: 1fr; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card:nth-child(4n) { border-right: 1px solid var(--white-10); }
  .team-card:nth-child(2n) { border-right: none; }

  .process-steps { grid-template-columns: repeat(2, 1fr); }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }

  .studio-split { grid-template-columns: 1fr; }
  .studio-image { aspect-ratio: 16/9; }
  .studio-split--reverse { direction: ltr; }

  .contact-grid { grid-template-columns: 1fr; }
  .project-content-grid { grid-template-columns: 1fr; }
  .section-split { grid-template-columns: 1fr; grid-auto-rows: auto; min-height: auto; }
  .section-split__media { min-height: 300px; }
  .section-split--alt .section-split__text  { order: 1; }
  .section-split--alt .section-split__media { order: 2; }
  .section-split__body { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
  .photo-showcase__panel.active { grid-template-columns: repeat(2, 1fr); }

  .project-meta-bar { flex-wrap: wrap; }
  .project-meta-item { flex: 1 1 calc(50% - 1px); }
}

/* 24. RESPONSIVE — Mobile
   ---------------------------------------------------------- */
@media (max-width: 767px) {
  :root { --gutter: 16px; }



  .projects-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-card--large,
  .project-card--medium,
  .project-card--half,
  .project-card--third,
  .project-card--full { grid-column: span 1; height: auto; aspect-ratio: 4/3; }
  /* Foto tampil utuh: tingginya mengikuti rasio fotonya sendiri, bukan 60vh
     yang di layar 375px justru lebih tinggi daripada lebarnya dan membuang
     sebagian besar lebar foto. Teks tetap menumpang di atas foto, hanya
     diperkecil supaya tidak menelan gambarnya. */
  .project-hero {
    height: auto;
    aspect-ratio: var(--hero-ar, 21 / 9);
  }

  .project-hero__caption {
    bottom: 18px;
  }

  .project-hero__eyebrow {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .project-hero__title {
    font-size: 26px;
    margin-top: 6px;
  }

  .project-hero__sub {
    font-size: 11px;
    letter-spacing: 0.04em;
    margin-top: 5px;
  }
  .hero-slideshow { aspect-ratio: unset; height: 80vw; min-height: 300px; max-height: 520px; }

  .stat { padding: 0 12px; }
  .stat__number { font-size: 44px; }

  .service-item { flex-direction: column; gap: 8px; }
  .service-item__number { font-size: 32px; min-width: auto; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card:nth-child(2n) { border-right: none; }

  .process-steps { grid-template-columns: 1fr; }
  .process-step__number { font-size: 56px; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  .project-meta-bar { flex-direction: column; }
  .project-meta-item { border-right: none; border-bottom: 1px solid var(--dark-15); }
  .project-content-text { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
  /* min-height is the sole height source for the absolutely-positioned image on mobile — do not remove */
  .section-split__media { min-height: 220px; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-gallery img:first-child:nth-last-child(1) { grid-column: span 1; aspect-ratio: 4/3; }
  .photo-showcase__panel.active { grid-template-columns: 1fr; }
  .photo-showcase__panel img:first-child:nth-last-child(1) { grid-column: span 1; aspect-ratio: 4/3; }
  .photo-showcase__tab { padding: 10px 14px; font-size: 9px; }

  .wa-float { bottom: 20px; right: 20px; width: 48px; height: 48px; }

  .statement__quote { font-size: 30px; }

  .contact-wa-panel { padding: 28px 24px; }

  .filter-bar { flex-wrap: wrap; }
}

/* ==========================================================================
   14. TYPOGRAPHIC MEASURE & ALIGNMENT
   --------------------------------------------------------------------------
   Body copy was inconsistent: studio-text__body, process-step__desc and
   service-item__desc had no max-width at all, so lines ran the full 1280px
   container. The blocks that did have one used arbitrary values
   (400 / 440 / 480 / 540px). Uncontrolled line length is what reads as messy.

   Fixed here with a single measure token in `ch` (character widths), so the
   line length stays right regardless of font size.

   On justify: it is applied only from 768px up, where columns are wide enough
   to absorb it. Below that, Indonesian's long words (pembangunan, pengawasan,
   berkelanjutan) in a narrow column produce large word gaps, so we fall back
   to ragged right. `hyphens: auto` helps browsers that ship Indonesian
   hyphenation patterns and is harmless where they do not.
   ========================================================================== */

:root {
  --measure:       64ch;   /* body paragraphs */
  --measure-lead:  52ch;   /* hero / intro copy, larger type */
}

.studio-text__body,
.process-step__desc,
.service-item__desc,
.section-split__body,
.project-content-text,
.faq-answer {
  max-width: var(--measure);
  /* Avoids single-word last lines and evens out the ragged edge. */
  text-wrap: pretty;
}

.hero__subtitle,
.page-hero__desc,
.cta-section__subtitle,
.project-concept__quote {
  max-width: var(--measure-lead);
  text-wrap: pretty;
}

/* Justify only where the column can carry it. */
@media (min-width: 768px) {
  .studio-text__body,
  .process-step__desc,
  .service-item__desc,
  .section-split__body,
  .project-content-text {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
}

/* Narrow columns: ragged right is tidier than stretched word spacing. */
@media (max-width: 767px) {
  .studio-text__body,
  .process-step__desc,
  .service-item__desc,
  .section-split__body,
  .project-content-text,
  .faq-answer {
    text-align: left;
    hyphens: manual;
    -webkit-hyphens: manual;
  }
}

/* ==========================================================================
   15. IMAGE SCRIM
   --------------------------------------------------------------------------
   Text over photography was washing out on bright images (sky, sunlit render).
   The palette itself is fine — every token pair passes WCAG AA against solid
   backgrounds. The failure was the scrim: 25% opacity fading out at 55% height
   left nothing behind the caption on a light photo.

   Making the type white does not fix this (white on bright sky is worse), so
   the gradient is strengthened instead. This holds for both dark and light
   photographs, which a colour change cannot.
   ========================================================================== */

.project-hero__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 37, 64, 0.78) 0%,
    rgba(0, 37, 64, 0.45) 38%,
    rgba(0, 37, 64, 0.10) 70%,
    transparent 100%
  );
}



.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 37, 64, 0.70) 0%,
    rgba(0, 37, 64, 0.35) 45%,
    rgba(0, 37, 64, 0.15) 100%
  );
}

.hero__content,
.hero__slide-indicator,
.hero__scroll { position: relative; z-index: 2; }

/* Project cards: labels sit directly on the photo. */
.project-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 37, 64, 0.82) 0%,
    rgba(0, 37, 64, 0.38) 45%,
    transparent 80%
  );
}

/* ==========================================================================
   16. SMALL-LABEL CONTRAST
   --------------------------------------------------------------------------
   The 10-11px uppercase labels use --stone (#C4B5A0). On dark surfaces that
   is fine (5.84:1). The failures were all inside light containers:

     .project-meta-bar   -> --off-white
     .section-split      -> --off-white
     article.project-body -> --off-white   (photo showcase + "Tentang" block)

   Stone measures 1.81:1 there -- far below the 4.5:1 AA minimum, and
   effectively invisible at 10px. Those are retargeted to --mid (6.95:1).

   Labels on genuinely dark ground (.project-concept on --off-black, the
   --navy-deep page body) keep --stone, since --mid would be just as
   unreadable in the other direction.
   ========================================================================== */

.project-meta-bar .project-meta-item__label,
.section-split .section-split__label,
.section-split .project-content-label,
.project-body .project-content-label,
.project-body .photo-showcase__title,
.project-body .photo-showcase__tab {
  color: var(--mid);
}

.project-body .photo-showcase__tab.active {
  color: var(--off-black);
}

/* Footer copyright was --white-30 (2.54:1); --white-60 clears AA at 4.7:1. */
.footer__copy { color: var(--white-60); }

/* Scroll cue sits over the hero photograph, behind the strengthened scrim. */
.hero__scroll-label { color: rgba(240, 244, 247, 0.75); }

/* ==========================================================================
   17. NAV ACCENT + COMING SOON
   --------------------------------------------------------------------------
   WE.AI is a separate product site, not another section of this one. The nav
   item is marked so it reads as a sibling brand rather than a page here.
   ========================================================================== */

.nav__link--accent {
  color: var(--stone);
  position: relative;
}
.nav__link--accent::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -14px;
  width: 1px;
  height: 14px;
  transform: translateY(-50%);
  background: var(--white-10);
}
.nav__link--accent:hover { color: var(--off-white); }

@media (max-width: 900px) {
  .nav__link--accent::after { display: none; }
}

/* Coming-soon page */
.soon {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: var(--nav-height) 0 clamp(60px, 10vw, 120px);
}
.soon__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--stone);
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 28px;
}
.soon__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 110px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--off-white);
  margin: 0 0 24px;
}
.soon__lead {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.75;
  color: var(--white-60);
  max-width: var(--measure-lead);
  margin: 0 0 40px;
}

/* ==========================================================================
   18. PORTFOLIO — TAMPILAN PRESENTASI (TV)
   --------------------------------------------------------------------------
   Ini bukan halaman untuk dibaca sambil scroll. Ini alat presentasi yang
   dicolok ke TV saat event, jadi aturannya berbeda dari halaman lain:

     - tidak ada scroll: satu layar penuh, ganti sendiri
     - tipografi besar: dibaca dari jarak beberapa meter, bukan 50 cm
     - margin aman overscan: sebagian TV memotong ~5% tepi layar, jadi tidak
       ada teks penting yang menempel ke pinggir
     - kontrol keyboard: presenter bisa maju/mundur/jeda saat bicara
     - slide bisa berisi video (nanti untuk video hold point)
   ========================================================================== */

.show {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  overflow: hidden;
}

.show__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-smooth);
}
.show__slide.is-active { opacity: 1; }

.show__slide img,
.show__slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

/* Scrim: teks harus terbaca di atas foto terang maupun gelap. */
.show__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 37, 64, 0.88) 0%,
    rgba(0, 37, 64, 0.45) 32%,
    rgba(0, 37, 64, 0.05) 62%,
    transparent 100%
  );
}

/* 5% dari tiap tepi = zona aman overscan TV. */
.show__caption {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 7%;
  z-index: 2;
}
.show__eyebrow {
  font-size: clamp(13px, 1.1vw, 20px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 clamp(10px, 1vw, 20px);
}
.show__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 118px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--off-white);
  margin: 0 0 clamp(8px, 0.8vw, 18px);
}
.show__meta {
  font-size: clamp(14px, 1.3vw, 26px);
  color: rgba(240, 244, 247, 0.82);
  margin: 0;
}

/* Garis progres tipis di atas — memberi tahu ritme tanpa mengganggu. */
.show__progress {
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--stone);
  z-index: 3;
}

.show__dots {
  position: absolute;
  right: 5%;
  bottom: 7%;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.show__dot {
  width: clamp(18px, 1.6vw, 34px);
  height: 3px;
  background: rgba(240, 244, 247, 0.25);
  transition: background 0.4s;
}
.show__dot.is-active { background: var(--off-white); }

/* Petunjuk kontrol — hilang sendiri setelah beberapa detik. */
.show__hint {
  position: absolute;
  top: 5%;
  left: 5%;
  z-index: 3;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(240, 244, 247, 0.55);
  transition: opacity 0.6s;
}
.show__hint.is-hidden { opacity: 0; }
.show__hint kbd {
  font-family: var(--font-body);
  border: 1px solid rgba(240, 244, 247, 0.3);
  border-radius: 3px;
  padding: 1px 6px;
  margin: 0 2px;
}

.show__exit {
  position: absolute;
  top: 5%;
  right: 5%;
  z-index: 4;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 244, 247, 0.55);
  text-decoration: none;
  transition: color 0.3s;
}
.show__exit:hover { color: var(--off-white); }

@media (prefers-reduced-motion: reduce) {
  .show__slide { transition: none; }
}

/* ==========================================================================
   19. GALERI EDITORIAL — RASIO ASLI, TANPA CROP PAKSA
   --------------------------------------------------------------------------
   Sebelumnya setiap foto galeri dipaksa aspect-ratio 4/3 dengan object-fit
   cover, dan foto tunggal dipaksa 16/7. Untuk W House yang 27 dari 37 fotonya
   potret, itu memotong sebagian besar isi tiap gambar — persis keluhan
   "kelihatan seperti dipotong".

   Diganti ke tata kolom: tinggi mengikuti rasio asli, lebar mengikuti kolom.
   Campuran potret dan lanskap tersusun sendiri tanpa ada yang dikorbankan.
   ========================================================================== */

.photo-showcase__panel.active {
  display: block;
  columns: 3;
  column-gap: clamp(12px, 1.4vw, 22px);
}

.photo-showcase__panel img,
.photo-showcase__panel video {
  width: 100%;
  height: auto;            /* rasio asli menentukan tingginya */
  aspect-ratio: auto;      /* batalkan 4/3 yang dipaksakan */
  object-fit: fill;        /* tidak ada yang dipotong: kotaknya yang mengikuti */
  display: block;
  margin: 0 0 clamp(12px, 1.4vw, 22px);
  break-inside: avoid;     /* jangan pecah gambar antar kolom */
}

/* Foto tunggal tidak perlu dibentangkan jadi panorama. */
.photo-showcase__panel img:first-child:nth-last-child(1) {
  aspect-ratio: auto;
  max-width: min(100%, 900px);
  margin-inline: auto;
}

@media (max-width: 1100px) { .photo-showcase__panel.active { columns: 2; } }
@media (max-width: 640px)  { .photo-showcase__panel.active { columns: 1; } }

/* Gambar bagian cerita: rasio asli, dimuat utuh, tidak dipotong.

   Aslinya gambar di sini position:absolute + object-fit:cover di dalam induk
   overflow:hidden. Mengubahnya ke height:auto saja tidak cukup — gambar tetap
   di luar alur, jadi foto potret setinggi 1012px dirender di kotak 400px dan
   yang terlihat hanya 400px teratas, yang kebetulan langit.

   Jadi gambarnya dikembalikan ke alur normal, dipusatkan, dan tingginya
   dibatasi supaya foto potret tidak membuat baris menjulang. */
.section-split__media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.section-split__media img {
  position: static;
  inset: auto;
  /* width:100% + height:auto membuat browser menghitung tinggi dari rasio di
     atribut width/height sebelum berkasnya tiba. Dengan width:auto, gambar
     lazy yang belum termuat berukuran 0x0 dan bagiannya runtuh. */
  width: 100%;
  height: auto;
  /* min-height menutup sisa celah kalau teks kebetulan lebih tinggi dari
     gambar. Potongannya tipis (sekitar 8%), bukan full-bleed cover seperti
     dulu yang membuang separuh foto potret. */
  min-height: 100%;
  /* 80vh: gambar mengisi kolomnya penuh (tidak ada bingkai biru) tapi
     potongannya tinggal sekitar 10%, bukan 23% seperti di 72vh. */
  max-height: 80vh;
  object-fit: cover;
}

/* Bagian tanpa foto: teks memakai lebar penuh, bukan menyisakan kotak kosong. */
.section-split--textonly {
  display: block;
}
.section-split--textonly .section-split__text {
  max-width: var(--measure);
  margin-inline: auto;
}

/* ==========================================================================
   20. SUPERVISI — 12 HOLD POINT
   --------------------------------------------------------------------------
   Diambil dari "WE Arsitek - Supervisi (Klien).pdf", dokumen yang memang
   ditujukan untuk klien. Isi internal (klausul kontrak, prosedur NCR,
   pemetaan Asana) sengaja tidak dibawa ke sini.
   ========================================================================== */

.hp-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(32px, 4vw, 52px);
}

.hp-group {
  border-top: 2px solid var(--stone);
  padding-top: 20px;
}
.hp-group__range {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 300;
  color: var(--stone);
  line-height: 1;
  margin: 0 0 8px;
}
.hp-group__name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--off-white);
  margin: 0 0 16px;
}
.hp-group__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.hp-group__list li {
  font-size: 15px;
  color: var(--white-60);
  display: flex;
  gap: 10px;
}
.hp-group__list b {
  color: var(--stone);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* Tiga kemungkinan hasil pemeriksaan */
.hp-verdicts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.4vw, 20px);
  margin-top: clamp(32px, 4vw, 48px);
}
.hp-verdict {
  flex: 1 1 200px;
  padding: 16px 20px;
  border-left: 3px solid;
  background: rgba(196, 181, 160, 0.07);
}
.hp-verdict__name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.hp-verdict__what { font-size: 14px; color: var(--white-60); margin: 0; }
.hp-verdict--pass      { border-color: #6FA98A; }
.hp-verdict--pass .hp-verdict__name { color: #8FC4A8; }
.hp-verdict--cond      { border-color: var(--stone); }
.hp-verdict--cond .hp-verdict__name { color: var(--stone); }
.hp-verdict--fail      { border-color: #C97A6D; }
.hp-verdict--fail .hp-verdict__name { color: #E09183; }

/* Biaya perbaikan naik seiring pekerjaan tertutup */
.hp-cost {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(28px, 3.5vw, 44px);
}
.hp-cost__step { border-top: 1px solid var(--white-10); padding-top: 18px; }
.hp-cost__bar {
  height: 4px;
  background: var(--stone);
  margin-bottom: 14px;
  transform-origin: left;
}
.hp-cost__step:nth-child(1) .hp-cost__bar { width: 22%; opacity: 0.45; }
.hp-cost__step:nth-child(2) .hp-cost__bar { width: 58%; opacity: 0.7; }
.hp-cost__step:nth-child(3) .hp-cost__bar { width: 100%; opacity: 1; }
.hp-cost__size {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 6px;
}
.hp-cost__when { font-size: 15px; color: var(--off-white); margin: 0 0 8px; }
.hp-cost__note { font-size: 14px; line-height: 1.65; color: var(--white-60); margin: 0; }


/* ==========================================================================
   TABLET: perlakuan sama dengan ponsel.
   Aturan bertumpuk di atas hanya sampai 767px, jadi di 768px foto kembali
   jadi latar dan teks menumpang di atasnya. Blok ini menyamakannya: sampai
   1023px foto selalu tampil utuh dan teks selalu di bawahnya. Ditaruh paling
   akhir supaya menang atas aturan tinggi tetap yang muncul lebih dulu.
   ========================================================================== */
@media (max-width: 1023px) {
  .hero {
    min-height: 0;
    display: block;
    padding-bottom: 44px;
  }

  .hero__bg {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .hero__bg::after {
    display: none;
  }

  .hero__content {
    margin-top: 22px;
  }

  .hero__scroll {
    display: none;
  }

}
