:root {
  color-scheme: light;
  --ink: #142b29;
  --muted: #4e605b;
  --deep: #102726;
  --dark: #122d2b;
  --gold: #ffc857;
  --gold-ink: #795313;
  --paper: #faf9f5;
  --surface: #f0f0e9;
  --line: #d8ddd3;
  --max: 1240px;
  --gutter: clamp(1.125rem, 4.5vw, 4.5rem);
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, h4, dl, dd { margin: 0; }
a { color: inherit; }
button, summary { font: inherit; }
button { color: inherit; }
button, summary { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid #a36912;
  outline-offset: 4px;
}
.header a:focus-visible, .header button:focus-visible, .hero a:focus-visible, .footer a:focus-visible {
  outline-color: var(--gold);
}
::selection { background: var(--gold); color: var(--deep); }

.wrap { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: clamp(3.8rem, 7.3vw, 7rem); }
section[id], footer[id], .service[id] { scroll-margin-top: 1rem; }

.skip {
  position: fixed;
  z-index: 5;
  top: .65rem;
  left: .65rem;
  translate: 0 -160%;
  padding: .65rem 1rem;
  background: var(--gold);
  color: var(--deep);
  font-weight: 700;
}
.skip:focus { translate: 0; }

.header { background: var(--deep); color: #fffef7; border-bottom: 1px solid #ffffff20; }
.header-inner { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { width: 42px; height: auto; }
.brand span { font-size: 1.15rem; font-weight: 760; letter-spacing: .145em; line-height: 1.05; }
.brand small { display: block; margin-top: .27rem; font-size: .72rem; letter-spacing: .135em; color: #d8e1d8; font-weight: 500; }
.header-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.55rem); }
.header-nav > a:not(.button) { font-size: .9375rem; text-decoration: none; color: #e3eae3; }
.header-nav > a:not(.button):hover { color: var(--gold); }
.menu-toggle { display: none; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--gold-ink);
  font-size: .875rem;
  font-weight: 730;
  letter-spacing: .115em;
  text-transform: uppercase;
  line-height: 1.4;
}
.eyebrow::before { content: ""; width: 1.45rem; height: 2px; flex: none; background: currentColor; }
.hero .eyebrow, .footer .eyebrow { color: var(--gold); }

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 3px;
  text-decoration: none;
  font-size: .9375rem;
  line-height: 1.25;
  font-weight: 680;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.button-gold { background: var(--gold); color: #182823; border-color: var(--gold); }
.button-gold:hover { background: #ffda86; border-color: #ffda86; }
.button-outline { color: #fffef7; border-color: #c6d5cc85; }
.button-outline:hover { color: var(--gold); border-color: var(--gold); }
.button-dark { color: white; background: var(--dark); }
.button-dark:hover { background: #244744; }
.header-contact { min-height: 2.65rem; }

.hero { position: relative; isolation: isolate; overflow: hidden; color: #fffdf4; background: var(--deep); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 56%; z-index: -2; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #102726 1%, #102726f2 22%, #102726ba 45%, #10272627 77%),
              linear-gradient(0deg, #091d1bd9, transparent 36%);
}
.hero-inner { position: relative; display: flex; align-items: center; min-height: clamp(540px, 48vw, 690px); padding-block: 4.5rem 5.4rem; }
.hero-copy { max-width: 700px; }
.hero h1 {
  margin-top: 1.05rem;
  font-size: clamp(3.5rem, 7.3vw, 7.25rem);
  line-height: .95;
  letter-spacing: -.074em;
  font-weight: 740;
}
.hero h1 span { display: block; color: var(--gold); }
.hero-description { margin-top: 1.75rem; max-width: 31rem; color: #eef0e8; font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.65; }
.hero-actions { margin-top: 1.85rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-caption {
  position: absolute;
  bottom: 1.35rem;
  right: 0;
  padding-top: .55rem;
  border-top: 1px solid #e1ebe492;
  color: #f1f3ee;
  font-size: .8125rem;
}

h2 { font-weight: 735; font-size: clamp(2.55rem, 5.35vw, 4.9rem); line-height: 1.02; letter-spacing: -.065em; text-wrap: balance; }
.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2, .services h2, .footer h2 { margin-top: .62rem; }
.section-heading > p, .section-heading > div:nth-child(2) { color: var(--muted); max-width: 29rem; }
.section-heading > p { padding-bottom: .15rem; }

.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1.15rem; margin-bottom: 1.35rem; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.filters button {
  background: transparent;
  border: 1px solid #cbd4c9;
  border-radius: 3px;
  min-height: 2.7rem;
  padding: .52rem .85rem;
  font-size: .875rem;
  font-weight: 640;
}
.filters button:hover { border-color: #739186; background: #e7ebe1; }
.filters button[aria-pressed="true"] { background: var(--dark); color: #fff; border-color: var(--dark); }
#project-count { color: var(--muted); font-size: .875rem; white-space: nowrap; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
.project-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 4px; overflow: clip; background: #fffefb; transition: border-color .2s ease, box-shadow .2s ease; }
.project-card:hover, .project-card:focus-within { border-color: #9baea3; box-shadow: 0 10px 28px #2138360a; }
.project-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #d7ddd0; border-bottom: 1px solid var(--line); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-card:hover .project-media img { transform: scale(1.025); }
#case-audit-hunian .project-media img { object-position: center 35%; }
#case-taman-holis .project-media img { object-position: center 42%; }
.illustration {
  position: absolute;
  bottom: .75rem;
  left: .75rem;
  background: #102321ed;
  color: #f5f4eb;
  border: 1px solid #ffffff45;
  padding: .22rem .45rem;
  font-size: .8125rem;
  line-height: 1.3;
}
.project-body { padding: 1.1rem 1.2rem 1.15rem; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.project-label { color: var(--gold-ink); font-weight: 730; font-size: .875rem; }
.project-card h3 { margin-top: .28rem; font-size: clamp(1.27rem, 2.1vw, 1.65rem); line-height: 1.14; letter-spacing: -.035em; }
.project-location { margin-top: .36rem; font-size: .875rem; color: var(--muted); }
.project-summary { margin-top: .65rem; margin-bottom: .95rem; }
.text-link { color: #204d40; font-weight: 700; text-underline-offset: .25em; }
.text-link:hover { color: #795313; }
.project-open { min-height: 2.55rem; margin-top: auto; display: inline-flex; gap: .55rem; align-items: center; border: 0; padding: 0; background: transparent; text-decoration: underline; font-size: .9375rem; }
.project-open span { margin-top: -.08em; font-size: 1.15em; text-decoration: none; }

.clients { background: var(--surface); border-top: 1px solid var(--line); }
.client-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: clamp(.65rem, 2.1vw, 1.8rem);
  margin: 1.6rem 0 0;
  padding: .65rem 0;
  border-block: 1px solid #b7c3b7;
  list-style: none;
}
.client-logo { display: grid; place-items: center; min-width: 0; min-height: 6.6rem; padding: .38rem .25rem; }
.client-logo img { width: min(100%, var(--logo-width)); height: var(--logo-height); object-fit: contain; }
.client-logo--rx { --logo-width: 9.3rem; --logo-height: 2.65rem; }
.client-logo--tjakra { --logo-width: 6.6rem; --logo-height: 5.35rem; }
.client-logo--ateja { --logo-width: 10rem; --logo-height: 4.2rem; }
.client-logo--easton { --logo-width: 7.7rem; --logo-height: 5.2rem; }
.client-logo--rekan { --logo-width: 10.65rem; --logo-height: 3.55rem; }

.services { background: var(--surface); border-block: 1px solid var(--line); }
.services-layout { display: grid; grid-template-columns: .77fr 1.23fr; gap: clamp(2rem, 7vw, 7.5rem); align-items: start; }
.services-intro > p:not(.eyebrow) { color: var(--muted); margin-top: 1.2rem; max-width: 29rem; }
.field-photo { margin-top: 2rem; }
.field-photo img { width: 100%; aspect-ratio: 1.4; height: auto; object-fit: cover; object-position: center 42%; border-radius: 3px; }
.field-photo figcaption { padding-top: .55rem; color: var(--muted); font-size: .8125rem; }
.service-list { border-top: 1px solid #bac7bb; }
.service { border-bottom: 1px solid #bac7bb; }
.service summary {
  position: relative;
  display: block;
  list-style: none;
  padding: 1.17rem 2.1rem 1.17rem .05rem;
  font-size: clamp(1.02rem, 1.8vw, 1.3rem);
  font-weight: 710;
  line-height: 1.35;
  letter-spacing: -.019em;
}
.service summary::-webkit-details-marker { display: none; }
.service summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; translate: 0 -50%; font-size: 1.55em; line-height: 1; font-weight: 400; color: #385b4f; }
.service[open] summary::after { content: "−"; }
.service summary:hover { color: #76501b; }
.service-content { padding: 0 1rem 1.4rem .05rem; }
.service-content > p { color: var(--muted); }
.service-content dl { display: grid; gap: .45rem; margin-block: 1rem .85rem; }
.service-content dl > div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .45rem; }
.service-content dt { font-size: .9375rem; font-weight: 730; }
.service-content dd { color: var(--muted); }
.service-content a { display: inline-block; padding-block: .35rem; }

.profile-heading { align-items: start; margin-bottom: clamp(2rem, 4vw, 3.7rem); }
.profile-heading > div:nth-child(2) { padding-top: .45rem; }
.profile-mark { width: clamp(3.5rem, 7vw, 5.25rem); height: auto; margin-top: 1.2rem; }
.credentials { margin-top: .75rem; }
.profile-download { margin-top: 1.15rem; }
.team-title { margin-bottom: 1rem; font-size: 1.4rem; letter-spacing: -.025em; }
.team-grid { --team-columns: 3; --team-gap: 1.15rem; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--team-gap); }
.person { --portrait-width: clamp(5rem, 7.1vw, 6.25rem); flex: 0 0 calc((100% + var(--team-gap)) / var(--team-columns) - var(--team-gap)); min-width: 0; display: grid; grid-template-columns: var(--portrait-width) minmax(0, 1fr); gap: .95rem; align-items: start; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.person img { width: var(--portrait-width); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: #d8d5d0; }
.tryaldi-portrait { object-position: 50% 56%; }
.liesly-portrait { object-position: 50% 30%; }
.person h4 { line-height: 1.3; font-size: 1rem; }
.person p { margin-top: .4rem; color: var(--muted); }

.footer { background: var(--deep); color: #fffdf4; }
.contact-layout { padding-block: clamp(3.1rem, 6.5vw, 6.3rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; gap: clamp(1.6rem, 5vw, 4.5rem); }
.footer h2 { max-width: 15ch; }
.footer h2 + p { color: #e0e9df; margin-top: 1.05rem; max-width: 29rem; }
.contact-layout address { display: flex; flex-direction: column; align-items: flex-start; gap: .32rem; margin-top: 1.45rem; font-style: normal; color: #e0e9df; overflow-wrap: anywhere; }
.contact-layout address strong { color: #fffdf4; }
.contact-layout address span { margin-block: .08rem .4rem; }
.contact-fallback { margin-top: 1.1rem; }
.inquiry-form { min-width: 0; background: #1b3532; border: 1px solid #607970; border-radius: 4px; padding: clamp(1rem, 3vw, 1.9rem); }
.inquiry-form h3 { font-size: clamp(1.35rem, 2.6vw, 1.78rem); line-height: 1.15; letter-spacing: -.035em; }
.inquiry-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .85rem; margin-top: 1.12rem; }
.inquiry-field label { display: block; margin-bottom: .33rem; color: #fffdf4; font-size: .9375rem; font-weight: 650; }
.inquiry-field label span, .inquiry-actions p { color: #cddbd1; font-size: .875rem; font-weight: 400; }
.inquiry-field :is(input, select) { width: 100%; min-height: 2.8rem; padding: .5rem .65rem; border: 1px solid #7d978a; border-radius: 3px; background: #132b29; color: #fffdf4; font: inherit; color-scheme: dark; }
.inquiry-field :is(input, select):focus-visible, .inquiry-actions button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.inquiry-field input::placeholder { color: #b9c8bf; opacity: 1; }
.inquiry-select { position: relative; }
.inquiry-select select { appearance: none; padding-right: 1.9rem; }
.inquiry-select::after { content: ""; position: absolute; top: 50%; right: .8rem; width: .5rem; height: .5rem; border: solid #e0e9df; border-width: 0 1.5px 1.5px 0; transform: translateY(-68%) rotate(45deg); pointer-events: none; }
.inquiry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .7rem; margin-top: 1.3rem; }
.inquiry-actions p { flex: 1 1 10rem; }
.footer a:hover:not(.button) { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; border-top: 1px solid #647b72; padding-block: 1.15rem; color: #e0e9df; font-size: .875rem; }
.footer-bottom a { padding-block: .3rem; text-underline-offset: .18em; }

.project-dialog {
  width: min(44rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overscroll-behavior: contain;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #91a197;
  border-radius: 5px;
  box-shadow: 0 12px 90px #091b19aa;
}
.project-dialog::backdrop { background: #0b2221bd; }
body:has(.project-dialog[open]) { overflow: hidden; }
.dialog-header { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .65rem clamp(1rem, 4vw, 2rem); border-bottom: 1px solid var(--line); background: var(--paper); }
.dialog-close { display: inline-flex; align-items: center; gap: .42rem; padding: .36rem .65rem; min-height: 2.65rem; border: 1px solid #a4b2a8; border-radius: 3px; background: transparent; font-weight: 650; }
.dialog-close:hover { background: #e7ebe1; }
.dialog-close span { font-size: 1.25em; }
.case-body { padding: 1.35rem clamp(1rem, 4vw, 2rem) 1.8rem; }
.case-body h2 { margin-block: .3rem .8rem; font-size: clamp(2rem, 5.4vw, 3.15rem); }
.case-body > p:not(.project-label), .case-scope p { color: var(--muted); }
.case-scope { margin-block: 1.05rem 1.25rem; border-left: 3px solid #c29442; padding-left: .85rem; }
.case-scope h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.case-model { margin-bottom: 1rem; }
.case-model img { max-height: 235px; width: 100%; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 3px; }
.case-model figcaption { padding-top: .35rem; color: var(--muted); font-size: .8125rem; }
.case-services { display: flex; flex-wrap: wrap; gap: .65rem; }

@media (max-width: 960px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { min-height: 560px; }
  .team-grid { --team-columns: 2; --team-gap: 1rem; }
}

@media (max-width: 800px) {
  .header-inner { min-height: 71px; flex-wrap: wrap; gap: .3rem 1rem; padding-block: .7rem; }
  .brand img { width: 37px; }
  .brand span { font-size: 1.02rem; }
  .brand small { font-size: .66rem; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .48rem; border: 1px solid #c6d5cc7d; min-height: 2.7rem; padding: .4rem .65rem; background: transparent; color: #fffdf4; border-radius: 3px; }
  .menu-toggle span { width: .92rem; height: .52rem; border-block: 1px solid currentColor; }
  .header-nav { width: 100%; flex-wrap: wrap; gap: .45rem 1rem; padding-top: .4rem; }
  .header-nav > a:not(.button) { display: inline-block; padding-block: .55rem; }
  .enhanced .header-nav:not(.is-open) { display: none; }
  .client-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .client-logo { grid-column: span 2; }
  .client-logo:nth-last-child(2) { grid-column: 2 / span 2; }
}

@media (max-width: 680px) {
  .hero-inner { min-height: 550px; padding-block: 3.15rem 4rem; align-items: center; }
  .hero h1 { font-size: min(clamp(3rem, 10.4vw, 4.8rem), 12vw); }
  .hero-image { object-position: 60% center; }
  .hero::before { background: linear-gradient(90deg, #102726f2 0%, #102726cf 46%, #10272690), linear-gradient(0deg, #091d1ba9, transparent 55%); }
  .hero-caption { bottom: 1rem; }
  .section-heading, .services-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .section-heading { margin-bottom: 1.45rem; }
  .section-heading > p { padding-bottom: 0; }
  .services-layout { gap: 1.6rem; }
  .field-photo { display: none; }
  .team-grid { --team-columns: 1; }
  .person { --portrait-width: 5.5rem; }
  .contact-layout { gap: 1.75rem; }
}

@media (max-width: 560px) {
  .client-list { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1.2rem; }
  .client-logo { min-height: 5.4rem; }
  .client-logo:nth-last-child(2) { grid-column: span 2; }
  .client-logo:last-child { grid-column: 2 / span 2; }
  .client-logo--tjakra { --logo-height: 4.45rem; }
  .client-logo--easton { --logo-height: 4.35rem; }
}

@media (max-width: 500px) {
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .hero-inner { min-height: 510px; }
  .service-content dl > div { grid-template-columns: 4.55rem 1fr; }
  .inquiry-fields { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 365px) {
  .header-inner { column-gap: .55rem; }
  .brand { gap: .55rem; }
  .brand img { width: 32px; }
  .brand small { font-size: .62rem; }
  .menu-toggle { gap: .35rem; padding-inline: .46rem; }
  .hero h1 { font-size: clamp(2.12rem, 12vw, 2.85rem); }
  .hero-actions { gap: .47rem; }
  .hero-actions .button { padding-inline: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
