/* ARSA/RUANG — demo konsep TIKUMA. Grid tiga kolom dengan garis vertikal, tipografi tipis besar, gerak halus.
   html.motion = animasi aktif (bukan prefers-reduced-motion); html.capture = mode tangkapan layar (?shot). */

@font-face { font-family: Geologica; src: url(/arsa-ruang/fonts/geologica-latin.woff2) format('woff2'); font-weight: 200 500; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(/arsa-ruang/fonts/jetbrains-mono-latin.woff2) format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --paper: #eeeeeb; --paper-2: #e3e2dd; --white: #fafaf8; --ink: #1b1a14; --ink-2: #26251e; --muted: #6d6a60;
  --line: rgba(27, 26, 20, .14); --grid: #cfcec7; --grid-dark: rgba(238, 238, 235, .12); --clay: #b8643c;
  --ease: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gut: 40px; --hdr: 84px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
body { background: var(--paper); color: var(--ink); font: 300 17px/1.6 Geologica, system-ui, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
img, video { display: block; width: 100%; height: 100%; object-fit: cover; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* tipografi */
.t-160 { font-weight: 200; font-size: clamp(52px, 8.4vw, 160px); line-height: .96; letter-spacing: -.03em; }
.t-96 { font-weight: 200; font-size: clamp(44px, 5.6vw, 104px); line-height: 1; letter-spacing: -.03em; }
.t-40 { font-weight: 300; font-size: clamp(28px, 2.4vw, 44px); line-height: 1.14; letter-spacing: -.015em; }
.t-24 { font-size: clamp(18px, 1.3vw, 23px); line-height: 1.4; }
.label, .mono { font: 400 12px/1.2 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.label { display: block; margin-bottom: 22px; }
.muted { color: var(--muted); }
.dark .muted { color: rgba(238, 238, 235, .6); }

/* grid tiga kolom + garis vertikal */
.wrap { padding: 0 var(--gut); }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.cols3 > * { padding-right: var(--gut); }
.span2 { grid-column: span 2; }
.lines { position: relative; }
.lines > * { position: relative; z-index: 1; }
.lines::before, .lines::after { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--grid); transform-origin: top; z-index: 0; pointer-events: none; }
.lines::before { left: 33.333%; }
.lines::after { left: 66.666%; }
.lines--l::after, .lines--r::before { display: none; }
.dark.lines::before, .dark.lines::after { background: var(--grid-dark); }
.motion .lines::before, .motion .lines::after { transform: scaleY(0); transition: transform 1.8s var(--ease-io); }
.motion .lines.in::before, .motion .lines.in::after { transform: scaleY(1); }
.motion .lines.in::after { transition-delay: .15s; }

/* tombol */
.btn-sq { display: inline-flex; align-items: stretch; border: 1px solid currentColor; font-size: 15px; transition: background .4s var(--ease), color .4s var(--ease); }
.btn-sq .ico { display: grid; place-items: center; width: 46px; border-right: 1px solid currentColor; transition: background .4s var(--ease); }
.btn-sq .ico svg { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.btn-sq > span:last-child { padding: 13px 20px; }
.btn-sq:hover { background: var(--ink); color: var(--paper); }
.btn-sq:hover .ico svg { transform: translate(2px, -2px); }
.btn-sq--light:hover, .dark .btn-sq:hover { background: var(--paper); color: var(--ink); }
.btn-line { display: inline-flex; gap: 10px; align-items: center; border: 1px solid rgba(250, 250, 248, .6); padding: 11px 20px; font: 400 12px/1 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--white); transition: background .4s var(--ease), color .4s var(--ease); }
.btn-line:hover { background: var(--white); color: var(--ink); }
.ibtn { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid currentColor; transition: background .35s var(--ease), color .35s var(--ease); }
.ibtn svg { width: 16px; height: 16px; }
.ibtn:hover { background: var(--ink); color: var(--paper); }
.hero .ibtn:hover, .dark .ibtn:hover { background: var(--white); color: var(--ink); }

/* preloader */
.loader { display: none; }
.motion.loading .loader { display: grid; position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper); place-items: center; transition: clip-path 1.1s var(--ease-io); clip-path: inset(0 0 0 0); }
.motion.loaded .loader { clip-path: inset(0 0 100% 0); }
.ld-word { font-weight: 300; font-size: clamp(28px, 4vw, 56px); letter-spacing: .3em; overflow: hidden; display: flex; }
.ld-word span { display: inline-block; transform: translateY(110%); animation: ld-up .9s var(--ease) forwards; }
.ld-word span.th { font-weight: 200; }
@keyframes ld-up { to { transform: none; } }
.ld-foot { position: absolute; left: var(--gut); right: var(--gut); bottom: 36px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.ld-bar { flex: 1; height: 1px; background: rgba(238, 238, 235, .18); }
.ld-bar b { display: block; height: 100%; background: var(--paper); transform: scaleX(0); transform-origin: left; transition: transform .3s linear; }

/* header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gut); color: var(--white); transition: transform .6s var(--ease), background .5s var(--ease), color .5s var(--ease); }
.hdr::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(250, 250, 248, .22); transition: background .5s; }
.hdr.solid { background: rgba(238, 238, 235, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink); }
.hdr.solid::after { background: var(--line); }
.hdr.hide { transform: translateY(-100%); }
.logo { font-weight: 500; font-size: 19px; letter-spacing: .3em; white-space: nowrap; }
.logo span { font-weight: 200; }
.hdr-nav { display: flex; gap: 34px; font-size: 15px; }
.hdr-nav a { position: relative; padding: 6px 0; }
.hdr-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.hdr-nav a:hover::after, .hdr-nav a.on::after { transform: scaleX(1); transform-origin: left; }
.capture .hdr-nav a.on::after { transform: scaleX(0); }
.hdr-right { display: flex; align-items: center; gap: 12px; }
.hdr .btn-sq { font-size: 14px; }
.hdr .btn-sq .ico { width: 40px; }
.hdr .btn-sq > span:last-child { padding: 10px 16px; }
.hdr:not(.solid) .btn-sq:hover { background: var(--white); color: var(--ink); }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; height: 42px; padding: 0 4px 0 14px; font: 400 12px/1 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.menu-btn i { position: relative; width: 24px; height: 9px; }
.menu-btn i::before, .menu-btn i::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn i::before { top: 0; }
.menu-btn i::after { top: 8px; }
.menu-open .menu-btn i::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-btn i::after { top: 4px; transform: rotate(-45deg); }
.menu-open .hdr { color: var(--paper); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.menu-open .hdr::after { background: rgba(238, 238, 235, .12); }
.menu-open .hdr .btn-sq, .menu-open .hdr-nav { visibility: hidden; }

/* menu layar penuh */
.menu { position: fixed; inset: 0; z-index: 35; background: var(--ink); color: var(--paper); display: grid; grid-template-columns: 1fr 2fr; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .9s var(--ease-io), visibility 0s .9s; }
.menu.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.menu-media { position: relative; overflow: hidden; margin: calc(var(--hdr) + 24px) 0 var(--gut) var(--gut); }
.menu-media img { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.menu-media img.on { opacity: 1; transform: none; }
.menu-links { align-self: end; padding: 0 var(--gut) 20px 8vw; display: grid; }
.menu-links a { display: flex; align-items: baseline; gap: 22px; font-weight: 200; font-size: clamp(44px, 6vw, 96px); line-height: 1.08; letter-spacing: -.03em; color: rgba(238, 238, 235, .45); transition: color .4s, transform .6s var(--ease); }
.menu-links a:hover, .menu-links a:focus-visible { color: var(--paper); transform: translateX(14px); }
.menu-links .num { font: 400 12px 'JetBrains Mono', monospace; letter-spacing: .12em; color: var(--clay); }
.menu-foot { grid-column: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 28px var(--gut) var(--gut) 8vw; border-top: 1px solid rgba(238, 238, 235, .12); font-size: 14px; color: rgba(238, 238, 235, .65); }
.menu-foot b { display: block; font-weight: 400; color: var(--paper); margin-bottom: 6px; }
.menu .menu-links a, .menu .menu-foot { opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .8s var(--ease), color .4s; }
.menu.open .menu-links a, .menu.open .menu-foot { opacity: 1; transform: none; }
.menu.open .menu-links a:nth-child(1) { transition-delay: .35s; } .menu.open .menu-links a:nth-child(2) { transition-delay: .41s; }
.menu.open .menu-links a:nth-child(3) { transition-delay: .47s; } .menu.open .menu-links a:nth-child(4) { transition-delay: .53s; }
.menu.open .menu-links a:nth-child(5) { transition-delay: .59s; } .menu.open .menu-links a:nth-child(6) { transition-delay: .65s; }
.menu.open .menu-foot { transition-delay: .7s; }
.menu.open .menu-links a:hover { transition-delay: 0s; }

/* hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: #2b2821; color: var(--white); }
.hero-bg, .hero-slide { position: absolute; inset: 0; }
.hero-slide { clip-path: inset(0 0 0 100%); z-index: 1; }
.hero-slide.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.hero-slide.is-prev { clip-path: inset(0 0 0 0); z-index: 1; }
.motion .hero-slide.is-active { transition: clip-path 1.4s var(--ease-io); }
.hero-slide > * { transform: scale(1.12); }
.motion .hero-slide > * { transition: transform 2.6s var(--ease); }
.hero-slide.is-active > *, .capture .hero-slide > * { transform: none; }
.motion .hero-slide.is-prev > * { transform: translateX(-6%) scale(1.04); transition: transform 1.4s var(--ease-io); }
.hero-shade { position: absolute; inset: 0; z-index: 3; background: linear-gradient(180deg, rgba(20, 19, 15, .5) 0%, rgba(20, 19, 15, 0) 26%, rgba(20, 19, 15, 0) 44%, rgba(20, 19, 15, .7) 100%); pointer-events: none; }
.hero-content { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hero-copy { position: absolute; left: var(--gut); right: var(--gut); bottom: 150px; visibility: hidden; }
.hero-copy.is-active { visibility: visible; pointer-events: auto; }
.hero-copy .t-160 { max-width: 11ch; }
.hero-desc { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 26px; max-width: 760px; }
.hero-desc p { max-width: 460px; font-size: clamp(16px, 1.25vw, 21px); line-height: 1.4; color: rgba(250, 250, 248, .88); }
.hero-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: grid; grid-template-columns: auto 1fr auto; align-items: stretch; border-top: 1px solid rgba(250, 250, 248, .28); }
.hero-arrows { display: flex; gap: 8px; align-items: center; padding: 0 28px 0 var(--gut); border-right: 1px solid rgba(250, 250, 248, .28); }
.hero-arrows .ibtn { width: 38px; height: 38px; }
.hero-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-tab { position: relative; padding: 26px 24px 28px; font: 400 12px/1 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(250, 250, 248, .5); transition: color .4s; text-align: left; }
.hero-tab:hover, .hero-tab.is-active { color: var(--white); }
.hero-tab .bar { position: absolute; left: 24px; right: 24px; bottom: 16px; height: 1px; background: rgba(250, 250, 248, .2); }
.hero-tab .bar b { display: block; height: 100%; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero-tab.is-done .bar b { transform: scaleX(1); }
.hero-pause { align-self: center; margin: 0 var(--gut) 0 18px; width: 38px; height: 38px; }
.hero-pause .i-play { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }
.hero-pause[aria-pressed="true"] .i-pause { display: none; }

/* teks terbelah: kata muncul dari balik masker */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split .w > span { display: inline-block; }
.motion .split .w > span { transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + var(--d, 0s)); }
.motion .split.in .w > span { transform: none; }
.motion .hero-copy .hero-desc, .motion .hero-copy .label { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.motion .hero-copy.in .hero-desc, .motion .hero-copy.in .label { opacity: 1; transform: none; transition-delay: .45s; }
.motion .hero-copy.in .label { transition-delay: .1s; }

/* muncul saat digulir */
.motion [data-rv] { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.motion [data-rv].in { opacity: 1; transform: none; }
.motion .rv-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-io); transition-delay: var(--d, 0s); }
.motion .rv-img > * { transform: scale(1.18); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0s); }
.motion .rv-img.in { clip-path: inset(0 0 0 0); }
.motion .rv-img.in > * { transform: none; }

/* filosofi */
.intro { padding: 170px 0 150px; }
.manifesto { font-weight: 200; font-size: clamp(32px, 3.6vw, 64px); line-height: 1.1; letter-spacing: -.025em; }
.manifesto em { font-style: normal; color: var(--clay); }
.motion .manifesto .mw { opacity: .16; transition: opacity .35s linear; }
.motion .manifesto .mw.on { opacity: 1; }
.intro-cols { display: grid; grid-template-columns: 1fr 1fr; margin-top: 70px; color: var(--muted); font-size: 16px; }
.intro-cols p { padding-right: var(--gut); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 110px; border-top: 1px solid var(--line); }
.stats div { padding: 26px var(--gut) 0 0; }
.stats dd { font-weight: 200; font-size: clamp(56px, 6vw, 108px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stats dt { order: 2; margin-top: 14px; }
.stats div { display: flex; flex-direction: column; }

/* slider proyek pilihan */
.work { padding: 40px 0 150px; overflow: hidden; }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 50px; }
.work-head .t-40 { max-width: 16ch; }
.work-nav { display: flex; gap: 8px; }
.slider { position: relative; }
.slider-track { display: flex; gap: 20px; padding: 0 var(--gut); overflow-x: auto; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.slider-track::-webkit-scrollbar { display: none; }
.slider.dragging .slider-track { cursor: grabbing; }
.slider.dragging .pcard-btn { pointer-events: none; }
.pcard { flex: 0 0 clamp(300px, 29vw, 520px); }
.pcard:nth-child(even) { margin-top: 70px; }
.pcard-btn { display: block; width: 100%; user-select: none; -webkit-user-drag: none; }
.pcard-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.pcard-img img { transform: scale(1.14) translateX(var(--px, 0)); transition: transform 1.2s var(--ease), filter .6s; will-change: transform; -webkit-user-drag: none; }
.pcard-btn:hover .pcard-img img { transform: scale(1.2) translateX(var(--px, 0)); }
.pcard-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding-top: 20px; }
.pcard-meta .num { grid-row: span 2; color: var(--clay); padding-top: 8px; }
.pcard-meta h3 { font-weight: 300; font-size: clamp(22px, 1.7vw, 30px); letter-spacing: -.015em; line-height: 1.2; }
.work-foot { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 56px; }
.progress { flex: 1; max-width: 33.333%; height: 1px; background: var(--line); }
.progress b { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(.2); }
.drag-cursor { position: fixed; left: 0; top: 0; z-index: 30; width: 104px; height: 104px; margin: -52px 0 0 -52px; pointer-events: none; transform: translate3d(var(--x, -200px), var(--y, -200px), 0); }
.drag-cursor .dc { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--ink); color: var(--paper); font: 400 11px/1 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; transform: scale(0); transition: transform .45s var(--ease); }
.drag-cursor.on .dc { transform: scale(1); }
.drag-cursor.on.press .dc { transform: scale(.82); }
.drag-cursor .dc span { display: flex; gap: 10px; align-items: center; }

/* studio (gelap, video) */
.dark { background: var(--ink); color: var(--paper); }
.studio { padding: 150px 0 140px; }
.studio-copy .t-40 { margin-bottom: 26px; }
.studio-copy p { color: rgba(238, 238, 235, .7); font-size: 16px; margin-bottom: 36px; max-width: 34ch; }
.studio-media { padding-right: 0; }
.studio-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #2b2821; }
.studio-media figcaption { display: flex; justify-content: space-between; gap: 18px; padding-top: 16px; }
.studio-facts { margin-top: 110px; border-top: 1px solid rgba(238, 238, 235, .14); }
.studio-facts li { padding: 26px var(--gut) 0 0; }
.studio-facts h3 { font-weight: 300; font-size: 22px; line-height: 1.25; margin: 14px 0 8px; }
.studio-facts p { font-size: 15px; color: rgba(238, 238, 235, .6); max-width: 32ch; }
.studio-facts .mono { color: var(--clay); }

/* material */
.material { padding: 150px 0; }
.mat-head { margin-bottom: 56px; align-items: end; }
.mat-head p { color: var(--muted); max-width: 40ch; }
.mat-list { display: flex; gap: 12px; height: clamp(440px, 38vw, 620px); }
.mat { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--paper-2); transition: flex-grow .9s var(--ease); cursor: default; }
.mat.on { flex-grow: 3.4; }
.mat img { position: absolute; inset: 0; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.mat.on img { transform: none; }
.mat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 19, 15, 0) 45%, rgba(20, 19, 15, .7) 100%); }
.mat-info { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; color: var(--white); }
.mat-info .num { display: block; margin-bottom: 10px; }
.mat-info h3 { font-weight: 300; font-size: clamp(20px, 1.6vw, 28px); line-height: 1.15; white-space: nowrap; }
.mat-info p { font-size: 15px; line-height: 1.45; color: rgba(250, 250, 248, .82); max-width: 30ch; margin-top: 10px; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .7s var(--ease); }
.mat.on .mat-info p { opacity: 1; transform: none; transition-delay: .25s; }
@media (min-width: 901px) {
  .mat:not(.on) .mat-info h3 { writing-mode: vertical-rl; transform: rotate(180deg); }
}

