/* =========================================================
   Karyatera — creative production house
   ========================================================= */

:root {
  /* Palet */
  --ink: #0F0F0E;
  --ink-2: #181816;
  --ink-3: #232320;
  --paper: #F6F7F9;
  --cream: #FEF2E9;
  --amber: #EA9C40;
  --orange: #F28D24;
  --rust: #C05035;
  --maroon: #8B2532;

  --muted: #A09F9A;
  --line: rgba(246, 247, 249, 0.14);
  --line-strong: rgba(246, 247, 249, 0.34);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(16px, 1.6vw, 28px);
  --hdr-h: 76px;
  --ui: 500 12.5px/1.2 var(--font);
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

[hidden] { display: none !important; }
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }

::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: var(--gutter); top: -80px; z-index: 200;
  background: var(--amber); color: var(--ink); padding: 10px 14px;
  font: var(--ui); text-transform: uppercase; text-decoration: none;
}
.skip:focus { top: 14px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* ---------- Tipografi ---------- */
.display {
  font-family: var(--font);
  font-stretch: 70%;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.012em;
  font-size: clamp(46px, 6.6vw, 116px);
  text-wrap: balance;
}
.display--xl { font-size: clamp(54px, 8.6vw, 150px); }
.display--md { font-size: clamp(36px, 4.4vw, 76px); }
.display--left { text-align: left; }

.ui {
  font: var(--ui);
  text-transform: uppercase;
}

/* Teks dipecah per kata oleh JS — sembunyikan sampai siap supaya tidak berkedip */
html.js [data-split] { visibility: hidden; }
.split-line { padding-bottom: 0.04em; margin-bottom: -0.04em; }

/* ---------- Efek teks bergulir (tombol & tautan) ---------- */
.roll { display: inline-grid; overflow: hidden; vertical-align: top; line-height: 1.2; }
.roll-row { grid-area: 1 / 1; display: flex; white-space: nowrap; }
.roll .ch {
  display: inline-block;
  transition: transform 0.6s var(--ease);
  transition-delay: calc(var(--i) * 16ms);
}
.roll-row + .roll-row .ch { transform: translateY(115%); }
[data-roll]:not([data-roll-alt]):hover .roll-row:first-child .ch,
[data-roll]:not([data-roll-alt]):focus-visible .roll-row:first-child .ch,
[data-roll].is-rolled .roll-row:first-child .ch { transform: translateY(-115%); }
[data-roll]:not([data-roll-alt]):hover .roll-row + .roll-row .ch,
[data-roll]:not([data-roll-alt]):focus-visible .roll-row + .roll-row .ch,
[data-roll].is-rolled .roll-row + .roll-row .ch { transform: translateY(0); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start;
  padding: 18px var(--gutter);
  pointer-events: none;
  view-transition-name: site-header;
}
.hdr > * { pointer-events: auto; }
.hdr::before {
  content: ""; position: absolute; inset: 0 0 -36px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(15, 15, 14, 0.78), rgba(15, 15, 14, 0));
  opacity: 0; transition: opacity 0.5s var(--ease-out);
}
.is-scrolled .hdr::before { opacity: 1; }
.menu-open .hdr::before { opacity: 0; }

.hdr-nav { display: flex; flex-direction: column; align-items: flex-start; justify-self: start; }
.hdr-link {
  display: inline-flex; align-items: center;
  font: var(--ui); text-transform: uppercase; text-decoration: none;
  transition: color 0.3s;
}
.hdr-link::before {
  content: ""; display: block; width: 0; height: 1px; margin-right: 0;
  background: currentColor;
  transition: width 0.45s var(--ease-out), margin 0.45s var(--ease-out);
}
.hdr-link:hover::before, .hdr-link.is-current::before { width: 10px; margin-right: 6px; }
.hdr-link.is-current { color: var(--amber); }

.hdr-logo { display: block; width: clamp(126px, 10.5vw, 158px); color: var(--paper); line-height: 0; }
.hdr-logo svg { width: 100%; height: auto; }

.hdr-actions { display: flex; gap: 6px; justify-self: end; }

