:root {
  color-scheme: dark;
  --ink: #f2efe7;
  --muted: #b9b4a8;
  --line: rgba(242, 239, 231, .14);
  --paper: #0f1513;
  --white: #ffffff;
  --charcoal: #0b100e;
  --charcoal-2: #141d19;
  --surface: rgba(255, 255, 255, .055);
  --surface-strong: rgba(255, 255, 255, .095);
  --green: #62a483;
  --gold: #d6b56a;
  --gold-soft: #f0d58d;
  --terracotta: #bd7158;
  --shadow: 0 24px 80px rgba(0, 0, 0, .38);
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(98, 164, 131, .16), transparent 36vw),
    linear-gradient(180deg, #0b100e 0%, #111815 44%, #0b100e 100%);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(9, 14, 12, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: clamp(160px, 18vw, 220px);
  height: auto;
  display: block;
  border-radius: 0;
}

.brand span {
  display: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(242, 239, 231, .72);
  font-size: 14px;
}

.nav a {
  padding: 8px 0;
  text-decoration: none;
}

.nav a:hover,
.card a:hover {
  color: var(--gold-soft);
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(24px, 6vw, 76px);
  align-items: center;
  padding: clamp(44px, 8vw, 96px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(11, 16, 14, .98), rgba(11, 16, 14, .77) 47%, rgba(11, 16, 14, .28)),
    linear-gradient(180deg, rgba(11, 16, 14, .12), rgba(11, 16, 14, .94)),
    url("/assets/portfolio/project-hunian-pribadi.jpg") right center / min(62vw, 860px) auto no-repeat;
}

.hero > * {
  min-width: 0;
}

.hero-logo {
  display: block;
  width: min(420px, 78vw);
  height: auto;
  margin: 0 0 24px;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, .34));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(35px, 5.6vw, 74px);
  font-weight: 760;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 46px);
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid rgba(242, 239, 231, .28);
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.button:hover {
  border-color: rgba(214, 181, 106, .7);
  background: rgba(214, 181, 106, .12);
}

.button.primary {
  color: #12110d;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-color: var(--gold);
}

.hero-panel {
  min-height: 420px;
  display: grid;
  align-content: end;
  gap: 16px;
  padding: 26px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(17, 23, 20, .02), rgba(11, 16, 14, .94)),
    url("/assets/portfolio/project-stockbit-jakarta.jpg") center / cover no-repeat;
  border-radius: 8px;
  border: 1px solid rgba(242, 239, 231, .16);
  box-shadow: var(--shadow);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.metric strong {
  display: block;
  font-size: 24px;
}

section {
  padding: clamp(44px, 7vw, 84px) clamp(18px, 4vw, 56px);
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.card p,
.section-head p {
  margin: 0;
  color: var(--muted);
}

.showcase {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(20, 29, 25, .98), rgba(11, 16, 14, .98)),
    url("/assets/portfolio/project-autoplastik-stockbit.jpg") center / cover fixed;
}

.showcase .section-head {
  max-width: 920px;
}

.showcase .eyebrow {
  color: var(--gold);
}

.showcase .section-head p,
.project-card p {
  color: rgba(255, 255, 255, .72);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  display: grid;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .18);
}

.project-card.feature {
  grid-column: span 2;
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: saturate(.86) contrast(1.08) brightness(.88);
}

.project-card div {
  padding: 20px;
}

.project-card.feature div {
  padding: 26px;
}

.project-card h3 {
  color: var(--white);
}

.client-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(12, 17, 15, .94), rgba(31, 77, 60, .86)),
    url("/assets/portfolio/project-autoplastik-stockbit.jpg") center / cover no-repeat;
}

.client-band .eyebrow {
  color: #f1c86a;
}

.client-band .section-head p {
  color: rgba(255, 255, 255, .74);
}

.client-logo-board {
  margin: 0;
  padding: clamp(10px, 2vw, 18px);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
}

.client-logo-board img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.social-proof {
  color: var(--white);
  background:
    linear-gradient(180deg, #0b100e, #151d19);
}

.social-proof .section-head {
  max-width: 920px;
}

.social-proof .eyebrow {
  color: #f1c86a;
}

.social-proof .section-head p {
  color: rgba(255, 255, 255, .72);
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 18px;
  align-items: center;
}

.media-feature {
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.media-feature img,
.project-reel {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  display: block;
}

.project-reel {
  max-height: 620px;
  background: #000;
}

.media-feature div {
  padding: 24px;
}

.media-feature p {
  color: rgba(255, 255, 255, .72);
}

.social-icons {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 14px;
  align-content: center;
}

.social-icon {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  color: var(--white);
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.social-icon svg,
.social-icon img {
  width: 54px;
  height: 54px;
  padding: 12px;
  border-radius: 999px;
  object-fit: contain;
  display: block;
}

.social-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: rgba(255, 255, 255, .12);
}

.social-icon span {
  font-size: 13px;
  font-weight: 800;
}

.social-icon:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 200, 106, .55);
  background: rgba(255, 255, 255, .1);
}

.social-icon.instagram svg {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social-icon.tiktok svg {
  background: #050505;
}

.social-icon.shopee svg {
  background: #ee4d2d;
}

.social-icon.tokopedia svg {
  background: #03ac0e;
}

.social-icon.tokopedia img {
  padding: 0;
  background: #03ac0e;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.tag-list li {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: var(--muted);
  font-size: 14px;
}

.band {
  background:
    linear-gradient(135deg, rgba(98, 164, 131, .1), rgba(214, 181, 106, .08)),
    #101714;
  border-block: 1px solid var(--line);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
  gap: 24px;
  align-items: start;
}

.contact-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.footer {
  padding: 26px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #080c0a;
}

@media (max-width: 820px) {
  .hero,
  .contact {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .brand img {
    width: min(180px, 48vw);
  }

  .nav {
    width: 100%;
    gap: 6px 16px;
    font-size: 14px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .nav a {
    padding: 2px 0;
  }

  .hero {
    min-height: auto;
    gap: 28px;
  }

  .hero-logo {
    width: min(390px, 100%);
  }

  h1 {
    max-width: 100%;
    font-size: 32px;
  }

  .lead {
    max-width: 100%;
    font-size: 16px;
  }

  .actions,
  .section-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .grid,
  .metric-row,
  .portfolio-grid,
  .client-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 320px;
    overflow: hidden;
  }

  .hero-panel h2 {
    font-size: 30px;
  }

  .media-feature,
  .project-card,
  .card,
  .client-logo-board,
  .contact-box {
    max-width: 100%;
  }

  .social-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-icon {
    min-width: 0;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(11, 16, 14, .82), rgba(11, 16, 14, .98)),
      url("/assets/portfolio/project-hunian-pribadi.jpg") center top / cover no-repeat;
  }

  .project-card.feature {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 480px) {
  .site-header,
  .hero,
  section,
  .footer {
    padding-inline: 20px;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .hero > div:first-child {
    width: 100%;
    max-width: 350px;
  }

  .hero-logo {
    width: 100%;
  }

  h1 {
    font-size: 31px;
  }
}