/* indeks proyek */
.index { padding: 150px 0 140px; background: var(--paper-2); }
.idx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 56px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); padding: 11px 18px; font-size: 15px; transition: background .35s, color .35s, border-color .35s; }
.chip sup { font: 400 10px 'JetBrains Mono', monospace; margin-left: 4px; color: var(--muted); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] sup { color: rgba(238, 238, 235, .6); }
.idx { border-top: 1px solid var(--ink); }
.idx-row { border-bottom: 1px solid var(--line); overflow: hidden; }
.idx-row[hidden] { display: none; }
.idx-row button { position: relative; display: grid; grid-template-columns: 70px 1.6fr 1fr 1fr 90px 40px; align-items: center; width: 100%; padding: 26px 0; transition: padding .6s var(--ease), color .4s; }
.idx-row button::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); z-index: -1; }
.idx-row button { z-index: 0; }
.idx-row button:hover, .idx-row button:focus-visible { padding-left: 22px; padding-right: 22px; color: var(--paper); }
.idx-row button:hover::before, .idx-row button:focus-visible::before { transform: scaleY(1); }
.idx-row .num { color: var(--clay); }
.idx-row .nm { font-weight: 300; font-size: clamp(22px, 2vw, 34px); letter-spacing: -.015em; }
.idx-row .yr { text-align: right; }
.idx-row .ar { justify-self: end; transition: transform .5s var(--ease); }
.idx-row button:hover .ar { transform: translateX(6px); }
.idx-row .thumb { display: none; }
.idx-foot { display: flex; justify-content: space-between; margin-top: 26px; }
.motion .idx-row { transition: opacity .45s var(--ease), transform .55s var(--ease); }
.motion .idx-row.out { opacity: 0; transform: translateY(12px); }
.idx-preview { position: fixed; left: 0; top: 0; z-index: 20; width: 300px; aspect-ratio: 4 / 3; margin: -110px 0 0 30px; pointer-events: none; transform: translate3d(var(--x, -400px), var(--y, -400px), 0); }
.idx-preview .ip { position: absolute; inset: 0; overflow: hidden; opacity: 0; transform: scale(.85) rotate(-2deg); transition: opacity .35s var(--ease), transform .5s var(--ease); }
.idx-preview.on .ip { opacity: 1; transform: none; }
.idx-preview img { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.idx-preview img.on { opacity: 1; }

/* proses */
.process { padding: 150px 0; }
.proc-title { position: sticky; top: calc(var(--hdr) + 40px); align-self: start; }
.proc-title .t-40 { max-width: 13ch; }
.proc-meter { width: 60%; height: 1px; background: var(--line); margin-top: 44px; }
.proc-meter b { display: block; height: 100%; background: var(--clay); transform-origin: left; transform: scaleX(var(--p, 0)); }
.steps { padding-right: 0; }
.step { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding: 34px 0 90px; }
.step:last-child { padding-bottom: 20px; }
.step .big { font-weight: 200; font-size: clamp(64px, 7vw, 132px); line-height: .85; letter-spacing: -.05em; color: var(--ink); padding-right: var(--gut); }
.step h3 { font-weight: 300; font-size: clamp(24px, 2vw, 34px); line-height: 1.15; margin-bottom: 14px; }
.step p { color: var(--muted); font-size: 16px; max-width: 34ch; }
.step .mono { display: block; margin-top: 22px; color: var(--clay); }

/* marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.mq-track { display: flex; width: max-content; will-change: transform; }
.mq-track span { font-weight: 200; font-size: clamp(56px, 8vw, 150px); line-height: 1; letter-spacing: -.03em; white-space: nowrap; padding: 0 .35em; }
.mq-track span:nth-of-type(2n) { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.mq-track i { align-self: center; width: .5em; height: .5em; font-size: clamp(56px, 8vw, 150px); }
.mq-track i::before { content: ''; display: block; width: 18px; height: 18px; margin: auto; border-radius: 50%; background: var(--clay); transform: translateY(-4px); }

/* jurnal */
.journal { padding: 150px 0; }
.j-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 56px; }
.j-grid { gap: 0; }
.j-card { padding-right: var(--gut); }
.j-card .j-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.j-card .j-img img { transition: transform 1.4s var(--ease); }
.j-card:hover .j-img img { transform: scale(1.05); }
.j-meta { display: flex; justify-content: space-between; gap: 16px; margin: 22px 0 12px; }
.j-card h3 { font-weight: 300; font-size: clamp(21px, 1.6vw, 27px); line-height: 1.22; letter-spacing: -.01em; max-width: 22ch; }