.pill {
  display: inline-flex; align-items: center;
  font: var(--ui); text-transform: uppercase; text-decoration: none;
  color: var(--paper);
  background: rgba(78, 78, 72, 0.5);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 0; border-radius: 2px;
  padding: 7px 10px 6px;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.pill:hover { background: var(--paper); color: var(--ink); }
.pill--accent { background: var(--rust); }
.pill--accent:hover { background: var(--amber); color: var(--ink); }
.pill.is-open { background: var(--paper); color: var(--ink); }

/* ---------- Menu ---------- */
.menu { position: fixed; inset: 0; z-index: 55; visibility: hidden; }
.menu.is-open { visibility: visible; }
.menu-overlay { position: absolute; inset: 0; background: rgba(15, 15, 14, 0.62); opacity: 0; }
.menu-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(78vw, 1120px);
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px clamp(24px, 8vw, 150px) 90px;
}
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  display: block; width: fit-content; overflow: hidden;
  font-stretch: 70%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(48px, 6.4vw, 104px); line-height: 0.92;
  text-decoration: none;
  padding-bottom: 0.03em;
}
.menu-links a > span { display: inline-block; transition: color 0.3s; }
.menu-links a:hover > span, .menu-links a.is-current > span { color: var(--amber); }
.menu-foot {
  position: absolute; left: clamp(24px, 8vw, 150px); right: clamp(24px, 8vw, 150px); bottom: 34px;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font: var(--ui); text-transform: uppercase; opacity: 0;
}
.menu-foot a { text-decoration: none; color: var(--muted); transition: color 0.3s; }
.menu-foot a:hover { color: var(--paper); }

/* ---------- Loader (hanya kunjungan pertama) ---------- */
.loader { position: fixed; inset: 0; z-index: 150; display: none; place-items: center; background: var(--rust); }
html.is-loading .loader { display: grid; }
html.is-loading { overflow: hidden; }
.loader-bg { position: absolute; inset: 0; }
.loader-mark { position: relative; z-index: 1; display: grid; justify-items: center; gap: 34px; }
.loader-k { width: clamp(84px, 9vw, 132px); height: auto; overflow: visible; fill: var(--cream); filter: drop-shadow(0 22px 32px rgba(70, 18, 0, 0.35)); }
.loader-bar { position: relative; width: 120px; height: 1px; background: rgba(254, 242, 233, 0.3); overflow: hidden; }
.loader-bar > span { position: absolute; inset: 0; background: var(--cream); transform-origin: left; transform: scaleX(0); }

/* ---------- Video YouTube sebagai latar ---------- */
.yt-host {
  position: absolute; inset: 0; overflow: hidden;
  pointer-events: none;
  container-type: size;
  opacity: 0; transition: opacity 0.9s var(--ease-out);
}
.yt-host.is-playing { opacity: 1; }
.yt-host iframe {
  position: absolute; top: 50%; left: 50%;
  width: max(100cqw, 177.78cqh); height: max(56.25cqw, 100cqh);
  max-width: none;
  transform: translate(-50%, -50%) scale(1.2);
  border: 0;
}
.yt-host--contain iframe {
  width: min(100cqw, 177.78cqh); height: min(56.25cqw, 100cqh);
  transform: translate(-50%, -50%);
}

.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero {
  position: sticky; top: 0; z-index: 0;
  height: 100svh; min-height: 560px;
  overflow: hidden; background: #000;
}
.hero-inner { position: absolute; inset: 0; transform-origin: 50% 70%; }
.hero-media { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; }
.hero-slide.is-active { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(15, 15, 14, 0.55), rgba(15, 15, 14, 0) 26%, rgba(15, 15, 14, 0) 62%, rgba(15, 15, 14, 0.7)),
    radial-gradient(ellipse at center, rgba(15, 15, 14, 0.12), rgba(15, 15, 14, 0.42));
}
.hero-dim { position: absolute; inset: 0; background: var(--ink); opacity: 0; pointer-events: none; }

.hero-copy {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; justify-items: center;
  text-align: center; padding: 0 var(--gutter);
  pointer-events: none;
}
.hero-titles { display: grid; perspective: 900px; }
.hero-title {
  grid-area: 1 / 1;
  background: none; border: 0; padding: 0; margin: 0;
  color: var(--paper);
  font-size: clamp(52px, 8.4vw, 148px);
  opacity: 0;
  pointer-events: none;
  transform-origin: 50% 50% -0.55em;
  backface-visibility: hidden;
  cursor: pointer;
}
.hero-title.is-active { pointer-events: auto; }
.hero-subs { display: grid; overflow: hidden; margin-top: 16px; }
.hero-sub { grid-area: 1 / 1; font: 500 13px/1.3 var(--font); }
.hero-watch { margin-top: 26px; pointer-events: auto; }

