/* ============================================
   FADES PRODUCTION — style.css
   Palet: hitam & abu-abu, nuansa timeline editor video
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Work+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --black: #0c0c0d;
  --charcoal: #1a1a1c;
  --line: #2e2e30;
  --grey-mid: #8b8b8d;
  --grey-light: #c7c7c9;
  --white: #f2f2f0;
  --flash: #e7e5df;

  --font-display: 'Anton', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--grey-light); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

.timecode { display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.15em; color: var(--grey-mid); margin-bottom: 18px; border-left: 2px solid var(--flash); padding-left: 10px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; text-transform: none; color: var(--white); }

.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(12, 12, 13, 0.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: flex; align-items: center; font-family: var(--font-display); font-size: 20px; letter-spacing: 0.06em; color: var(--white); text-decoration: none; }
.logo img { width: 40px; height: 40px; object-fit: contain; position: relative; left: -85px; }
.logo-text { position: relative; left: -75px; }
.logo span { color: var(--grey-mid); }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-light); transition: color 0.2s ease; position: relative; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--white); }
.nav-links a.nav-cta { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--flash); border-radius: 2px; color: var(--white); }
.nav-links a.nav-cta:hover { background: var(--flash); color: var(--black); }
.nav-links a.nav-cta svg { width: 15px; height: 15px; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero{ min-height:100vh; display:flex; flex-direction:column; justify-content:center; position:relative; padding-top:1px; border-bottom:1px solid var(--line); background-image: url("image/background.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-inner { position: relative; z-index: 1; margin-left: -25px; transform: translateY(-120px); }
.hero h1 { font-size: clamp(50px, 11vw, 56px); line-height: 1; color: var(--white); }
.hero-tagline { margin-top: 24px; max-width: 520px; font-size: 17px; color: var(--grey-mid); }
.hero-services { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-services span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--grey-light); border: 1px solid var(--line); padding: 8px 14px; border-radius: 2px; }

.scroll-cue { position: absolute; bottom: 40px; left: 32px; display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; color: var(--grey-mid); text-transform: uppercase; }
.scroll-cue .bar { width: 1px; height: 34px; background: var(--grey-mid); position: relative; overflow: hidden; }
.scroll-cue .bar::after { content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--flash); animation: scrollDown 1.8s infinite ease-in-out; }
@keyframes scrollDown { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

section { padding: 120px 0; border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(32px, 5vw, 52px); }
.section-head p { margin-top: 18px; color: var(--grey-mid); font-size: 16px; max-width: 520px; }

.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.about-frame { aspect-ratio: 4 / 5; background: var(--charcoal); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.about-frame span { font-family: var(--font-mono); font-size: 12px; color: var(--grey-mid); letter-spacing: 0.1em; text-transform: uppercase; }
.about-frame::after { content: ""; position: absolute; top: 16px; left: 16px; right: 16px; bottom: 16px; border: 1px solid var(--line); }
.about-text p { color: var(--grey-light); margin-bottom: 18px; font-size: 16px; }
.about-stats { margin-top: 36px; display: grid; grid-template-columns: repeat(3, auto); gap: 40px; }
.about-stats div strong { display: block; font-family: var(--font-display); font-size: 34px; color: var(--white); }
.about-stats div span { font-family: var(--font-mono); font-size: 11px; color: var(--grey-mid); letter-spacing: 0.08em; text-transform: uppercase; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: var(--black); padding: 40px 32px; transition: background 0.25s ease; }
.service-card:hover { background: var(--charcoal); }
.service-num { font-family: var(--font-mono); font-size: 12px; color: var(--grey-mid); margin-bottom: 28px; display: block; }
.service-card h3 { font-size: 24px; margin-bottom: 14px; }
.service-card p { color: var(--grey-mid); font-size: 14.5px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { aspect-ratio: 1 / 1; background: var(--charcoal); border: 1px solid var(--line); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 14px; }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-item .gallery-label { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--grey-mid); text-transform: uppercase; }
.gallery-item.placeholder .gallery-label { color: var(--line); }
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }

.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact-wrap h2 { font-size: clamp(32px, 6vw, 60px); margin-bottom: 20px; }
.contact-wrap p { color: var(--grey-mid); margin-bottom: 36px; max-width: 440px; }
.wa-button { display: inline-flex; align-items: center; gap: 12px; background: var(--flash); color: var(--black); padding: 16px 26px; border-radius: 2px; font-weight: 600; font-size: 15px; letter-spacing: 0.02em; transition: transform 0.2s ease, background 0.2s ease; }
.wa-button:hover { transform: translateY(-2px); }
.wa-button svg { width: 20px; height: 20px; }
.contact-info { border-left: 1px solid var(--line); padding-left: 48px; }
.contact-info .row { margin-bottom: 26px; }
.contact-info .row span.label { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--grey-mid); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.contact-info .row a, .contact-info .row p { color: var(--white); font-size: 16px; }
.social-list { display: flex; gap: 18px; margin-top: 8px; }
.social-list a { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: border-color 0.2s ease, color 0.2s ease; color: var(--grey-light); }
.social-list a:hover { border-color: var(--flash); color: var(--flash); }
.social-list svg { width: 18px; height: 18px; }

footer { padding: 36px 0; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--grey-mid); letter-spacing: 0.05em; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--flash); outline-offset: 3px; }

@media (max-width: 860px) {
  .container { padding: 0 20px; }
  .nav-toggle { display: flex; }
  .logo img { left: 0; width: 34px; height: 34px; }
  .logo-text { left: 0; font-size: 16px; }
  .nav-links { position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
  .nav-links.is-open { max-height: 420px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav-links a.nav-cta { justify-content: center; margin: 16px 20px; width: auto; }
  .hero-inner { margin-left: 0; transform: none; padding: 0 4px; }
  .hero h1 { font-size: clamp(38px, 12vw, 52px); }
  .hero-tagline { max-width: 100%; font-size: 15.5px; }
  .scroll-cue { left: 20px; }
  section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-frame { aspect-ratio: 16 / 10; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-info { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
  footer { flex-direction: column; gap: 10px; text-align: center; padding: 28px 0; }
}

@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(3, auto); gap: 16px; }
  .about-stats div strong { font-size: 26px; }
  .hero-services span { font-size: 11px; padding: 7px 12px; }
}

@media (max-width: 380px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .container { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue .bar::after { animation: none; }
}

.fade-up{ opacity:0; transform:translateY(36px); transition:opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.fade-up.show{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){ .fade-up{ transition:none !important; opacity:1 !important; transform:none !important; } }
