:root {
  --navy: #0a2136;
  --navy-deep: #061726;
  --blue: #12364f;
  --gold: #cda15a;
  --gold-light: #e5c88d;
  --cream: #f3f0e9;
  --white: #fff;
  --ink: #102537;
  --muted: #66727c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 96px;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.brand { display: inline-flex; align-items: center; gap: 16px; }
.brand-mark {
  font: 800 30px/1 "Plus Jakarta Sans", sans-serif;
  letter-spacing: .12em;
}
.brand-name {
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,.35);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.brand-name strong { display: block; color: var(--gold-light); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 13px; font-weight: 600; }
.nav-links > a:not(.nav-cta) { opacity: .82; transition: .2s; }
.nav-links > a:hover { opacity: 1; }
.nav-cta { padding: 13px 19px; border: 1px solid rgba(255,255,255,.5); }
.menu-toggle { display: none; }

.hero {
  min-height: 820px;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: url("public/images/projects/pasar-mauk-ilustrasi.png") center/cover;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,20,33,.94) 0%, rgba(4,20,33,.68) 45%, rgba(4,20,33,.12) 80%),
    linear-gradient(0deg, rgba(4,20,33,.65), transparent 45%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(820px, 85vw);
  margin-left: clamp(24px, 8.5vw, 140px);
  padding-top: 70px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 25px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow span { display: inline-block; width: 34px; height: 1px; background: var(--gold); }
h1, h2, h3 { font-family: "Plus Jakarta Sans", sans-serif; }
h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(55px, 6vw, 94px);
  line-height: .99;
  letter-spacing: -.055em;
}
h1 em, .contact h2 em { color: var(--gold-light); font-family: Georgia, serif; font-weight: 400; }
.hero-copy {
  max-width: 590px;
  margin: 30px 0 36px;
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.8;
}
.hero-actions { display: flex; align-items: center; gap: 35px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 27px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
}
.button-gold { background: var(--gold); color: var(--navy-deep); transition: .25s; }
.button-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.text-link { font-size: 12px; font-weight: 700; }
.text-link span { margin-left: 9px; color: var(--gold-light); }
.hero-index {
  position: absolute;
  z-index: 2;
  right: 5vw;
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: .1em;
}
.hero-index i { width: 70px; height: 1px; background: rgba(255,255,255,.3); }

.section { padding: 120px clamp(24px, 8.5vw, 140px); }
.section-kicker {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 9vw;
  margin-top: 34px;
}
.intro h2, .section-heading h2 {
  margin: 0;
  font-size: clamp(39px, 4vw, 64px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.intro-copy { color: var(--muted); font-size: 15px; line-height: 1.9; }
.intro-copy p:first-child { margin-top: 4px; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 90px;
  border-top: 1px solid #d9d4ca;
}
.stats article { display: flex; align-items: center; gap: 18px; padding: 34px 0; }
.stats article + article { padding-left: 40px; border-left: 1px solid #d9d4ca; }
.stats strong { color: var(--gold); font: 700 46px/1 "Plus Jakarta Sans"; }
.stats span { max-width: 140px; color: var(--muted); font-size: 12px; line-height: 1.5; }

.services { color: white; background: var(--navy); }
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}
.section-heading .section-kicker { margin-bottom: 26px; }
.section-kicker.light { color: var(--gold-light); }
.section-heading > p { max-width: 410px; margin: 0 0 7px; color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.8; }
.service-list { margin-top: 75px; border-top: 1px solid rgba(255,255,255,.18); }
.service-item {
  display: grid;
  grid-template-columns: 65px 1fr 1fr 30px;
  align-items: center;
  gap: 30px;
  padding: 35px 12px;
  border-bottom: 1px solid rgba(255,255,255,.18);
  transition: .25s;
}
.service-item:hover { padding-left: 25px; background: rgba(255,255,255,.035); }
.service-item > span { color: var(--gold-light); font-size: 11px; }
.service-item h3 { margin: 0; font-size: 24px; }
.service-item p { margin: 0; color: rgba(255,255,255,.52); font-size: 13px; line-height: 1.7; }
.service-item i { color: var(--gold-light); font-style: normal; }

.projects { background: #f7f5f0; }
.section-heading.dark > p { color: var(--muted); }
.project-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: repeat(2, 330px);
  gap: 20px;
  margin-top: 65px;
}
.project-card { position: relative; overflow: hidden; color: white; }
.project-featured { grid-row: 1 / 3; }
.project-card img { height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.project-card img.kresek-cover { object-position: center 42%; }
.project-card:hover img { transform: scale(1.045); }
.project-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,20,33,.9), transparent 65%); }
.project-info { position: absolute; bottom: 36px; left: 36px; }
.project-info span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 9px;
  color: var(--navy);
  background: var(--gold-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.project-info h3 { margin: 0; font-size: 28px; }
.project-info p { margin: 7px 0 0; color: rgba(255,255,255,.68); font-size: 11px; }
.project-card small {
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: rgba(255,255,255,.45);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.project-documentation {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 65px;
  margin-top: 85px;
  padding-top: 48px;
  border-top: 1px solid #d9d4ca;
}
.documentation-copy { align-self: center; }
.documentation-copy > span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.documentation-copy h3 {
  margin: 14px 0 18px;
  font-size: clamp(27px, 3vw, 42px);
  letter-spacing: -.035em;
}
.documentation-copy p {
  max-width: 370px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}
.documentation-gallery {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  grid-template-rows: repeat(2, 175px);
  gap: 10px;
}
.gallery-photo {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #ddd;
  border: 0;
}
.gallery-photo::after {
  content: "↗";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(6,23,38,.75);
  font-size: 11px;
  opacity: 0;
  transition: opacity .2s;
}
.gallery-photo:hover::after { opacity: 1; }
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-photo:hover img { transform: scale(1.035); }
.gallery-tall { grid-row: 1 / 3; }
.gallery-photo:last-child { grid-column: 2 / 4; }
.lightbox {
  width: min(920px, 92vw);
  max-height: 90vh;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}
.lightbox::backdrop { background: rgba(3,12,20,.9); backdrop-filter: blur(5px); }
.lightbox img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  z-index: 2;
  top: -38px;
  right: 0;
  width: 34px;
  height: 34px;
  color: white;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255,255,255,.45);
  font-size: 22px;
}