.hero-ctrl {
  position: absolute; left: 50%; bottom: 26px; z-index: 3;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px;
  font: var(--ui);
}
.hero-num { display: inline-grid; overflow: hidden; min-width: 2ch; }
.hero-num > span { grid-area: 1 / 1; }
.hero-dots { display: flex; align-items: center; gap: 12px; }
.hero-dot {
  position: relative; width: 2px; height: 16px; padding: 0; border: 0;
  background: var(--paper);
  transition: width 0.7s var(--ease), background-color 0.4s;
}
.hero-dot::after { content: ""; position: absolute; inset: -10px -6px; }
.hero-dot.is-active { width: 32px; background: transparent; box-shadow: inset 0 0 0 1px var(--paper); }
.hero-dot-fill { position: absolute; inset: 3px; background: var(--amber); transform-origin: left; transform: scaleX(0); }
.hero-dot:not(.is-active) .hero-dot-fill { opacity: 0; }

/* ---------- Kepala seksi: + LABEL + ---------- */
.shead {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  background: var(--ink);
}
.shead-line { position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--line-strong); transform-origin: 50% 50%; }
.shead-label { font: var(--ui); text-transform: uppercase; }
.shead-plus { position: relative; width: 12px; height: 12px; }
.shead-plus::before, .shead-plus::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1px;
  background: currentColor;
}
.shead-plus::after { transform: rotate(90deg); }

/* ---------- Tombol kurung [ ... ] ---------- */
.bracket {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center;
  padding: 4px 12px 3px;
  font: var(--ui); text-transform: uppercase; text-decoration: none;
  color: var(--paper); background: none; border: 0;
  transition: color 0.35s var(--ease-out);
}
.bracket::before, .bracket::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 6px;
  border: 1px solid var(--amber);
  transition: transform 0.55s var(--ease-out);
}
.bracket::before { left: 0; border-right: 0; }
.bracket::after { right: 0; border-left: 0; }
.bracket-fill {
  position: absolute; inset: 0; z-index: -1;
  background: var(--paper);
  clip-path: inset(30% 50%); opacity: 0;
  transition: clip-path 0.6s var(--ease), opacity 0.25s;
}
.bracket:hover, .bracket:focus-visible { color: var(--ink); }
.bracket:hover .bracket-fill, .bracket:focus-visible .bracket-fill { clip-path: inset(0 0); opacity: 1; }
.bracket:hover::before { transform: translateX(-5px); }
.bracket:hover::after { transform: translateX(5px); }
.bracket--dark::before, .bracket--dark::after { border-color: var(--cream); }

/* ---------- Seksi pernyataan (gambar penuh + judul besar) ---------- */
.statement { position: relative; z-index: 2; background: var(--ink); }
.statement-body {
  position: relative; overflow: hidden;
  height: 100svh; min-height: 560px;
  display: grid; place-items: center;
}
.statement-media { position: absolute; inset: 0; overflow: hidden; background: var(--ink-2); }
.statement-media img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.statement-media::after { content: ""; position: absolute; inset: 0; background: rgba(15, 15, 14, 0.46); }
.statement-copy { position: relative; z-index: 2; display: grid; justify-items: center; gap: 34px; padding: 0 var(--gutter); text-align: center; }

/* ---------- Showreel ---------- */
.reel { position: relative; z-index: 2; background: var(--ink); }
.reel-pin { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: grid; place-items: center; }
.reel-frame {
  position: absolute; inset: 0; padding: 0; border: 0; background: #000;
  clip-path: inset(26% 32% 26% 32% round 16px);
}
.reel-media { position: absolute; inset: 0; }
.reel-media::after { content: ""; position: absolute; inset: 0; background: rgba(15, 15, 14, 0.28); }
.reel-copy { position: relative; z-index: 2; display: grid; justify-items: center; gap: 30px; text-align: center; pointer-events: none; padding: 0 var(--gutter); }
.reel-copy .bracket { pointer-events: auto; }

/* ---------- Kartu artikel ---------- */
.posts { position: relative; z-index: 2; background: var(--ink); padding-bottom: clamp(80px, 10vw, 140px); }
.posts-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: clamp(72px, 9vw, 130px) var(--gutter) clamp(40px, 5vw, 64px);
}
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--gutter); padding: 0 var(--gutter); }
.post-card { display: block; text-decoration: none; color: inherit; }
.post-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease-out); }
.post-card:hover .post-media img, .post-card:hover .post-media .stripes-art { transform: scale(1.05); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; font: var(--ui); text-transform: uppercase; color: var(--muted); }
.post-meta .tag { color: var(--amber); }
.post-title {
  margin-top: 10px;
  font-stretch: 74%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(24px, 2.1vw, 34px); line-height: 0.98;
  text-wrap: balance;
  transition: color 0.3s;
}
.post-card:hover .post-title { color: var(--amber); }
.post-excerpt { margin-top: 12px; color: var(--muted); max-width: 46ch; }