/* kontak */
.contact { padding: 170px 0 130px; }
.contact .t-160 { margin: 10px 0 90px; }
.contact-row { align-items: end; border-top: 1px solid var(--line); padding-top: 30px; }
.contact-row b { display: block; font-weight: 400; margin-bottom: 8px; }
.contact-row div { color: var(--muted); font-size: 16px; }
.contact-row .cta-wrap { justify-self: end; padding-right: 0; }
.magnet { position: relative; display: grid; place-items: center; width: 190px; height: 190px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 16px; text-align: center; line-height: 1.3; transition: background .4s var(--ease); }
.magnet span { display: block; max-width: 11ch; transition: transform .5s var(--ease); pointer-events: none; }
.magnet:hover { background: var(--clay); }

/* footer */
.foot { padding: 110px 0 36px; overflow: hidden; }
.foot-top { font-size: 15px; color: rgba(238, 238, 235, .65); }
.foot-top b { display: block; font-weight: 400; color: var(--paper); margin-bottom: 14px; }
.foot-top a { display: block; padding: 3px 0; transition: color .3s; }
.foot-top a:hover { color: var(--paper); }
.wordmark { font-weight: 300; font-size: 12.6vw; line-height: .8; letter-spacing: .06em; white-space: nowrap; margin: 110px 0 36px; padding-left: calc(var(--gut) - .04em); color: var(--paper); }
.wordmark span { font-weight: 200; }
.motion .wordmark .w > span { transition-duration: 1.4s; }
.legal { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(238, 238, 235, .12); font-size: 13px; color: rgba(238, 238, 235, .5); }
.legal a { border-bottom: 1px solid rgba(238, 238, 235, .3); }
.legal a:hover { color: var(--paper); }
.credits summary { cursor: pointer; list-style: none; color: var(--paper); font-weight: 400; margin-bottom: 14px; }
.credits summary::-webkit-details-marker { display: none; }
.credits summary::after { content: ' +'; color: rgba(238, 238, 235, .5); }
.credits[open] summary::after { content: ' −'; }
.credits li { padding: 2px 0; font-size: 13px; }
.credits li a { display: inline; border-bottom: 1px solid rgba(238, 238, 235, .25); }

