body {
  margin: 0;
  background: #0a0a0a;
  color: #f2f0ec;
  font-family: Inter, "Segoe UI", sans-serif;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(#f2f0ec 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  z-index: 60;
}

a {
  color: #f2f0ec;
  text-decoration-thickness: 1px;
}

a:hover {
  color: #ff4d1c;
}

:focus-visible {
  outline: 2px solid #ff4d1c;
  outline-offset: 4px;
}

header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}

.brand {
  font-family: Anton, Impact, sans-serif;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

#menu-button {
  width: 44px;
  height: 44px;
  min-height: 44px;
  min-width: 44px;
  border: 0;
  background:
    linear-gradient(#f2f0ec, #f2f0ec) center 16px / 22px 1px no-repeat,
    linear-gradient(#f2f0ec, #f2f0ec) center 24px / 22px 1px no-repeat;
  color: transparent;
  font-size: 0;
}

#nav-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 32px 24px 48px;
  background: #0a0a0a;
}

#nav-panel[hidden] {
  display: none;
}

#nav-panel a {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(56px, 12vw, 120px);
  line-height: 0.9;
  text-decoration: none;
  text-transform: uppercase;
}

#pembuka {
  position: relative;
  display: flex;
  box-sizing: border-box;
  height: 100svh;
  min-height: 640px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 88px 24px 28px;
  overflow: hidden;
}

.watermark {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #f2f0ec;
  font-family: Anton, Impact, sans-serif;
  font-size: 38vw;
  line-height: 1;
  opacity: 0.04;
  pointer-events: none;
}

.kicker,
.place,
dt,
.filter,
.tile figcaption,
.foot {
  color: #c8c3ba;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
.statement,
.marquee {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0;
  font-size: clamp(52px, 10vw, 140px);
  line-height: 0.82;
  word-spacing: 100vw;
}

.hero-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  border-top: 1px solid rgba(242, 240, 236, 0.15);
  padding-top: 24px;
}

.hero-foot p {
  max-width: 36rem;
  margin: 0;
  color: #c8c3ba;
  line-height: 1.6;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(242, 240, 236, 0.15);
  border-bottom: 1px solid rgba(242, 240, 236, 0.15);
  padding: 16px 0;
  font-size: clamp(32px, 5vw, 56px);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: marquee 28s linear infinite;
}

.marquee .dot {
  color: #ff4d1c;
}

section {
  padding: 96px 24px;
}

h2 {
  margin: 0 0 32px;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.9;
}

.about-grid {
  display: grid;
  gap: 48px;
}

.statement {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
}

.about-copy {
  color: #c8c3ba;
  line-height: 1.7;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0 0;
  border-top: 1px solid rgba(242, 240, 236, 0.15);
  padding-top: 24px;
}

.facts dd {
  margin: 8px 0 0;
  font-family: Anton, Impact, sans-serif;
  font-size: 28px;
  text-transform: uppercase;
}

.work-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 44px;
  border: 1px solid rgba(242, 240, 236, 0.2);
  border-radius: 999px;
  background: transparent;
  color: #c8c3ba;
  padding: 8px 16px;
}

.filter[aria-pressed="true"] {
  border-color: #f2f0ec;
  background: #f2f0ec;
  color: #0a0a0a;
}

.group {
  margin: 32px 0 16px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  column-span: all;
  grid-column: 1 / -1;
}

.photo-pack {
  columns: 1;
  column-gap: 16px;
}

.masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tile {
  position: relative;
  margin: 0 0 16px;
  break-inside: avoid;
}

.photo-pack .tile {
  display: inline-block;
  width: 100%;
  vertical-align: top;
}

.tile img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.tile-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
}

.tile-frame.is-short {
  aspect-ratio: 9 / 16;
}

.tile-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tile img {
  filter: grayscale(0.35);
}

.tile:hover img,
.tile:focus-within img {
  filter: none;
}

.tile figcaption {
  margin-top: 8px;
}

.tile-hit {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
}

.skill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill-row img {
  height: 48px;
  width: auto;
  background: transparent;
  filter: none;
}

#viewer {
  width: min(960px, calc(100vw - 32px));
  border: 0;
  background: #0a0a0a;
  color: #f2f0ec;
  padding: 16px;
}

#viewer::backdrop {
  background: rgba(10, 10, 10, 0.88);
}

#viewer img {
  display: block;
  width: 100%;
  height: auto;
}

#viewer-close {
  min-height: 44px;
  min-width: 44px;
  margin-bottom: 12px;
  border: 1px solid rgba(242, 240, 236, 0.2);
  background: transparent;
  color: #f2f0ec;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.contact-links img {
  height: 28px;
  width: auto;
}

@media (min-width: 800px) {
  header,
  #pembuka,
  section {
    padding-left: 40px;
    padding-right: 40px;
  }

  .about-grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .masonry {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .photo-pack {
    columns: 3;
  }
}

@media (max-width: 640px) {
  .masonry {
    grid-template-columns: 1fr;
  }

  .photo-pack {
    columns: 1;
  }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}
