/* Arah C: struktur ala r-o.com, identitas Iconium. Palet enam token, Plus Jakarta Sans, sudut tajam, tanpa gradien warna. */
:root {
  --carbon: #1E1E1E; --moss: #4A4B2F; --brown: #472B1A; --sand: #BEB8A3; --off: #E8E8E3; --yellow: #CDC281;
  --line: rgba(30, 30, 30, .12); --line-dark: rgba(232, 232, 227, .22);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1); --max: 1240px; --pad: clamp(16px, 5vw, 64px); --header: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--carbon); background: var(--off); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-weight: 800; font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3 { font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.625rem); }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; }
.dark :focus-visible, .band :focus-visible, .foot :focus-visible, .hero :focus-visible { outline-color: var(--yellow); }
.wrap { width: min(var(--max), calc(100% - 2 * var(--pad))); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--carbon); color: var(--off); font-weight: 600; }
.skip:focus { top: 12px; }
.eyebrow { font-size: .875rem; font-weight: 600; color: var(--moss); margin-bottom: 12px; }
.dark .eyebrow { color: var(--yellow); }
.muted { color: var(--moss); }
.lead { font-size: 1.125rem; max-width: 52ch; }

/* tombol */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 2px solid currentColor; font: 600 .875rem/1 var(--font); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; background: transparent; color: inherit; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s; }
.btn.small { min-height: 44px; padding: 0 16px; font-size: .75rem; }
.btn.ghost { color: var(--off); border-color: var(--off); }
.btn.gold { background: var(--yellow); border-color: var(--yellow); color: var(--carbon); }
.btn.line { color: var(--carbon); }
.btn svg { transition: transform .22s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn.ghost:hover { background: var(--off); color: var(--carbon); }
  .btn.gold:hover { background: var(--off); border-color: var(--off); }
  .btn.line:hover { background: var(--carbon); border-color: var(--carbon); color: var(--off); }
  .btn:hover svg { transform: translateX(4px); }
}
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* header: logo kiri, menu tengah, WhatsApp kanan; transparan di atas hero, Off White setelah gulir */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); display: flex; align-items: center; color: var(--off); transition: background-color .25s, color .25s; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.top nav { display: flex; gap: clamp(12px, 2vw, 28px); }
.top nav a { font-size: .875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
.top nav a.on { border-color: currentColor; }
.top .brand { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.top .right { display: flex; align-items: center; gap: 8px; }
.lang { min-width: 44px; min-height: 44px; border: 2px solid currentColor; background: transparent; color: inherit; font: 600 .875rem/1 var(--font); letter-spacing: .05em; cursor: pointer; padding: 0 10px; transition: background-color .18s, color .18s; }
@media (hover: hover) and (pointer: fine) { .lang:hover { background: var(--off); color: var(--carbon); } .top.scrolled .lang:hover, .top.menu-open .lang:hover { background: var(--carbon); color: var(--off); } }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; color: inherit; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.menu-btn span:nth-child(1) { top: 16px; } .menu-btn span:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }
.top .brand img { height: 42px; width: auto; }
.top.scrolled { background: var(--off); color: var(--carbon); box-shadow: 0 1px 0 var(--line); }
.top.scrolled .btn.ghost { color: var(--carbon); border-color: var(--carbon); }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .top nav { position: fixed; inset: var(--header) 0 0 0; display: flex; flex-direction: column; gap: 0; padding: 8px var(--pad) 32px; background: var(--off); color: var(--carbon); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
  .top nav.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .top nav a { font-size: 1.125rem; min-height: 56px; border-bottom: 1px solid var(--line); text-transform: none; letter-spacing: 0; }
  .top.menu-open { background: var(--off); color: var(--carbon); }
  .top.menu-open .btn.ghost { color: var(--carbon); border-color: var(--carbon); }
}

/* hero: foto penuh layar, teks di tengah, rel gulir di bawah */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; color: var(--off); overflow: hidden; isolation: isolate; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(30, 30, 30, .48); z-index: -1; }
.hero::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; background: linear-gradient(rgba(30, 30, 30, .55), rgba(30, 30, 30, 0)); z-index: -1; pointer-events: none; }
.hero-text { text-align: center; padding: calc(var(--header) + 48px) var(--pad) 144px; max-width: 880px; }
.hero h1 { font-weight: 800; font-size: clamp(2.5rem, 7.5vw, 6rem); line-height: .98; letter-spacing: -.02em; text-transform: uppercase; }
.hero p { margin: 28px auto 32px; max-width: 40ch; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); }
.rail { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); width: min(720px, calc(100% - 2 * var(--pad))); }
.rail .track { height: 4px; background: rgba(232, 232, 227, .35); }
.rail .fill { height: 100%; width: 0; background: var(--yellow); transition: width .15s linear; }
.rail .stops { display: flex; justify-content: space-between; margin-top: 8px; }
.rail .stops a { font-size: .8125rem; font-weight: 600; text-decoration: none; position: relative; padding-top: 18px; min-height: 44px; display: inline-flex; align-items: flex-start; }
.rail .stops a::before { content: ""; position: absolute; top: -18px; left: 50%; width: 14px; height: 14px; border: 3px solid var(--off); background: var(--carbon); transform: translate(-50%, -50%); border-radius: 50%; }
.rail .stops a:first-child::before { left: 7px; } .rail .stops a:last-child::before { left: calc(100% - 7px); }