.commitment {
  color: white;
  background:
    radial-gradient(circle at 85% 15%, rgba(205,161,90,.13), transparent 28%),
    var(--navy-deep);
}
.commitment-head {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: end;
  gap: 8vw;
}
.commitment-head .section-kicker { margin-bottom: 25px; }
.commitment-head h2,
.approach h2 {
  margin: 0;
  font-size: clamp(39px, 4vw, 64px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.commitment-head > p {
  margin: 0 0 6px;
  color: rgba(255,255,255,.56);
  font-size: 14px;
  line-height: 1.85;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 72px;
  border-top: 1px solid rgba(255,255,255,.15);
  border-left: 1px solid rgba(255,255,255,.15);
}
.value-card {
  min-height: 330px;
  padding: 28px;
  border-right: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.15);
  transition: background .25s, transform .25s;
}
.value-card:hover {
  background: rgba(255,255,255,.045);
  transform: translateY(-4px);
}
.value-card > span {
  color: rgba(255,255,255,.35);
  font-size: 10px;
  letter-spacing: .15em;
}
.value-icon {
  margin: 45px 0 30px;
  color: var(--gold-light);
  font: 300 36px/1 Georgia, serif;
}
.value-card h3 { margin: 0 0 16px; font-size: 20px; }
.value-card p {
  margin: 0;
  color: rgba(255,255,255,.5);
  font-size: 12px;
  line-height: 1.8;
}

.approach { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10vw; background: var(--cream); }
.approach-title .section-kicker { margin-bottom: 25px; }
.process { border-top: 1px solid #d7d1c6; }
.process-step {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 25px;
  padding: 27px 5px;
  border-bottom: 1px solid #d7d1c6;
}
.process-step > span {
  padding-top: 5px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}
.process-step h3 { margin: 0 0 8px; font-size: 18px; }
.process-step p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.contact {
  position: relative;
  color: white;
  text-align: center;
  background:
    linear-gradient(rgba(6,23,38,.92), rgba(6,23,38,.92)),
    url("public/images/projects/kresek/fasad-ruko.jpeg") center 38%/cover;
}
.contact-inner { max-width: 800px; margin: auto; }
.contact .eyebrow { justify-content: center; }
.contact h2 { margin: 0; font-size: clamp(42px, 5vw, 72px); line-height: 1.06; letter-spacing: -.05em; }
.contact p:not(.eyebrow) { margin: 28px 0 34px; color: rgba(255,255,255,.58); font-size: 14px; }

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 38px clamp(24px, 5vw, 80px);
  color: rgba(255,255,255,.55);
  background: var(--navy-deep);
  font-size: 10px;
}
.footer-brand { color: white; transform: scale(.85); transform-origin: left; }
footer > a:last-child { color: var(--gold-light); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 850px) {
  .site-header { height: 78px; }
  .menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 8px;
    color: white;
    background: transparent;
    border: 0;
  }
  .menu-toggle span { width: 100%; height: 1px; background: currentColor; transition: .2s; }
  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 20px 24px 28px;
    background: var(--navy-deep);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 15px 0; }
  .nav-cta { margin-top: 10px; text-align: center; }
  .hero { min-height: 720px; }
  .hero-content { margin-left: 24px; }
  .hero-overlay { background: rgba(4,20,33,.74); }
  .section { padding: 85px 24px; }
  .intro-grid, .section-heading { display: block; }
  .commitment-head, .approach { display: block; }
  .intro-copy { margin-top: 34px; }
  .stats { grid-template-columns: 1fr; margin-top: 55px; }
  .stats article + article { padding-left: 0; border-left: 0; border-top: 1px solid #d9d4ca; }
  .section-heading > p { margin-top: 28px; }
  .service-list { margin-top: 50px; }
  .service-item { grid-template-columns: 35px 1fr 20px; gap: 12px; }
  .service-item p { display: none; }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 380px); }
  .project-featured { grid-row: auto; }
  .project-documentation { grid-template-columns: 1fr; gap: 35px; margin-top: 60px; }
  .commitment-head > p { margin-top: 28px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-title { margin-bottom: 50px; }
  footer { flex-direction: column; gap: 25px; text-align: center; }
  .footer-brand { transform-origin: center; }
}

@media (max-width: 500px) {
  .brand-name { display: none; }
  h1 { font-size: 52px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-index { display: none; }
  .project-grid { grid-template-rows: repeat(3, 310px); }
  .documentation-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 145px;
  }
  .gallery-tall { grid-row: auto; }
  .gallery-photo:last-child { grid-column: 1 / 3; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 270px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