/* Pola garis oranye (versi CSS, untuk kartu tanpa gambar) */
.stripes-art {
  position: absolute; inset: 0;
  transition: transform 1.3s var(--ease-out);
  background:
    repeating-linear-gradient(38deg, rgba(60, 14, 0, 0.32) 0, rgba(60, 14, 0, 0) 26px, rgba(255, 236, 214, 0.05) 118px, rgba(255, 236, 214, 0.14) 128px, rgba(60, 14, 0, 0.32) 130px),
    linear-gradient(118deg, #F7A04A 0%, #F28D24 26%, #C05035 56%, #8B2532 80%, #0F0F0E 104%);
}
.stripes-art svg { position: absolute; left: 50%; top: 50%; width: 22%; transform: translate(-50%, -50%); color: var(--cream); filter: drop-shadow(0 12px 18px rgba(70, 18, 0, 0.35)); }
.stripes-fallback { background: linear-gradient(118deg, #F7A04A 0%, #F28D24 26%, #C05035 56%, #8B2532 80%, #0F0F0E 104%); }
.stripes-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Klien ---------- */
.clients { position: relative; z-index: 2; background: var(--ink); padding-bottom: clamp(80px, 9vw, 130px); }
.clients-title { margin: clamp(90px, 15vw, 230px) auto; text-align: center; padding: 0 var(--gutter); }
.marquee { position: relative; overflow: hidden; background: #FFFFFF; color: var(--ink); }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; z-index: 2; width: 12%; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, #FFFFFF, rgba(255, 255, 255, 0)); }
.marquee::after { right: 0; background: linear-gradient(to left, #FFFFFF, rgba(255, 255, 255, 0)); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-item {
  position: relative; flex: none;
  display: grid; place-items: center;
  min-width: clamp(190px, 18vw, 260px); height: clamp(96px, 9vw, 128px); padding: 0 42px;
  font-stretch: 76%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(18px, 1.5vw, 24px); line-height: 1; text-align: center; white-space: nowrap;
}
.marquee-item img { max-height: 54px; max-width: 150px; width: auto; height: auto; }
.marquee-item::before, .marquee-item::after {
  content: ""; position: absolute; top: 28%; bottom: 28%; width: 8px; border: 1px solid rgba(15, 15, 14, 0.18);
}
.marquee-item::before { left: 12px; border-right: 0; }
.marquee-item::after { right: 12px; border-left: 0; }

/* ---------- Ajakan (garis oranye hidup) ---------- */
.cta { position: relative; z-index: 2; min-height: 94svh; display: grid; place-items: center; overflow: hidden; background: var(--rust); color: var(--cream); }
.cta-bg { position: absolute; inset: 0; }
.cta-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 30px; padding: 140px var(--gutter); text-align: center; }
.cta .display { color: var(--cream); text-shadow: 0 4px 40px rgba(80, 22, 0, 0.28); }
.cta-card {
  display: grid; justify-items: center; gap: 22px;
  max-width: 600px; padding: 26px 30px;
  background: rgba(40, 14, 4, 0.42);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(254, 242, 233, 0.22); border-radius: 18px;
}
.cta-card p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta .bracket, .notfound .bracket { color: var(--cream); }
.cta .bracket .bracket-fill, .notfound .bracket .bracket-fill { background: var(--cream); }
.cta .bracket:hover, .notfound .bracket:hover { color: var(--maroon); }

/* ---------- Footer ---------- */
.ftr { position: relative; z-index: 2; background: var(--ink); padding: clamp(80px, 10vw, 140px) clamp(16px, 12vw, 210px) 28px; }
.ftr-top { display: grid; grid-template-columns: 1fr auto; gap: 40px; padding-bottom: clamp(64px, 8vw, 100px); }
.ftr-line { font-size: clamp(21px, 2vw, 30px); line-height: 1.18; font-weight: 500; letter-spacing: -0.01em; max-width: 19ch; }
.ftr-nav { display: grid; align-content: start; gap: 2px; }
.ftr-nav a { text-decoration: none; font-size: 15px; width: fit-content; transition: color 0.3s; }
.ftr-nav a:hover { color: var(--amber); }
.ftr-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ftr-col { border-top: 1px solid var(--line); padding-top: 32px; }
.ftr-col h2 { font: var(--ui); text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.ftr-col p, .ftr-col li { font-size: 15px; line-height: 1.5; }
.ftr-col ul { list-style: none; }
.ftr-col a { text-decoration: none; transition: color 0.3s; }
.ftr-col a:hover { color: var(--amber); }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(70px, 9vw, 110px); font-size: 13px; color: var(--muted); }

/* ---------- Kepala halaman (subhalaman) ---------- */
.phead { position: relative; padding: calc(var(--hdr-h) + clamp(70px, 15vh, 170px)) var(--gutter) clamp(52px, 7vw, 100px); }
.phead .display { font-size: clamp(54px, 8.4vw, 144px); }
.phead-text { max-width: 54ch; margin-top: clamp(24px, 3vw, 40px); font-size: clamp(16px, 1.25vw, 19px); color: var(--muted); }

/* ---------- Filter ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 var(--gutter) 28px; }
.chip {
  font: var(--ui); text-transform: uppercase;
  padding: 7px 11px 6px; border: 1px solid var(--line-strong); border-radius: 2px;
  background: transparent; color: var(--paper);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.chip:hover { border-color: var(--paper); }
.chip.is-active { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- Grid karya ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.work-card {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 10;
  overflow: hidden; padding: 0; border: 0; text-align: left;
  background: var(--ink-2); color: var(--paper);
}
.work-card .poster { transition: transform 1.4s var(--ease-out); }
.work-card:hover .poster { transform: scale(1.045); }
.work-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(15, 15, 14, 0.78), rgba(15, 15, 14, 0) 46%);
}
.work-meta {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.work-title { font-stretch: 72%; font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 2.7vw, 42px); line-height: 0.95; }
.work-info { font: var(--ui); text-transform: uppercase; text-align: right; color: rgba(246, 247, 249, 0.82); }
.work-empty { padding: 40px var(--gutter) 120px; color: var(--muted); }

/* ---------- Alur kerja & harga ---------- */
.flow { padding: clamp(100px, 12vw, 170px) 0 0; }
.flow-head { padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(36px, 4vw, 56px); }
.flow-phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 var(--gutter); border-top: 1px solid var(--line); }
.flow-phase { padding: 26px 26px 0 0; }
.flow-phase + .flow-phase { border-left: 1px solid var(--line); padding-left: 26px; }
.flow-phase h3 { font: var(--ui); text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.flow-phase ol { list-style: none; }
.flow-step { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.flow-step:last-child { border-bottom: 0; }
.flow-no { font: 600 13px/1 var(--font); color: var(--muted); min-width: 2ch; }
.flow-name { font-stretch: 72%; font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 42px); line-height: 1; }

.price { padding: clamp(110px, 13vw, 180px) var(--gutter) clamp(100px, 12vw, 160px); display: grid; justify-items: center; gap: 30px; text-align: center; }
.price p:not(.display) { max-width: 50ch; color: var(--muted); }

/* ---------- Tentang ---------- */
.about-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 40px; padding: 0 var(--gutter) clamp(100px, 12vw, 160px); }
.about-lead .ui { color: var(--muted); }
.about-lead p.lead { font-size: clamp(22px, 2.4vw, 38px); line-height: 1.22; font-weight: 500; letter-spacing: -0.012em; text-wrap: pretty; }
.about-lead p.lead em { font-style: normal; color: var(--amber); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.value { background: var(--ink-2); min-height: clamp(300px, 30vw, 420px); padding: 36px 28px 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.value h3 { font-stretch: 72%; font-weight: 700; text-transform: uppercase; font-size: clamp(38px, 3.8vw, 64px); line-height: 0.9; }
.value p { color: var(--muted); max-width: 34ch; }
.client-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 0 var(--gutter); background: #FFFFFF; }
.client-cell {
  display: grid; place-items: center; min-height: 132px; padding: 22px; text-align: center;
  background: #FFFFFF; color: var(--ink); box-shadow: inset -1px -1px 0 #E6E6E3;
  font-stretch: 76%; font-weight: 700; text-transform: uppercase; font-size: 20px; line-height: 1.05;
}
.client-cell img { max-height: 62px; max-width: 160px; width: auto; height: auto; transition: transform 0.6s var(--ease-out); }
.client-cell:hover img { transform: scale(1.06); }
.legal { padding: 60px var(--gutter) 0; color: var(--muted); font-size: 14px; }

/* ---------- Daftar artikel ---------- */
.post-feature { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 52px); align-items: end; padding: 0 var(--gutter) clamp(64px, 8vw, 110px); text-decoration: none; color: inherit; }
.post-feature .post-media { aspect-ratio: 16 / 10; }
.post-feature .post-title { font-size: clamp(34px, 3.8vw, 62px); }
.post-feature:hover .post-title { color: var(--amber); }
.post-feature:hover .post-media img, .post-feature:hover .post-media .stripes-art { transform: scale(1.04); }
.posts-empty { display: grid; justify-items: start; gap: 24px; padding: 0 var(--gutter) 120px; color: var(--muted); }

/* ---------- Halaman artikel ---------- */
.article-head { padding: calc(var(--hdr-h) + clamp(64px, 13vh, 150px)) var(--gutter) clamp(36px, 4vw, 56px); }
.article-back { margin-bottom: 36px; }
.article-title {
  font-stretch: 72%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(40px, 5.6vw, 98px); line-height: 0.92; letter-spacing: -0.01em;
  max-width: 19ch; text-wrap: balance;
}
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font: var(--ui); text-transform: uppercase; color: var(--muted); }
.article-meta .tag { color: var(--amber); }
.article-cover { position: relative; margin: 0 var(--gutter); aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); }
.article-cover > img { width: 100%; height: 100%; object-fit: cover; }
.article-body {
  max-width: 720px; margin: clamp(56px, 7vw, 96px) auto 0; padding: 0 var(--gutter);
  font-size: clamp(17px, 1.2vw, 19px); line-height: 1.72; color: #E6E6E3;
}
.article-body > * + * { margin-top: 1.15em; }
.article-body h2 {
  margin-top: 1.9em; color: var(--paper);
  font-stretch: 74%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(28px, 2.5vw, 40px); line-height: 1;
}
.article-body h3 { margin-top: 1.7em; color: var(--paper); font-size: 1.15em; font-weight: 700; }
.article-body a { color: var(--amber); text-underline-offset: 0.2em; }
.article-body strong { color: var(--paper); font-weight: 650; }
.article-body ul, .article-body ol { padding-left: 1.25em; }
.article-body ul { list-style: square; }
.article-body li + li { margin-top: 0.4em; }
.article-body li::marker { color: var(--amber); }
.article-body blockquote { border-left: 2px solid var(--amber); padding: 0.1em 0 0.1em 1.1em; color: var(--paper); font-size: 1.16em; line-height: 1.5; }
.article-body img { width: 100%; height: auto; border-radius: 2px; }
.article-body figure { margin-top: 1.8em; margin-bottom: 0.4em; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 0.92em; }
.article-body th, .article-body td { border-bottom: 1px solid var(--line); padding: 0.6em 0.5em; text-align: left; }
.article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 720px; margin: 64px auto 0; padding: 0 var(--gutter); }
.article-share .ui { color: var(--muted); margin-right: 8px; }
.article-more { padding-top: clamp(90px, 11vw, 150px); }
.article-missing { min-height: 70svh; display: grid; place-content: center; justify-items: center; gap: 28px; text-align: center; padding: 120px var(--gutter); }

/* YouTube ringan (klik untuk memutar) */
.lite-yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.article-cover .lite-yt { position: absolute; inset: 0; aspect-ratio: auto; }
.lite-yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), opacity 0.4s; }
.lite-yt::after { content: ""; position: absolute; inset: 0; background: rgba(15, 15, 14, 0.25); pointer-events: none; transition: background-color 0.4s; }
.lite-yt:hover img { transform: scale(1.03); }
.lite-yt:hover::after { background: rgba(15, 15, 14, 0.1); }
.lite-yt .bracket { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); }
.lite-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.lite-yt.is-live::after { display: none; }

