/* Bilik Gelap: portfolio peribadi bertema bilik gelap (darkroom).
   Sentiasa mod gelap. Warna aksen = lampu selamat (safelight) merah-jingga. */
:root {
  --ink: #0b0a09;
  --ink-2: #131110;
  --ink-3: #1c1916;
  --paper: #ede6d9;
  --paper-dim: #b9b1a4;
  --muted: #7f776d;
  --line: rgba(237, 230, 217, .12);
  --line-strong: rgba(237, 230, 217, .28);
  --safe: #ff4b1f;
  --safe-glow: rgba(255, 75, 31, .35);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --gutter: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Potong apa-apa yang terkeluar sisi (cth. jalur filem senget) tanpa rosakkan position: sticky */
main { overflow-x: hidden; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
::selection { background: var(--safe); color: var(--ink); }
:focus-visible { outline: 2px solid var(--safe); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--safe); color: var(--ink); padding: 8px 12px; }
.skip:focus { left: 8px; }

/* Bijian filem di atas semua */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { background-position: 0 0; } 20% { background-position: -37px 23px; } 40% { background-position: 51px -64px; }
  60% { background-position: -88px -12px; } 80% { background-position: 29px 77px; } 100% { background-position: 0 0; }
}

/* ---------- KURSOR ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
    width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
    background: var(--safe); mix-blend-mode: screen;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, border-radius .35s;
  }
  .cursor.is-media {
    width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 2px; background: transparent;
    mix-blend-mode: normal;
    background:
      linear-gradient(var(--paper), var(--paper)) top left / 14px 1.5px no-repeat,
      linear-gradient(var(--paper), var(--paper)) top left / 1.5px 14px no-repeat,
      linear-gradient(var(--paper), var(--paper)) top right / 14px 1.5px no-repeat,
      linear-gradient(var(--paper), var(--paper)) top right / 1.5px 14px no-repeat,
      linear-gradient(var(--paper), var(--paper)) bottom left / 14px 1.5px no-repeat,
      linear-gradient(var(--paper), var(--paper)) bottom left / 1.5px 14px no-repeat,
      linear-gradient(var(--paper), var(--paper)) bottom right / 14px 1.5px no-repeat,
      linear-gradient(var(--paper), var(--paper)) bottom right / 1.5px 14px no-repeat;
  }
  .cursor-label {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    font: 500 10px/1 var(--mono); letter-spacing: .12em; color: var(--paper); white-space: nowrap;
    opacity: 0; transition: opacity .2s;
  }
  .cursor.is-media .cursor-label { opacity: 1; }
}

/* ---------- BAR ATAS ---------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.bar.is-solid { background: rgba(11, 10, 9, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.mark { display: flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; letter-spacing: .02em; }
.mark em { font-size: 19px; color: var(--paper-dim); }
.mark-slash { color: var(--muted); font-weight: 400; }
.mark-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 12px var(--safe); margin-right: 4px; }
.bar-clock { color: var(--paper-dim); }
.bar-clock span { color: var(--paper); }
.bar-nav { display: flex; align-items: center; gap: 26px; }
.bar-nav a { text-decoration: none; display: flex; gap: 6px; align-items: baseline; transition: color .2s; }
.bar-nav a span { color: var(--safe); font-size: 9px; }
.bar-nav a:hover { color: var(--safe); }
.bar-cta { border: 1px solid var(--line-strong); padding: 8px 14px; border-radius: 99px; transition: background .25s, color .25s, border-color .25s !important; }
.bar-cta:hover { background: var(--safe); border-color: var(--safe); color: var(--ink) !important; }
.bar-menu { display: none; border: 1px solid var(--line-strong); border-radius: 99px; padding: 8px 14px; }

@media (max-width: 860px) {
  .bar-clock { display: none; }
  .bar-menu { display: block; }
  .bar-nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 22px;
    background: var(--ink); font-size: 15px;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .bar-nav a { font-family: var(--serif); font-size: 44px; text-transform: none; letter-spacing: 0; }
  .bar-nav a span { font-family: var(--mono); font-size: 11px; }
  .bar-cta { font-size: 28px !important; padding: 10px 26px; }
  .bar.is-open .bar-nav { opacity: 1; visibility: visible; }
}

/* ---------- HERO / VIEWFINDER ---------- */
.hero { min-height: 100svh; padding: 72px var(--gutter) 0; display: flex; flex-direction: column; }
.vf {
  position: relative; flex: 1; min-height: 520px; overflow: hidden; border-radius: 6px;
  background: #000;
}
.vf-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vf-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, .55) 100%),
    linear-gradient(to top, rgba(11, 10, 9, .85) 0%, transparent 55%);
}
/* Kesan "cuci filem": hero mula merah lampu selamat, kemudian timbul */
.js .vf-video { filter: sepia(1) saturate(6) hue-rotate(-40deg) brightness(.15) contrast(1.6); transform: scale(1.08); }
.js .is-loaded .vf-video { filter: none; transform: scale(1); transition: filter 2.8s var(--ease) .2s, transform 3.4s var(--ease); }