/* lencana demo */
.demo { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 99px; background: #fff; color: #111; font: 500 13px/1.2 system-ui, sans-serif; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35); transition: transform .4s var(--ease), opacity .4s; }
.demo:hover { transform: translateY(-2px); }
.demo i { width: 8px; height: 8px; border-radius: 50%; background: #4f46e5; box-shadow: 0 0 0 4px rgba(79, 70, 229, .18); }
.demo span { color: #666; font-weight: 400; }
.capture .demo, .menu-open .demo { opacity: 0; pointer-events: none; }

/* dialog */
dialog { border: 0; padding: 0; background: transparent; color: inherit; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(20, 19, 15, .6); }
.note { margin: auto; width: min(540px, calc(100% - 32px)); background: var(--paper); color: var(--ink); padding: 44px; }
.note h3 { font-weight: 300; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; margin: 14px 0; }
.note p { color: var(--muted); }
.note .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.note .btn-sq:hover { background: var(--ink); color: var(--paper); }
.note .ghost { border: 1px solid var(--line); padding: 13px 22px; }
.drawer { margin: 0 0 0 auto; width: min(760px, 100vw); height: 100vh; height: 100dvh; background: var(--paper); color: var(--ink); overflow: hidden; }
.drawer[open] { animation: dr-in .8s var(--ease) both; }
.drawer.closing { animation: dr-out .5s var(--ease-io) both; }
.drawer::backdrop { background: rgba(20, 19, 15, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@keyframes dr-in { from { transform: translateX(100%); } }
@keyframes dr-out { to { transform: translateX(100%); } }
.dr-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.dr-close { position: absolute; top: 18px; right: 18px; z-index: 2; background: var(--paper); }
.dr-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.dr-media img { animation: dr-img 1.4s var(--ease) both; }
@keyframes dr-img { from { transform: scale(1.12); } }
.dr-body { padding: 40px 44px 50px; }
.dr-body .t-96 { font-size: clamp(40px, 4.6vw, 76px); margin-bottom: 24px; }
.dr-body > p { font-size: 18px; line-height: 1.55; color: #3d3b33; max-width: 52ch; }
.dr-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 36px 0 28px; border-top: 1px solid var(--line); }
.dr-facts div { padding: 18px 16px 0 0; }
.dr-facts dt { font: 400 11px 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.dr-facts dd { font-size: 17px; }
.dr-next { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; margin-top: 34px; padding: 22px 0; border-top: 1px solid var(--ink); font-size: 20px; font-weight: 300; }
.dr-next .mono { color: var(--muted); }
.dr-next:hover span:last-child { transform: translateX(6px); }
.dr-next span:last-child { transition: transform .5s var(--ease); }
body.lock { overflow: hidden; }

/* mode tangkapan layar */
.capture .hero { height: 900px; min-height: 0; }
.capture .hdr { position: absolute; }

@media (max-width: 1100px) {
  .hdr-nav { display: none; }
}
@media (max-width: 900px) {
  :root { --gut: 20px; --hdr: 68px; }
  body { font-size: 16px; }
  .lines::before, .lines::after { display: none; }
  .cols3 { grid-template-columns: 1fr; }
  .cols3 > * { padding-right: 0; }
  .span2 { grid-column: auto; }
  .hdr .btn-sq { display: none; }
  .logo { font-size: 16px; }
  .menu { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .menu-media { display: none; }
  .menu-links { padding: calc(var(--hdr) + 30px) var(--gut) 20px; align-self: end; }
  .menu-links a { font-size: 44px; }
  .menu-foot { grid-column: 1; grid-template-columns: 1fr 1fr; padding: 22px var(--gut) 90px; }
  .menu-foot div:last-child { grid-column: span 2; }
  .hero { min-height: 600px; }
  .hero-copy { bottom: 118px; }
  .hero-desc { gap: 16px; }
  .hero-bar { grid-template-columns: 1fr auto; }
  .hero-arrows { display: none; }
  .hero-tab { padding: 20px 10px 24px; font-size: 10px; letter-spacing: .06em; white-space: nowrap; }
  .hero-tab:first-child { padding-left: var(--gut); }
  .hero-tab .bar { left: 10px; right: 10px; bottom: 12px; }
  .hero-tab:first-child .bar { left: var(--gut); }
  .hero-pause { margin: 0 var(--gut) 0 8px; }
  .intro { padding: 100px 0 90px; }
  .intro .label { margin-bottom: 18px; }
  .intro-cols { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .intro-cols p { padding: 0; }
  .stats { margin-top: 60px; }
  .stats div { padding-right: 12px; }
  .stats dt { font-size: 10px; letter-spacing: .1em; }
  .work { padding: 10px 0 100px; }
  .work-head { margin-bottom: 30px; }
  .work-nav { display: none; }
  .slider-track { scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); gap: 14px; cursor: auto; }
  .pcard { flex-basis: 78vw; scroll-snap-align: start; }
  .pcard:nth-child(even) { margin-top: 0; }
  .work-foot { margin-top: 34px; }
  .progress { max-width: none; }
  .studio { padding: 100px 0 90px; }
  .studio-copy { margin-bottom: 44px; }
  .studio-facts { margin-top: 60px; }
  .studio-facts li { padding: 22px 0 26px; border-bottom: 1px solid rgba(238, 238, 235, .12); }
  .material { padding: 100px 0; }
  .mat-head { margin-bottom: 32px; gap: 14px; }
  .mat-list { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; }
  .mat-list::-webkit-scrollbar { display: none; }
  .mat { flex: 0 0 72vw; height: 420px; scroll-snap-align: start; }
  .mat.on { flex-grow: 0; }
  .mat img { transform: none; }
  .mat-info p { opacity: 1; transform: none; }
  .index { padding: 100px 0 90px; }
  .idx-head { margin-bottom: 30px; }
  .chip { padding: 9px 14px; font-size: 14px; }
  .idx-row button { grid-template-columns: 36px 1fr 64px; grid-template-rows: auto auto; gap: 4px 12px; padding: 18px 0; }
  .idx-row button:hover, .idx-row button:focus-visible { padding-left: 0; padding-right: 0; color: inherit; }
  .idx-row button::before { display: none; }
  .idx-row .num { grid-row: span 2; align-self: start; padding-top: 6px; }
  .idx-row .nm { font-size: 22px; grid-column: 2; }
  .idx-row .tp, .idx-row .ct, .idx-row .yr { grid-column: 2; grid-row: 2; font-size: 13px; color: var(--muted); }
  .idx-row .tp { justify-self: start; }
  .idx-row .ct { display: none; }
  .idx-row .yr { justify-self: end; text-align: right; }
  .idx-row .ar { display: none; }
  .idx-row .thumb { display: block; grid-column: 3; grid-row: 1 / span 2; width: 64px; height: 48px; }
  .idx-preview { display: none; }
  .process { padding: 100px 0; }
  .proc-title { position: static; margin-bottom: 40px; }
  .step { grid-template-columns: 90px 1fr; padding: 26px 0 40px; }
  .step .big { font-size: 56px; padding-right: 12px; }
  .marquee { padding: 18px 0; }
  .journal { padding: 100px 0; }
  .j-head { margin-bottom: 30px; }
  .j-card { padding: 0 0 44px; }
  .contact { padding: 110px 0 90px; }
  .contact .t-160 { margin-bottom: 50px; }
  .contact-row { gap: 22px; }
  .contact-row .cta-wrap { justify-self: start; margin-top: 16px; }
  .magnet { width: 150px; height: 150px; font-size: 15px; }
  .foot { padding-top: 80px; }
  .foot-top { gap: 30px; grid-template-columns: 1fr 1fr; }
  .foot-top > :last-child { grid-column: span 2; }
  .wordmark { font-size: 13.2vw; margin: 70px 0 26px; }
  .legal { flex-direction: column; align-items: flex-start; gap: 10px; }
  .note { padding: 30px 24px; }
  .dr-body { padding: 28px 22px 40px; }
  .dr-facts { grid-template-columns: 1fr 1fr; }
  .capture .hero { height: 760px; }
}
@media (hover: none) { .drag-cursor, .idx-preview { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* studi cahaya: geser matahari untuk melihat rumah dari subuh sampai malam */
.light { padding: 150px 0 140px; }
.light-head { margin-bottom: 56px; align-items: end; }
.light-head p { color: var(--muted); max-width: 40ch; }
.ls-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0d1422; }
.ls-img img { transition: filter .3s linear; }
.ls-img i { position: absolute; inset: 0; pointer-events: none; transition: opacity .3s linear, background-color .3s linear; }
.ls-shade { mix-blend-mode: multiply; }
.ls-tint { mix-blend-mode: multiply; }
.ls-glow { mix-blend-mode: screen; opacity: 0; background: radial-gradient(10% 4.5% at 66% 65.5%, rgba(90, 210, 255, .9), transparent 75%); }
/* jendela menyala di malam hari: salinan foto yang dihangatkan, hanya terlihat di bidang kaca */
.ls-lit { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .3s linear;
  -webkit-mask-image: radial-gradient(11% 5.5% at 37% 31%, #000 45%, transparent 100%), radial-gradient(15% 8.5% at 74% 52%, #000 50%, transparent 100%), radial-gradient(13% 9.5% at 18% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(11% 5.5% at 37% 31%, #000 45%, transparent 100%), radial-gradient(15% 8.5% at 74% 52%, #000 50%, transparent 100%), radial-gradient(13% 9.5% at 18% 50%, #000 40%, transparent 100%); }
.ls-lit img { filter: brightness(1.45) sepia(.65) saturate(1.7) hue-rotate(-12deg) contrast(1.05); }
.ls-ui { position: relative; margin-top: 28px; height: 130px; }
.ls-arc { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 90px; overflow: visible; }
.ls-arc path { fill: none; stroke: var(--grid); stroke-width: 1.2; stroke-dasharray: 4 7; vector-effect: non-scaling-stroke; }
.ls-arc .hz { stroke: var(--line); stroke-dasharray: none; }
.ls-sun { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 7px rgba(184, 100, 60, .16), 0 0 34px 10px rgba(255, 170, 80, .45); pointer-events: none; transition: background .4s, box-shadow .4s; }
.ls-sun.moon { background: #f3f1e8; box-shadow: 0 0 0 7px rgba(243, 241, 232, .14), 0 0 26px 6px rgba(180, 205, 255, .35); }
.ls input { position: absolute; left: 0; right: 0; top: -12px; width: 100%; height: 114px; opacity: 0; margin: 0; cursor: ew-resize; }
.ls:has(input:focus-visible) .ls-sun { outline: 2px solid var(--clay); outline-offset: 5px; }
.ls-read { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.ls-note { font-size: clamp(16px, 1.3vw, 20px); text-align: center; }
@media (max-width: 760px) {
  .light { padding: 90px 0; }
  .ls-img { aspect-ratio: 4 / 3; }
  .ls-read { flex-wrap: wrap; }
  .ls-read .muted { display: none; }
}