/* ---------- Teater video ---------- */
.theater { position: fixed; inset: 0; z-index: 90; background: #000; color: var(--paper); }
.theater[hidden] { display: none; }
.theater-stage { position: absolute; inset: 0; }
.theater-stage .yt-host { opacity: 1; }
.theater-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; transition: opacity 0.5s; }
.theater.is-playing .theater-poster { opacity: 0; }
.theater-hit { position: absolute; inset: 0; z-index: 2; background: transparent; border: 0; }
.theater-top, .theater-bottom { position: absolute; left: var(--gutter); right: var(--gutter); z-index: 3; transition: opacity 0.6s var(--ease-out); }
.theater-top { top: 18px; display: flex; justify-content: space-between; }
.theater-bottom { bottom: 22px; display: grid; gap: 16px; }
.theater-title { font-stretch: 72%; font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 3vw, 46px); line-height: 0.95; }
.theater-sub { font: var(--ui); text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.theater-ctrl { display: flex; align-items: center; gap: 18px; font: var(--ui); text-transform: uppercase; }
.tc-btn { background: none; border: 0; padding: 4px 0; font: var(--ui); text-transform: uppercase; color: var(--paper); transition: color 0.3s; }
.tc-btn:hover { color: var(--amber); }
.tc-time { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tc-bar { position: relative; flex: 1; height: 18px; cursor: pointer; }
.tc-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-strong); }
.tc-fill { position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; width: 0; background: var(--amber); }
.theater.is-idle .theater-top, .theater.is-idle .theater-bottom { opacity: 0; }
.theater.is-idle { cursor: none; }