.hud { position: absolute; inset: 18px; pointer-events: none; color: var(--paper); }
.c { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(237, 230, 217, .8); }
.c-tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.c-tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.c-bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.c-br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.hud-top, .hud-bottom { position: absolute; left: 40px; right: 40px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.hud-top { top: 6px; }
.hud-bottom { bottom: 6px; justify-content: flex-end; gap: 22px; color: var(--paper-dim); }
.rec { display: flex; align-items: center; gap: 8px; color: var(--safe); }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--safe); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hud-focus {
  position: absolute; left: 50%; top: 42%; width: 64px; height: 44px; transform: translate(-50%, -50%);
  border: 1px solid rgba(237, 230, 217, .55);
}
.hud-focus span { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; background: var(--safe); border-radius: 50%; }
.meter { display: flex; gap: 3px; align-items: flex-end; }
.meter i { width: 2px; height: 6px; background: rgba(237, 230, 217, .5); }
.meter i.on { height: 12px; background: var(--safe); }

.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(24px, 5vw, 72px) clamp(52px, 7vw, 84px); }
.eyebrow { color: var(--paper-dim); margin: 0 0 12px; }
.hero-name {
  font-family: var(--serif); font-weight: 400; margin: 0; line-height: .82; letter-spacing: -.02em;
  font-size: clamp(76px, 17vw, 260px);
}
.hero-name .line { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.hero-name .line > * { display: inline-block; }
.hero-name em { color: var(--safe); }
.js .hero-name .line > * { transform: translateY(105%); }
.js .is-loaded .hero-name .line > * { transform: none; transition: transform 1.3s var(--ease) 1s; }
.js .is-loaded .hero-name .line + .line > * { transition-delay: 1.15s; }
.hero-sub { max-width: 440px; margin: 18px 0 0; color: var(--paper-dim); font-size: clamp(15px, 1.4vw, 18px); }
.js .hero-sub, .js .eyebrow { opacity: 0; }
.js .is-loaded .hero-sub, .js .is-loaded .eyebrow { opacity: 1; transition: opacity 1.2s 1.6s; }

.hero-foot { display: flex; justify-content: space-between; gap: 12px; padding: 18px 2px 22px; color: var(--muted); }
.scroll-cue { text-decoration: none; color: var(--paper); }
.scroll-cue span { display: inline-block; color: var(--safe); animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

@media (max-width: 640px) {
  .hud-hide-sm, .hero-foot > span { display: none; }
  .hero-foot { justify-content: center; }
  .hud { inset: 12px; }
  .hud-top, .hud-bottom { left: 32px; right: 32px; }
}

/* ---------- JALUR FILEM ---------- */
.strip {
  position: relative; overflow: hidden; background: var(--safe); color: var(--ink); padding: 18px 0;
  transform: rotate(-1.2deg); margin: 34px -10px 0;
}
.strip::before, .strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 7px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 9px, transparent 9px 22px);
}
.strip::before { top: 4px; }
.strip::after { bottom: 4px; }
.strip-track { display: flex; gap: 26px; width: max-content; font-size: 13px; font-weight: 500; animation: marquee 32s linear infinite; }
.strip-track b { font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SEKSYEN ---------- */
.section { padding: clamp(80px, 12vw, 160px) var(--gutter) 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 24px; align-items: end; margin-bottom: 44px; }
.sec-num { color: var(--safe); margin: 0; }
.sec-title { font-family: var(--serif); font-weight: 400; margin: 0; font-size: clamp(48px, 7vw, 108px); line-height: .92; letter-spacing: -.015em; }
.sec-title em { color: var(--paper-dim); }
.sec-note { color: var(--paper-dim); margin: 0; max-width: 340px; justify-self: end; }
@media (max-width: 860px) {
  .sec-head { grid-template-columns: 1fr; gap: 14px; }
  .sec-note { justify-self: start; }
}

/* ---------- PENAPIS (label gulung filem) ---------- */
.rolls { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.roll {
  position: relative; padding: 9px 16px 9px 26px; border: 1px solid var(--line-strong); border-radius: 3px;
  transition: background .25s, color .25s, border-color .25s;
}
.roll::before { content: ""; position: absolute; left: 11px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; border: 1px solid currentColor; }
.roll sup { color: var(--muted); font-size: 9px; margin-left: 2px; }
.roll:hover { border-color: var(--paper); }
.roll.is-on { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.roll.is-on::before { background: var(--safe); border-color: var(--safe); }
.roll.is-on sup { color: var(--ink); opacity: .6; }

/* ---------- HELAIAN KONTAK ---------- */
.sheet {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 15vw; grid-auto-flow: dense; gap: 34px 14px;
  background: var(--ink-2); padding: 30px 22px; border-radius: 4px; border: 1px solid var(--line);
  position: relative;
}
.frame { position: relative; display: flex; flex-direction: column; min-height: 0; }
.frame.tall { grid-row: span 2; }
.frame.wide { grid-column: span 2; grid-row: span 2; }
.frame-btn { position: relative; flex: 1; min-height: 0; display: block; width: 100%; overflow: visible; text-align: left; }
.frame-btn .develop { position: absolute; inset: 0; }
.frame-meta { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; color: var(--muted); font-size: 10px; }
.frame-meta b { color: var(--safe); font-weight: 500; }
.frame.is-hidden { display: none; }

.develop { margin: 0; overflow: hidden; background: var(--ink-3); }
.develop img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.js .develop img {
  filter: sepia(1) saturate(5) hue-rotate(-38deg) brightness(.25) contrast(1.8) blur(2px);
  opacity: .5;
}
.js .develop.is-dev img {
  filter: none; opacity: 1;
  transition: filter 2.4s var(--ease), opacity 1.2s, transform .9s var(--ease);
}
.frame-btn:hover .develop img { transform: scale(1.04); }

/* Bulatan pensel gris */
.grease {
  position: absolute; inset: -12px -10px; width: calc(100% + 20px); height: calc(100% + 24px);
  pointer-events: none; overflow: visible; z-index: 2;
}
.grease path { fill: none; stroke: var(--safe); stroke-width: 1.1; stroke-linecap: round; stroke-dasharray: 1 2; stroke-dashoffset: 1.05; transition: stroke-dashoffset .7s var(--ease); filter: drop-shadow(0 0 6px var(--safe-glow)); }
.frame-btn:hover .grease path, .frame-btn:focus-visible .grease path { stroke-dashoffset: 0; }
.grease-tag {
  position: absolute; z-index: 3; top: -10px; right: -6px; transform: rotate(6deg) scale(.6);
  font: 400 26px/1 var(--serif); font-style: italic; color: var(--safe);
  opacity: 0; transition: opacity .3s .25s, transform .4s var(--ease) .25s;
}
.frame-btn:hover .grease-tag, .frame-btn:focus-visible .grease-tag { opacity: 1; transform: rotate(6deg) scale(1); }

@media (max-width: 1000px) { .sheet { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 22vw; } }
@media (max-width: 640px) {
  .sheet { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 40vw; gap: 30px 10px; padding: 18px 12px; }
  .frame.wide { grid-row: span 1; }
}

/* ---------- GULUNGAN FILEM ---------- */
.reel-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--paper-dim); }
.reel-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 16px; margin-left: 6px;
  transition: background .25s, color .25s, border-color .25s;
}
.reel-btn:hover { background: var(--safe); border-color: var(--safe); color: var(--ink); }
.reel {
  display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  cursor: grab;
}
.reel::-webkit-scrollbar { display: none; }
.reel.is-drag { cursor: grabbing; scroll-snap-type: none; }
.reel.is-drag .film { pointer-events: none; }
.film {
  flex: 0 0 min(76vw, 620px); scroll-snap-align: start;
  background: #050404; padding: 26px 10px; position: relative;
}
.film::before, .film::after {
  content: ""; position: absolute; left: 0; right: 0; height: 10px;
  background: repeating-linear-gradient(90deg, transparent 0 7px, var(--ink-3) 7px 19px, transparent 19px 26px);
}
.film::before { top: 8px; }
.film::after { bottom: 8px; }
.film-btn { display: block; width: 100%; text-align: left; }
.film-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 2px; }
.film-screen img, .film-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-screen video { opacity: 0; transition: opacity .5s; }
.film.is-playing .film-screen video { opacity: 1; }
.film-play {
  position: absolute; left: 16px; bottom: 14px; display: flex; align-items: center; gap: 10px;
  font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
}
.film-play i {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(11, 10, 9, .55); backdrop-filter: blur(6px);
  border: 1px solid rgba(237, 230, 217, .4); display: grid; place-items: center; font-style: normal; font-size: 11px;
  transition: background .25s, border-color .25s, color .25s;
}
.film-btn:hover .film-play i { background: var(--safe); border-color: var(--safe); color: var(--ink); }
.film-dur { position: absolute; right: 14px; top: 12px; font: 500 10px/1 var(--mono); letter-spacing: .1em; background: rgba(11, 10, 9, .6); padding: 5px 7px; border-radius: 2px; }
.film-info { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 4px 0; }
.film-title { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1; }
.film-sub { color: var(--muted); text-align: right; }
.film-sub b { color: var(--safe); font-weight: 500; }

