@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-900.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #10110f;
  --surface: #181b16;
  --line: #30352b;
  --text: #f1f2e9;
  --muted: #b1b7a9;
  --lime: #c1ff41;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --page-gutter: clamp(1.125rem, 4.5vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font: 400 1rem/1.6 var(--body);
}
body:has(.viewer[open]) { overflow: hidden; }
::selection { background: var(--lime); color: var(--background); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, ul, ol { margin: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }

.wrap { width: min(100% - var(--page-gutter) * 2, 80rem); margin-inline: auto; }
.section-space { padding-block: clamp(4.5rem, 8vw, 8rem); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 5;
  inset: .75rem auto auto .75rem;
  padding: .65rem 1rem;
  background: var(--lime);
  color: var(--background);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #10110ff2;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 4.5rem;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  color: var(--text);
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: 1;
}
.brand-dot { color: var(--lime); }
.brand-mark, .hero-spark {
  background: var(--lime);
  clip-path: polygon(50% 0%, 57% 34%, 85% 15%, 66% 43%, 100% 50%, 66% 57%, 85% 85%, 57% 66%, 50% 100%, 43% 66%, 15% 85%, 34% 57%, 0% 50%, 34% 43%, 15% 15%, 43% 34%);
}
.brand-mark { width: 1.35rem; height: 1.35rem; margin-right: .55rem; }
.header-inner nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
.header-inner nav a, .header-location { font-size: .875rem; }
.header-inner nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  font-weight: 600;
}
.header-inner nav a:hover, .footer-inner a:hover { color: var(--lime); }
.header-location {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: .65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.header-location span { width: .45rem; height: .45rem; border-radius: 50%; background: var(--lime); }

.hero { overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 56% 44%;
  align-items: center;
  min-height: clamp(34rem, 44vw, 42rem);
}
.hero-copy { position: relative; z-index: 1; padding-block: 3.75rem 4.75rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--lime);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow span { width: 1.5rem; height: 1px; background: currentColor; }
.hero h1 {
  margin-top: 1.15rem;
  font: 900 clamp(5.5rem, 11.2vw, 10.25rem)/.76 var(--display);
  letter-spacing: -.025em;
}
.hero-surname { display: block; margin-top: .085em; color: var(--lime); }
.hero-period { margin-left: .025em; }
.hero-description { max-width: 28rem; margin-top: 2rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.75rem; }
.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: .6rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  font-size: .95rem;
  font-weight: 700;
  transition: background-color .18s, border-color .18s, color .18s;
}
.button-primary { color: #161b0d; background: var(--lime); }
.button-primary:hover { background: #ddff9b; }
.button-outline { background: var(--background); border-color: #4b5541; }
.button-outline:hover { border-color: var(--lime); color: var(--lime); }

.hero-art { position: relative; align-self: stretch; isolation: isolate; }
.hero-grid {
  position: absolute;
  inset: 0 calc(-1 * var(--page-gutter)) 0 -15%;
  background:
    linear-gradient(90deg, var(--background) 0%, transparent 28%, transparent 82%, #10110f9e 100%),
    linear-gradient(0deg, var(--background) 0%, transparent 18%, transparent 88%, var(--background) 100%),
    repeating-linear-gradient(90deg, #b4da6a18 0 1px, transparent 1px 3.25rem),
    repeating-linear-gradient(0deg, #b4da6a18 0 1px, transparent 1px 3.25rem),
    radial-gradient(ellipse at 55% 57%, #374a22 0%, #1c2316 42%, #10110f 76%);
}
.hero-orbit {
  position: absolute;
  width: min(96%, 33rem);
  aspect-ratio: 1;
  top: 49%;
  left: 45%;
  translate: -50% -50%;
  border: 1px solid #baff474f;
  border-radius: 50%;
  box-shadow: inset 0 0 4rem #baff4719, 0 0 3.25rem #baff4712;
  background: radial-gradient(circle, #87ab4140, #42562560 65%, #688f2c32);
}
.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 5%;
  border: 1px dashed #baff473e;
  border-radius: inherit;
}
.hero-rays {
  position: absolute;
  inset: 13% 1% 6% 43%;
  transform: skewX(-17deg);
  background: repeating-linear-gradient(90deg, #c1ff4100 0 11px, #c1ff4163 12px 13px);
  mask-image: linear-gradient(145deg, transparent, #000 26%, #000 48%, transparent 84%);
}
.hero-spark {
  position: absolute;
  top: 18%;
  right: 1%;
  width: clamp(3rem, 7.5vw, 6.25rem);
  aspect-ratio: 1;
  transform: rotate(11deg);
}
.hero-portrait {
  position: absolute;
  bottom: 0;
  left: 45%;
  translate: -50% 0;
  width: auto;
  height: 90%;
  max-width: none;
  filter: saturate(.72) contrast(1.06) drop-shadow(0 0 2.3rem #111b0bb8);
  mask-image: linear-gradient(#000 85%, #0001 100%);
}
.viewfinder { position: absolute; inset: 12% 0 9% 1%; pointer-events: none; }
.viewfinder i { position: absolute; width: 1.05rem; height: 1.05rem; border: 0 solid #c1ff4178; }
.viewfinder i:nth-child(1) { inset: 0 auto auto 0; border-top-width: 1px; border-left-width: 1px; }
.viewfinder i:nth-child(2) { inset: 0 0 auto auto; border-top-width: 1px; border-right-width: 1px; }
.viewfinder i:nth-child(3) { inset: auto auto 0 0; border-bottom-width: 1px; border-left-width: 1px; }
.viewfinder i:nth-child(4) { inset: auto 0 0 auto; border-bottom-width: 1px; border-right-width: 1px; }

h2 {
  font: 900 clamp(3.7rem, 7.2vw, 7rem)/.86 var(--display);
  letter-spacing: -.017em;
  text-transform: uppercase;
}
h2 span { color: var(--lime); }
.work { padding-top: clamp(3.8rem, 6vw, 5.5rem); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.75rem;
  margin-bottom: 2.1rem;
}
.filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.filters button, .viewer-controls button {
  min-height: 2.75rem;
  padding: .35rem .85rem;
  border: 1px solid var(--line);
  border-radius: .2rem;
  background: transparent;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
  transition: border-color .18s, color .18s, background-color .18s;
}
.filters button:hover, .viewer-controls button:hover { border-color: var(--lime); color: var(--lime); }
.filters button[aria-pressed="true"] { border-color: var(--lime); background: var(--lime); color: var(--background); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.65rem);
  grid-auto-rows: 1fr;
}
.project-featured { grid-column: span 2; }
.work-grid.is-filtered .project-featured { grid-column: auto; }
.project {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: .4rem;
  overflow: clip;
  background: #171915;
  transition: border-color .2s;
}
.project:hover, .project:focus-within { border-color: #9aca4c; }
.project-link {
  display: flex;
  height: 100%;
  flex-direction: column;
}
.project-link:focus-visible { outline-offset: -3px; }
.project-art {
  position: relative;
  isolation: isolate;
  height: clamp(11.5rem, 21vw, 19rem);
  overflow: hidden;
  background: #232822;
}
.project-art img { width: 100%; height: 100%; object-fit: cover; transition: scale .3s; }
.project-link:hover img { scale: 1.035; }
.art-diptych { display: grid; grid-template-columns: 1fr 1fr; gap: .22rem; }
.art-diptych img { min-width: 0; min-height: 0; object-position: 50% 17%; }
.art-poster img { object-fit: contain; }
.art-ayam { background: radial-gradient(ellipse at 50% 65%, #4b2a1b, #16110d 68%); }
.art-ayam img { height: 109%; object-position: center top; }
.art-portrait img { object-position: 50% 33%; }
.art-invitation { background: radial-gradient(#558b9e, #28454c 72%); }
.art-invitation img, .art-bsi img, .art-archive img { padding: .9rem; }
.art-bsi { background: radial-gradient(#196061, #092f34 75%); }
.art-archive { background: radial-gradient(#647450, #273129 75%); }
.art-vertical { background: radial-gradient(#333f52, #141925 65%); }
.art-vertical img { object-fit: contain; }
.art-logo { display: grid; place-items: center; background: #eae8db; }
.art-logo img { width: 78%; height: 75%; min-height: 0; object-fit: contain; }
.art-glow { background: radial-gradient(at 45% 70%, #784d25, #302216 65%, #221a14); }
.art-glow img { position: absolute; inset: -20% 12% auto; height: 106%; width: 76%; object-position: bottom center; }
.art-kkm { background: #dce9e7; }
.art-paud { background: #1d483b; }
.art-miftahul { background: #dfebd5; }
.art-bungsu { background: #dcdad0; }
.art-count {
  position: absolute;
  z-index: 1;
  inset: auto .65rem .65rem auto;
  padding: .2rem .55rem;
  border: 1px solid #ffffff30;
  background: #10110fe8;
  color: var(--text);
  border-radius: .2rem;
  font-size: .775rem;
  font-weight: 600;
}
.play-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 3.25rem;
  aspect-ratio: 1;
  border: 1px solid #c1ff4188;
  border-radius: 50%;
  background: #161a10e8;
}
.play-badge::after {
  content: "";
  width: .85rem;
  height: .95rem;
  margin-left: .15rem;
  background: var(--lime);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.project-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  gap: .8rem;
  padding: 1rem 1.1rem 1.08rem;
}
.project-caption p, .viewer-category {
  color: var(--lime);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.project-caption h3 { margin-top: .15rem; font-size: clamp(1.05rem, 1.65vw, 1.4rem); line-height: 1.2; }
.project-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #444c3b;
  border-radius: 50%;
  color: var(--lime);
  font-size: 1.2rem;
  line-height: 1;
  transition: background-color .2s, color .2s;
}
.project-link:hover .project-icon { background: var(--lime); color: var(--background); }

.about { background: #161a13; border-block: 1px solid var(--line); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6.5rem);
}
.profile-photo {
  width: min(100%, 28rem);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 62%;
  border-radius: .3rem;
}
.about-name { margin-block: 1.1rem .55rem; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; }
.about-copy > p:not(.about-name), .about-details p, .timeline li p:last-child { color: var(--muted); }
.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  margin-block: 1.65rem 1.35rem;
  padding-block: 1.3rem;
  border-block: 1px solid var(--line);
}
.about-details h3, .tools-heading { margin-bottom: .35rem; font-size: 1rem; }
.about-details strong { color: var(--text); }
.tool-list { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; list-style: none; }
.tool-list li { border: 1px solid #3d4934; border-radius: .2rem; padding: .22rem .55rem; color: var(--muted); font-size: .875rem; }

.experience-grid { display: grid; grid-template-columns: .9fr 1.5fr; align-items: start; gap: clamp(2rem, 5vw, 5rem); }
.experience h2 span { display: block; }
.timeline { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.timeline li {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
}
.period { padding-top: .15rem; color: var(--lime); font-size: .875rem; font-weight: 600; }
.timeline h3 { font-size: 1.18rem; line-height: 1.25; }
.organization { margin-top: .15rem; color: #dce3d4; font-weight: 600; }
.timeline li p:last-child { margin-top: .3rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .3rem 1.25rem; padding-block: 1.15rem; color: var(--muted); font-size: .875rem; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 2.75rem; }

.viewer {
  width: min(69rem, 100% - 2rem);
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid #494f41;
  border-radius: .45rem;
  background: #191c16;
  color: var(--text);
  overscroll-behavior: contain;
}
.viewer::backdrop { background: #070806d9; backdrop-filter: blur(5px); }
.viewer-inner { position: relative; }
.viewer-close {
  position: absolute;
  z-index: 1;
  top: .65rem;
  right: .65rem;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #78806d;
  border-radius: 50%;
  background: #10110f;
  color: var(--text);
  font-size: 1.65rem;
  line-height: 1;
}
.viewer-close:hover { color: var(--lime); border-color: var(--lime); }
.viewer-media {
  display: grid;
  place-items: center;
  min-height: 8rem;
  background: #0f110e;
}
.viewer-media.is-logo { background: #dadbd0; }
.viewer-media.is-glow { background: #473224; }
.viewer-media img, .viewer-media video {
  display: block;
  max-width: 100%;
  max-height: min(67dvh, 45rem);
  object-fit: contain;
}
.viewer-media.is-logo img { padding: 1.35rem; }
.viewer-media video { width: 100%; background: #080908; }
.viewer-media .video-error { padding: 1.25rem; }
.viewer-info { padding: 1.15rem clamp(1rem, 3vw, 2rem) 1.35rem; }
.viewer-info h2 { margin: .3rem 0 .5rem; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1; }
.viewer-description { color: var(--muted); }
.viewer-download { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .3rem; color: var(--lime); font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; }
.viewer-caption { margin-top: .5rem; font-size: .875rem; }
.viewer-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: .8rem; }
.viewer-count { min-width: 2.9rem; text-align: center; color: var(--lime); font-size: .875rem; }

@media (max-width: 64rem) {
  .hero h1 { font-size: clamp(4.7rem, 11vw, 8.7rem); }
  .hero-inner { min-height: 35rem; }
  .section-head { align-items: start; flex-direction: column; gap: 1.1rem; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience h2 span { display: inline; }
}

@media (max-width: 47rem) {
  html { scroll-padding-top: 4.5rem; }
  .header-inner { grid-template-columns: auto 1fr; min-height: 3.65rem; gap: .65rem; }
  .header-inner nav { justify-self: end; gap: .85rem; }
  .header-location { display: none; }
  .hero-inner { display: block; min-height: 0; }
  .hero-copy { padding-block: 3.15rem 0; }
  .hero h1 { font-size: clamp(4rem, 16vw, 7rem); }
  .hero-description { margin-top: 1.35rem; }
  .hero-actions { margin-top: 1.2rem; }
  .hero-art { margin-top: .6rem; height: clamp(16rem, 76vw, 27rem); }
  .hero-grid { inset: 0 calc(-1 * var(--page-gutter)); }
  .hero-orbit { width: min(66%, 21rem); left: 52%; }
  .hero-rays { inset: 12% 9% 7% 41%; }
  .hero-spark { right: 12%; }
  .hero-portrait { left: 52%; height: 92%; }
  .viewfinder { inset: 13% 7% 10%; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: .8rem; }
  .project-art { height: auto; aspect-ratio: 4 / 3; }
  .project-featured .project-art { aspect-ratio: 2 / 1; }
  .work-grid.is-filtered .project-featured .project-art { aspect-ratio: 4 / 3; }
  .project-caption { gap: .4rem; padding: .78rem; }
  .project-icon { width: 1.65rem; height: 1.65rem; font-size: 1rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-copy { grid-row: 1; }
}

@media (max-width: 29rem) {
  h2 { font-size: clamp(3.1rem, 12vw, 3.7rem); }
  .header-inner nav { gap: clamp(.42rem, 2.8vw, .72rem); }
  .header-inner nav a { font-size: .8rem; }
  .brand { font-size: 1.17rem; }
  .brand-mark { width: 1.05rem; height: 1.05rem; margin-right: .4rem; }
  .filters { gap: .32rem; }
  .filters button { padding-inline: .58rem; }
  .project-caption { align-items: start; }
  .project-caption p { font-size: .68rem; letter-spacing: .06em; }
  .project-caption h3 { font-size: .99rem; }
  .project-icon { display: none; }
  .about-details, .timeline li { grid-template-columns: 1fr; gap: .65rem; }
  .timeline li { gap: .4rem; }
}

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