/* ---------- Video YouTube di artikel (sebelum JS aktif) ---------- */
figure.yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
figure.yt > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
figure.yt > a { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: var(--ui); text-transform: uppercase; color: var(--paper); }
.article-cover figure.yt { position: absolute; inset: 0; aspect-ratio: auto; margin: 0; }

/* ---------- Draf (hanya terlihat di komputer sendiri) ---------- */
.draft-badge { display: inline-block; margin: 0 0 18px; padding: 6px 10px 5px; background: var(--amber); color: var(--ink); font: var(--ui); text-transform: uppercase; }
.post-meta .tag--draft { color: var(--ink); background: var(--amber); padding: 1px 6px; }

/* ---------- Halaman layanan (Brand Communication / Dokumentasi Event) ---------- */
.prod-hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--rust); }
.prod-hero-bg, .prod-hero-media { position: absolute; inset: 0; }
.prod-hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(15, 15, 14, 0.82), rgba(15, 15, 14, 0.2) 55%, rgba(15, 15, 14, 0.35));
  opacity: 0.55; transition: opacity 0.8s var(--ease-out);
}
.prod-hero.has-video .prod-hero-shade { opacity: 1; }
.prod-hero-copy { position: relative; z-index: 2; display: grid; gap: 26px; padding: calc(var(--hdr-h) + 80px) var(--gutter) clamp(48px, 7vw, 96px); max-width: 1180px; }
.prod-hero .display { color: var(--cream); }
.prod-sub { max-width: 52ch; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: var(--cream); }
.prod-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.prod-hero .bracket { color: var(--cream); }
.prod-hero .bracket .bracket-fill { background: var(--cream); }
.prod-hero .bracket:hover { color: var(--maroon); }
.prod-price { font: var(--ui); text-transform: uppercase; color: var(--cream); }
.prod-price strong { font-weight: 700; }