/* ---------- TENTANG ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-photo { position: sticky; top: 90px; }
.about-photo .develop { aspect-ratio: 3 / 4; border-radius: 3px; }
.about-cap { color: var(--muted); margin: 12px 0 0; text-transform: none; letter-spacing: .02em; }
.about-lede { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; margin: 18px 0 28px; letter-spacing: -.01em; }
.about-lede em { color: var(--safe); }
.about-text { color: var(--paper-dim); max-width: 560px; margin: 0; font-size: 17px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 48px 0; border-top: 1px solid var(--line); }
.stats div { padding: 18px 16px 0 0; border-right: 1px solid var(--line); }
.stats div + div { padding-left: 16px; }
.stats div:last-child { border-right: 0; }
.stats dt { color: var(--muted); }
.stats dd { margin: 6px 0 0; font-family: var(--serif); font-size: clamp(54px, 6vw, 88px); line-height: 1; }
.kit { border: 1px dashed var(--line-strong); border-radius: 4px; padding: 20px 22px; }
.kit-title { color: var(--safe); margin: 0 0 12px; }
.kit ul { list-style: none; margin: 0; padding: 0; text-transform: none; letter-spacing: .01em; font-size: 12.5px; color: var(--paper-dim); }
.kit li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.kit li:first-child { border-top: 0; }
.kit li span { color: var(--muted); text-transform: uppercase; font-size: 10px; letter-spacing: .1em; padding-top: 2px; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 440px; }
}

/* ---------- LOG LAPANGAN ---------- */
.log { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.log li {
  display: grid; grid-template-columns: 90px 1.4fr 1fr 1fr; gap: 16px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line); position: relative;
  transition: padding .4s var(--ease), color .3s;
}
.log li::before { content: ""; position: absolute; inset: 0; background: var(--safe); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.log-title { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 48px); line-height: 1; }
.log-place { color: var(--paper-dim); }
.log-type { color: var(--muted); text-align: right; }
.log .mono:first-child { color: var(--safe); }
@media (hover: hover) {
  .log li:hover { padding-left: 18px; padding-right: 18px; color: var(--ink); }
  .log li:hover::before { transform: scaleY(1); }
  .log li:hover .log-place, .log li:hover .log-type, .log li:hover .mono:first-child { color: var(--ink); }
}
.log { position: relative; z-index: 0; }
.log-peek {
  position: fixed; left: 0; top: 0; z-index: 40; width: 260px; aspect-ratio: 3 / 2; pointer-events: none;
  border-radius: 3px; overflow: hidden; opacity: 0; transform: scale(.85) rotate(-3deg);
  transition: opacity .25s, transform .35s var(--ease); box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}