/* pita angka */
.facts { background: var(--moss); color: var(--off); }
.grid3f { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts div { padding: clamp(28px, 4vw, 48px) 24px clamp(28px, 4vw, 48px) 0; border-right: 1px solid var(--line-dark); }
.facts div + div { padding-left: 24px; }
.facts div:last-child { border-right: 0; }
.facts b { display: block; font-weight: 800; font-size: clamp(2.25rem, 4.8vw, 3.75rem); line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; white-space: nowrap; }
.facts small { font-size: .4em; font-weight: 600; margin-left: 4px; }
.facts span { display: block; margin-top: 12px; font-size: .9375rem; }

/* bagian */
section { padding: clamp(64px, 9vw, 120px) 0; }
.hero, .facts, .band { padding: 0; }
.dark { background: var(--moss); color: var(--off); }
.sand { background: var(--sand); }
.head { margin-bottom: clamp(32px, 5vw, 56px); display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.split, .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.frame { position: relative; outline: 2px solid var(--carbon); outline-offset: 12px; margin: 12px; background: var(--sand); aspect-ratio: 4 / 3; overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { margin-bottom: 20px; }
.duo { display: grid; gap: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.duo div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 10ch 1fr; gap: 16px; }
.duo dt { font-weight: 600; } .duo dd { margin: 0; }
.vm .big { font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 500; line-height: 1.4; }

/* proyek: foto besar dan teks bergantian */
.work .item { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(28px, 4.6vw, 56px) 0; border-top: 1px solid var(--line); }
.work .item:nth-of-type(even) { grid-template-columns: 5fr 7fr; }
.work .item:nth-of-type(even) .shot { order: 2; }
.shot { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--sand); aspect-ratio: 4 / 3; overflow: hidden; cursor: pointer; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: opacity .18s; }
.shot img.fit { object-fit: contain; object-position: center !important; }
@media (hover: hover) and (pointer: fine) { .shot:hover img { opacity: .88; } }
.count { position: absolute; left: 0; bottom: 0; background: var(--off); color: var(--carbon); font-size: .8125rem; font-weight: 500; padding: 8px 12px; }
.work .meta { color: var(--moss); font-size: .9375rem; margin: 8px 0 16px; }
.work .text p + .btn { margin-top: 24px; }

/* kartu jenis pekerjaan */
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 16px; }
.cards li:first-child .pic { aspect-ratio: auto; height: 100%; min-height: 320px; }
.cards li:first-child { display: grid; grid-template-rows: 1fr auto auto; }
.cards li { background: var(--off); }
.cards .pic { aspect-ratio: 4 / 5; background: var(--sand); overflow: hidden; }
.cards .pic img { width: 100%; height: 100%; object-fit: cover; }
.cards h3 { font-size: 1.125rem; padding: 16px 16px 4px; font-weight: 600; }
.cards p { padding: 0 16px 20px; font-size: .9375rem; color: var(--moss); }

/* klien */
.rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: clamp(16px, 2.4vw, 28px) 0; border-bottom: 1px solid var(--line); }
.rows b { font-weight: 600; font-size: clamp(1.125rem, 2vw, 1.625rem); }
.rows span { color: var(--moss); white-space: nowrap; }

/* pita penutup: foto proyek duotone Moss, logo, ajakan */
.band { position: relative; min-height: 80svh; display: grid; place-items: center; text-align: center; color: var(--off); background: var(--moss); isolation: isolate; overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .55; }
.band-text { padding: clamp(64px, 10vw, 120px) var(--pad); max-width: 760px; }
.band .mark { height: 120px; width: auto; margin: 0 auto 32px; background: var(--off); padding: 10px; }
.band h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.band p { margin: 24px auto 32px; max-width: 44ch; }
.band .btns { justify-content: center; }

/* footer */
.foot { background: var(--carbon); color: var(--sand); padding: clamp(48px, 6vw, 80px) 0 24px; font-size: .9375rem; }
.grid3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.fh { font-weight: 600; font-size: .875rem; color: var(--yellow); margin-bottom: 8px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot ul a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.legal { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: .875rem; }

/* galeri */
dialog.lb { border: 0; padding: 0; background: transparent; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; color: var(--off); overflow: hidden; }
dialog.lb::backdrop { background: rgba(30, 30, 30, .94); }
body:has(dialog[open]) { overflow: hidden; }
.lb .stage { position: absolute; inset: 72px 16px 88px; display: grid; }
.lb .stage img { width: 100%; height: 100%; object-fit: contain; }
.lb .bar { position: absolute; inset: 0 0 auto; height: 72px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.lb .cap { position: absolute; inset: auto 0 0; padding: 0 16px 24px; text-align: center; font-size: .875rem; }
.lb .ibtn { width: 48px; height: 48px; border: 2px solid var(--off); background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; }
.lb .nav-b { position: absolute; top: 50%; translate: 0 -50%; }
.lb .prev { left: 12px; } .lb .next { right: 12px; }

/* gerak masuk */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* responsif */
@media (max-width: 960px) {
  .split, .grid2, .work .item, .work .item:nth-of-type(even) { grid-template-columns: 1fr; }
  .work .item:nth-of-type(even) .shot { order: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); } .cards li:first-child { grid-column: 1 / -1; } .cards li:first-child .pic { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  .grid3 { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; }
  .cards li, .cards li:first-child { flex: 0 0 76vw; scroll-snap-align: start; display: block; } .cards li:first-child .pic { aspect-ratio: 4 / 5; }
  .rows li { flex-direction: column; gap: 4px; }
  .grid3f { grid-template-columns: 1fr; } .facts div, .facts div + div { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); } .facts div:last-child { border-bottom: 0; }
  .btn { width: 100%; justify-content: center; } .top .btn { width: auto; }
  .duo div { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { transform: none; transition: opacity .2s; }
  .btn svg, .rail .fill { transition: none; }
}