.crumbs { display: flex; gap: 8px; font: var(--ui); text-transform: uppercase; color: rgba(254, 242, 233, 0.8); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--paper); }

.formats { position: relative; z-index: 2; background: var(--ink); padding-top: clamp(70px, 9vw, 120px); }
.format-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 40px var(--gutter) 0; border-top: 1px solid var(--line); }
.format-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.format { padding: 28px 26px 36px 0; }
.format + .format { border-left: 1px solid var(--line); padding-left: 26px; }
.format h3 { font-stretch: 72%; font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 2.8vw, 46px); line-height: 0.95; margin-bottom: 18px; }
.format p { color: var(--muted); max-width: 36ch; }
.format-note { margin: 44px var(--gutter) 0; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.4; max-width: 40ch; }

.reasons { padding-top: clamp(100px, 12vw, 160px); }
.reasons .values { margin-top: 0; }
.prod-work { padding-top: clamp(100px, 12vw, 160px); }
.prod-work .shead { margin-bottom: 0; }

.faq { padding: clamp(100px, 12vw, 160px) 0 clamp(80px, 9vw, 120px); }
.faq-list { margin: 30px var(--gutter) 0; border-top: 1px solid var(--line); max-width: 980px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font-stretch: 74%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(22px, 2vw, 32px); line-height: 1;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; font-stretch: 100%; font-weight: 400; font-size: 26px; line-height: 1;
  transition: transform 0.5s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--amber); }
.faq-item p { padding: 0 0 26px; max-width: 62ch; color: var(--muted); font-size: 17px; }
@supports (interpolate-size: allow-keywords) {
  .faq-item { interpolate-size: allow-keywords; }
  .faq-item::details-content { height: 0; overflow: clip; transition: height 0.55s var(--ease), content-visibility 0.55s allow-discrete; }
  .faq-item[open]::details-content { height: auto; }
}

/* ---------- Kartu layanan di halaman Layanan ---------- */
.prod-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.prod-card { position: relative; display: block; min-height: clamp(460px, 62vh, 680px); overflow: hidden; text-decoration: none; color: var(--paper); background: var(--ink-2); }
.prod-card-media { position: absolute; inset: 0; }
.prod-card-media .stripes-art, .prod-card-media .poster { transition: transform 1.4s var(--ease-out); }
.prod-card:hover .prod-card-media .stripes-art, .prod-card:hover .prod-card-media .poster { transform: scale(1.04); }
.prod-card::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(15, 15, 14, 0.85), rgba(15, 15, 14, 0.1) 60%); }
.prod-card-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; justify-items: start; gap: 16px; padding: clamp(22px, 3vw, 40px); }
.prod-card-title { font-stretch: 70%; font-weight: 700; text-transform: uppercase; font-size: clamp(44px, 5.4vw, 96px); line-height: 0.88; }
.prod-card-text { max-width: 40ch; color: rgba(246, 247, 249, 0.86); }
.prod-card:hover .bracket { color: var(--ink); }
.prod-card:hover .bracket .bracket-fill { clip-path: inset(0 0); opacity: 1; }