.log-peek.is-on { opacity: 1; transform: scale(1) rotate(-3deg); }
.log-peek img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .log li { grid-template-columns: 56px 1fr; row-gap: 4px; }
  .log-place, .log-type { grid-column: 2; text-align: left; }
  .log-peek { display: none; }
}

/* ---------- HUBUNGI ---------- */
.contact {
  padding: clamp(100px, 14vw, 200px) var(--gutter) 60px; margin-top: clamp(80px, 12vw, 160px);
  position: relative; overflow: hidden; border-top: 1px solid var(--line);
  background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(255, 75, 31, .28), transparent 70%);
}
.contact-title { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 12vw, 190px); line-height: .88; margin: 20px 0 40px; letter-spacing: -.02em; }
.contact-title em { color: var(--safe); }
.contact-mail {
  display: inline-flex; align-items: center; gap: 18px; text-decoration: none;
  font-size: clamp(22px, 3vw, 40px); border-bottom: 1px solid var(--line-strong); padding-bottom: 8px;
  transition: color .25s, border-color .25s;
}
.contact-arrow { display: inline-grid; place-items: center; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--safe); color: var(--ink); font-size: .7em; transition: transform .4s var(--ease); }
.contact-mail:hover { color: var(--safe); border-color: var(--safe); }
.contact-mail:hover .contact-arrow { transform: rotate(45deg); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 80px; }
.contact-grid span { color: var(--muted); }
.contact-grid p { margin: 8px 0 0; text-transform: none; letter-spacing: .02em; font-size: 13px; color: var(--paper); }
.contact-grid a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.contact-grid a:hover { color: var(--safe); border-color: var(--safe); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5ee38a; margin-right: 8px; box-shadow: 0 0 10px #5ee38a; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; margin-top: 50px; } }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px var(--gutter); border-top: 1px solid var(--line); color: var(--muted); }
.foot a { text-decoration: none; color: var(--paper); }
.foot a:hover { color: var(--safe); }

/* ---------- LIGHTBOX ---------- */
.lb {
  position: fixed; inset: 0; z-index: 80; background: rgba(6, 5, 5, .96);
  display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: 70px 1fr 70px;
  padding: 14px var(--gutter) 22px; opacity: 0; transition: opacity .3s;
}
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; color: var(--paper-dim); padding-bottom: 12px; }
.lb-close { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 99px; }
.lb-close:hover { background: var(--safe); color: var(--ink); border-color: var(--safe); }
.lb-stage { grid-column: 2; display: grid; place-items: center; min-height: 0; min-width: 0; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; animation: lbIn .5s var(--ease); }
.lb-stage video { width: 100%; background: #000; }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); filter: brightness(.3) sepia(1) hue-rotate(-40deg) saturate(4); } }
.lb-nav { align-self: center; justify-self: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 18px; }
.lb-nav:hover { background: var(--safe); border-color: var(--safe); color: var(--ink); }
.lb-cap { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-top: 14px; }
.lb-title { font-family: var(--serif); font-size: 30px; margin: 0; line-height: 1; }
.lb-meta { color: var(--muted); margin: 0; }
@media (max-width: 640px) {
  .lb { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto auto; }
  .lb-stage { grid-column: 1 / -1; }
  .lb-prev, .lb-next { grid-row: 3; margin-top: 12px; }
  .lb-cap { grid-row: 4; }
}

/* ---------- MUNCUL SEMASA TATAL ---------- */
.js .rise { opacity: 0; transform: translateY(28px); }
.js .rise.is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .js .vf-video, .js .develop img { filter: none; opacity: 1; transform: none; }
  .js .hero-name .line > *, .js .rise { transform: none; opacity: 1; }
  .js .hero-sub, .js .eyebrow { opacity: 1; }
}