/* ---------- Halaman studi kasus ---------- */
.case-lead { margin-top: 24px; max-width: 56ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: #E6E6E3; }
.case-head .article-meta { margin: 0 0 22px; }
.case-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.4fr); gap: clamp(28px, 5vw, 80px); padding: clamp(56px, 7vw, 96px) var(--gutter) 0; }
.case-aside { align-self: start; position: sticky; top: calc(var(--hdr-h) + 24px); }
.case-logo { max-height: 56px; max-width: 170px; width: auto; margin-bottom: 26px; filter: brightness(0) invert(1); }
.case-facts { margin: 0; border-top: 1px solid var(--line); }
.case-fact { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.case-fact dt { font: var(--ui); text-transform: uppercase; color: var(--muted); }
.case-fact dd { margin: 0; font-size: 17px; }
.case-main { display: grid; gap: clamp(48px, 6vw, 80px); }
.case-section .article-body { margin: 0; padding: 0; max-width: 720px; }
.case-section-title { font-stretch: 72%; font-weight: 700; text-transform: uppercase; font-size: clamp(32px, 3.2vw, 52px); line-height: 0.95; margin-bottom: 22px; }
.case-quote { border-left: 2px solid var(--amber); padding-left: 1.2em; max-width: 720px; }
.case-quote p { font-size: clamp(21px, 1.9vw, 29px); line-height: 1.35; }
.case-quote footer { margin-top: 14px; font: var(--ui); text-transform: uppercase; color: var(--muted); }
.case-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.case-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.case-gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.case-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.case-gallery a:hover img { transform: scale(1.04); }
.case-cta { display: grid; justify-items: start; gap: 28px; margin: clamp(80px, 10vw, 140px) var(--gutter) 0; padding-top: 40px; border-top: 1px solid var(--line); }

/* ---------- 404 ---------- */
.notfound { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: var(--rust); color: var(--cream); }
.notfound-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 30px; text-align: center; padding: 0 var(--gutter); }

/* ---------- Transisi antarhalaman ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-old 0.85s var(--ease) both; }
::view-transition-new(root) { animation: vt-new 0.85s var(--ease) both; }
@keyframes vt-old { to { transform: translateY(-5vh) scale(0.97); filter: brightness(0.4); } }
@keyframes vt-new { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Responsif ---------- */
@media (max-width: 1000px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-phases { grid-template-columns: 1fr; }
  .flow-phase + .flow-phase { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 18px; }
  .about-lead { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .post-feature { grid-template-columns: 1fr; }
  .ftr-top { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --hdr-h: 62px; }
  .hdr { grid-template-columns: auto 1fr; padding-top: 14px; padding-bottom: 14px; }
  .hdr-nav { display: none; }
  .hdr-logo { width: 118px; margin-top: 4px; }
  .menu-panel { width: 100%; padding-top: 96px; }
  .hero-title { font-size: clamp(44px, 14vw, 84px); }
  .work-grid, .post-grid { grid-template-columns: 1fr; }
  .work-card { aspect-ratio: 4 / 3; }
  .ftr-cols { grid-template-columns: 1fr; }
  .ftr-col { padding-top: 22px; }
  .theater-ctrl { flex-wrap: wrap; gap: 10px 16px; }
  .tc-bar { order: 5; flex-basis: 100%; }
  .statement-body, .reel-pin { height: 88svh; }
  .reel-frame { clip-path: inset(30% 12% 30% 12% round 14px); }
}

@media (max-width: 1000px) {
  .format-grid, .format-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .format:nth-child(3) { border-left: 0; padding-left: 0; }
  .format:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .case-layout { grid-template-columns: 1fr; }
  .case-aside { position: static; }
}

@media (max-width: 720px) {
  .format-grid, .format-grid--3 { grid-template-columns: 1fr; }
  .format + .format { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .prod-cards { grid-template-columns: 1fr; }
  .prod-card { min-height: 440px; }
  .case-videos { grid-template-columns: 1fr; }
  .case-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .reel-frame { clip-path: inset(10% 8% 10% 8% round 16px); }
}
