/* =========================================================================
   JASAMAKET — Design System
   "BLACK MATTE CREATIVE INDUSTRIAL LUXURY"
   Satu sumber kebenaran untuk warna, jarak, tipografi, dan komponen.
   ========================================================================= */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/PlusJakartaSans-800.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-400.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #101010;
  --charcoal: #181818;
  --surface: #222222;
  --surface-2: #2a2a2a;
  --surface-3: #141414;
  --line: rgba(245, 243, 237, 0.1);
  --line-strong: rgba(245, 243, 237, 0.18);
  --cream: #f5f3ed;
  --cream-dim: rgba(245, 243, 237, 0.72);
  --muted: #999999;
  --muted-2: #a3a3a3;
  --accent: #f5c400;
  --accent-dark: #d9a928;
  --accent-ink: #141000;
  --danger: #e2564a;
  --success: #4fb477;
  --info: #6a9ed6;

  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Skala jarak 4px */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-7: 2rem;
  --sp-8: 3rem;
  --sp-9: 4.5rem;

  /* Tipografi */
  --fs-display: clamp(2.35rem, 6vw, 4.6rem);
  --fs-h1: clamp(1.9rem, 3.4vw, 2.9rem);
  --fs-h2: clamp(1.5rem, 2.5vw, 2.15rem);
  --fs-h3: clamp(1.1rem, 1.5vw, 1.3rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;
  --fs-kicker: 0.72rem;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
  --shadow-soft: 0 12px 32px -18px rgba(0, 0, 0, 0.85);
  --header-h: 74px;
  --tabbar-h: 62px;
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --container: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 520px at 12% -8%, rgba(245, 196, 0, 0.07), transparent 65%),
    radial-gradient(900px 520px at 100% 0%, rgba(217, 169, 40, 0.05), transparent 60%);
  background-repeat: no-repeat;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* JANGAN pakai overflow-x:hidden di body: itu membuat body jadi scroll container
     dan position:sticky pada header berhenti bekerja (header ikut ter-scroll).
     'clip' tetap memotong luapan horizontal tanpa membuat scroll container. */
  overflow-x: clip;
}
img,
svg,
video,
iframe {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--cream);
}
p {
  margin: 0 0 var(--sp-4);
}
p:last-child {
  margin-bottom: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 2.2rem);
}
.container-wide {
  max-width: 1440px;
}
.section {
  padding: var(--section-y) 0;
  position: relative;
}
.section-tight {
  padding: clamp(2.2rem, 4vw, 3.2rem) 0;
}
.section-alt {
  background: linear-gradient(180deg, rgba(24, 24, 24, 0) 0%, rgba(24, 24, 24, 0.85) 12%, rgba(24, 24, 24, 0.85) 88%, rgba(24, 24, 24, 0) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 0.8rem;
}

/* ---------- Ikon ----------
   Semua ikon dari lib view memakai kelas .ico sehingga ukurannya mengikuti
   ukuran font konteks (em), bukan 100% lebar kontainer. */
.ico {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  vertical-align: -0.16em;
}
.btn .ico {
  width: 1.18em;
  height: 1.18em;
}
.alert .ico {
  width: 19px;
  height: 19px;
  margin-top: 1px;
}
.pill .ico {
  width: 13px;
  height: 13px;
}
.badge-soft .ico {
  width: 14px;
  height: 14px;
}
.kicker .ico {
  width: 13px;
  height: 13px;
  vertical-align: -0.1em;
}
.footer-contact .ico {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.footer-links .ico {
  width: 15px;
  height: 15px;
}
.empty-icon .ico {
  width: 24px;
  height: 24px;
}
.play-badge .ico,
.project-play .ico {
  width: 1.1em;
  height: 1.1em;
}
.video-sound .ico {
  width: 13px;
  height: 13px;
}

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.h1 {
  font-size: var(--fs-h1);
}
.h2 {
  font-size: var(--fs-h2);
}
.h3 {
  font-size: var(--fs-h3);
  letter-spacing: -0.01em;
}
.kicker {
  font-family: var(--font-display);
  font-size: var(--fs-kicker);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--cream-dim);
  max-width: 62ch;
}
.muted {
  color: var(--muted);
}
.strong {
  color: var(--cream);
  font-weight: 600;
}
.small {
  font-size: var(--fs-sm);
}
.tiny {
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
}
.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
}
.eyebrow-line::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--accent);
}
.text-center {
  text-align: center;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.maxw-62 {
  max-width: 62ch;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(245, 196, 0, 0.6);
}
.btn:active {
  transform: translateY(0);
}
.btn[disabled],
.btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none;
}
.btn-dark {
  --btn-bg: var(--charcoal);
  --btn-fg: var(--cream);
  border-color: var(--line);
}
.btn-sm {
  min-height: 38px;
  padding: 0.42rem 0.95rem;
  font-size: 0.76rem;
}
.btn-block {
  width: 100%;
}
.btn-link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-link:hover {
  color: var(--accent-dark);
}
.link-arrow::after {
  content: '→';
  transition: transform 0.2s var(--ease);
}
.link-arrow:hover::after {
  transform: translateX(4px);
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--cream);
  position: relative;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease);
}
.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.icon-btn svg {
  width: 19px;
  height: 19px;
}
.icon-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(16, 16, 16, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(13, 13, 13, 0.94);
  border-color: var(--line-strong);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
  color: var(--accent);
  flex-shrink: 0;
}
.logo-mark svg {
  width: 100%;
  height: 100%;
}
.logo-stack {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.logo-tag {
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
  font-weight: 600;
}
.logo-img {
  max-height: 40px;
  max-width: min(180px, 44vw);
  width: auto;
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
.nav-link {
  padding: 0.5rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--cream-dim);
  border-radius: 999px;
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--cream);
}
.nav-link.is-active {
  color: var(--accent);
}
.nav-link.is-active::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--accent);
  margin-top: 3px;
  opacity: 0.8;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-cta {
  margin-left: 0.35rem;
}
.only-mobile {
  display: none;
}

/* ---------- Search overlay ---------- */
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 130;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(3rem, 12vh, 8rem) 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), visibility 0.2s;
}
.search-panel.is-open {
  opacity: 1;
  visibility: visible;
}
.search-box {
  width: min(680px, 100%);
  min-width: 0;
  background: var(--charcoal);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow);
}
.search-form {
  display: flex;
  gap: var(--sp-2);
  min-width: 0;
}
.search-form input {
  flex: 1;
}

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 140;
  pointer-events: none;
  overflow: hidden;
}
.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: var(--charcoal);
  border-left: 1px solid var(--line);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transform: translateX(100%);
  transition: transform 0.28s var(--ease);
  overflow-y: auto;
}
.drawer.is-open {
  pointer-events: auto;
}
.drawer.is-open .drawer-scrim {
  opacity: 1;
}
.drawer.is-open .drawer-panel {
  transform: translateX(0);
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
}
.drawer-nav a {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-nav a::after {
  content: '→';
  color: var(--muted);
  font-size: 0.8rem;
}
.drawer-nav a:hover {
  color: var(--accent);
}
.drawer-foot {
  margin-top: auto;
  display: grid;
  gap: var(--sp-2);
}

/* ---------- Bottom tab bar (mobile app feel) ---------- */
.tabbar {
  display: none;
}
@supports (padding: max(0px)) {
  .tabbar {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(520px, 82vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04);
  transform: scale(1.04);
  animation: heroPan 18s ease-out both;
}
.hero-slide.is-active .hero-media img {
  animation: heroPan 18s ease-out both;
}
@keyframes heroPan {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1.02);
  }
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.72) 42%, rgba(10, 10, 10, 0.28) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.1) 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.4rem, 5vw, 3.4rem);
  max-width: 760px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6.2vw, 4.9rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: var(--sp-4) 0 var(--sp-4);
}
.hero-title span {
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(1rem, 1.9vw, 1.18rem);
  color: var(--cream-dim);
  max-width: 54ch;
  margin-bottom: var(--sp-6);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}
.hero-dots {
  display: flex;
  gap: 0.5rem;
}
.hero-dot {
  width: 34px;
  height: 3px;
  background: rgba(245, 243, 237, 0.25);
  border-radius: 999px;
  transition: background 0.25s var(--ease), width 0.25s var(--ease);
}
.hero-dot.is-active {
  background: var(--accent);
  width: 52px;
}
.hero-arrows {
  display: flex;
  gap: 0.4rem;
}
.hero-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.hero-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.hero-marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-3);
  overflow: hidden;
  padding: 0.85rem 0;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
}
.marquee-track span::after {
  content: '◆';
  color: var(--accent);
  font-size: 0.6rem;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Section head ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-6);
  margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem);
  flex-wrap: wrap;
}
.section-head-main {
  max-width: 62ch;
}
.section-head .h2 {
  margin-top: var(--sp-3);
}
.section-head p {
  margin-top: var(--sp-3);
  color: var(--cream-dim);
}
.section-head-actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

/* ---------- Cards: generic ---------- */
.card {
  background: linear-gradient(160deg, rgba(34, 34, 34, 0.92), rgba(22, 22, 22, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 2vw, 1.6rem);
  min-width: 0;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.card-hover:hover {
  border-color: rgba(245, 196, 0, 0.42);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.card-flat {
  background: var(--charcoal);
}
.card-pad-lg {
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.card-line {
  border-top: 1px solid var(--line);
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
}

/* ---------- Grids ---------- */
.grid {
  display: grid;
  gap: clamp(1.1rem, 2vw, 1.6rem);
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-auto {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
.grid > * {
  min-width: 0;
}

/* ---------- Project cards ---------- */
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--charcoal);
  border: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.project-card:hover {
  border-color: rgba(245, 196, 0, 0.45);
  transform: translateY(-4px);
}
.project-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #1b1b1b, #262626);
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
}
.project-card:hover .project-media img {
  transform: scale(1.06);
  filter: brightness(1.05);
}
.project-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(10, 10, 10, 0.72) 100%);
}
.project-tag {
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  z-index: 2;
  background: rgba(12, 12, 12, 0.82);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.project-play {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.92);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.project-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.project-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  font-size: 11.5px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}
.project-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.project-excerpt {
  font-size: 0.86rem;
  color: var(--cream-dim);
  margin: 0;
}
.project-foot {
  margin-top: auto;
  padding-top: 0.5rem;
}
.placeholder-media {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(245, 196, 0, 0.09), transparent 60%),
    repeating-linear-gradient(45deg, rgba(245, 243, 237, 0.045) 0 1px, transparent 1px 12px),
    var(--surface-3);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}

/* ---------- Video showcase ---------- */
.video-feature {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--charcoal);
  /* JANGAN beri min-height: dengan aspect-ratio, min-height memaksa LEBAR ikut
     membesar (16/9 dari tinggi minimum) sehingga kotak melebar keluar layar. */
  aspect-ratio: 16 / 9;
}
.video-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.video-feature-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.15) 62%, rgba(10, 10, 10, 0.35) 100%);
}
.video-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
  text-align: left;
  width: 100%;
}
.video-card:hover {
  border-color: rgba(245, 196, 0, 0.45);
  transform: translateY(-3px);
}
.video-open {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.video-sound {
  position: absolute;
  right: 0.55rem;
  top: 0.55rem;
  z-index: 4;
  display: none;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.82);
  border: 1px solid var(--line-strong);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.video-sound:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.video-card.is-playing .video-open,
.video-card.is-playing .play-badge {
  display: none;
}
.video-card.is-playing .video-sound {
  display: inline-flex;
}
.video-card.is-playing .video-thumb img {
  opacity: 0;
}
.video-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 2;
}
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1a1a;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.video-card:hover .video-thumb img {
  transform: scale(1.05);
}
.play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-badge span {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.95);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.9);
  transition: transform 0.22s var(--ease);
}
.video-card:hover .play-badge span {
  transform: scale(1.08);
}
.video-body {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.video-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
}
.video-meta {
  font-size: 11.5px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.video-cats {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

/* ---------- Video hero (featured di halaman /video) ----------
   Tinggi mengikuti isi (bukan 16:9 tetap) supaya judul & deskripsi tidak terpotong. */
.video-hero {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--charcoal);
  min-height: clamp(260px, 34vw, 420px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.video-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.video-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.96) 0%, rgba(10, 10, 10, 0.62) 48%, rgba(10, 10, 10, 0.28) 100%);
}
.video-hero-inner {
  position: relative;
  padding: clamp(1.1rem, 2.6vw, 2.2rem);
  width: 100%;
  max-width: 70ch;
}
.video-hero-inner h2 {
  margin-top: 0.6rem;
  text-wrap: balance;
}
.video-hero-inner .lead {
  margin-top: 0.5rem;
  font-size: clamp(0.9rem, 1.4vw, 1.02rem);
}

/* Video di dalam halaman detail proyek (kartu biasa, tanpa kotak rasio). */
.detail-video {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--charcoal);
  max-width: 420px;
}
.detail-video .video-card {
  border: 0;
  border-radius: 0;
}

/* ---------- Galeri foto proyek ----------
   Semua tile memakai rasio sama supaya tingginya seimbang (tidak "tidak presisi"). */
.gallery-grid {
  display: grid;
  gap: clamp(0.6rem, 1.4vw, 0.9rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gallery-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-3);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.gallery-tile:hover {
  border-color: rgba(245, 196, 0, 0.5);
  transform: translateY(-2px);
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-tile:hover img {
  transform: scale(1.04);
}
.gallery-tile .gallery-zoom {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 12, 12, 0.78);
  border: 1px solid var(--line-strong);
  color: var(--cream);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.gallery-tile:hover .gallery-zoom,
.gallery-tile:focus-visible .gallery-zoom {
  opacity: 1;
}
.gallery-tile .gallery-zoom .ico {
  width: 15px;
  height: 15px;
}
@media (max-width: 820px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-tile .gallery-zoom {
    opacity: 1;
  }
  .video-hero {
    min-height: 0;
  }
  .video-hero-inner {
    padding: 1rem;
  }
  .video-hero-inner .lead {
    display: none;
  }
}

/* ---------- Lightbox galeri ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 170;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 6, 0.95);
  padding: clamp(0.8rem, 3vw, 2rem);
}
.lightbox.is-open {
  display: flex;
}
.lightbox-figure {
  position: relative;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  object-fit: contain;
  background: #0b0b0b;
}
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  color: var(--cream-dim);
  font-size: 0.82rem;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 12, 12, 0.8);
  border: 1px solid var(--line-strong);
  color: var(--cream);
}
.lightbox-nav:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.lightbox-nav.prev {
  left: max(0.4rem, calc(50% - 600px));
}
.lightbox-nav.next {
  right: max(0.4rem, calc(50% - 600px));
}
.lightbox-close {
  position: absolute;
  top: max(0.4rem, calc(50vh - 340px));
  right: max(0.4rem, calc(50% - 600px));
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.8);
  border: 1px solid var(--line-strong);
  color: var(--cream);
  font-size: 1.3rem;
  line-height: 1;
}

/* ---------- Video grid (mobile-first, staggered) ---------- */
.video-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.video-grid > * {
  min-width: 0;
}
@media (max-width: 820px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .video-grid.is-stagger {
    align-items: start;
    padding-bottom: 22px;
  }
  .video-grid.is-stagger > *:nth-child(even) {
    transform: translateY(22px);
  }
  .video-card .video-body {
    padding: 0.6rem 0.65rem 0.7rem;
    gap: 0.2rem;
  }
  .video-card .video-title {
    font-size: 0.8rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .video-card .video-meta {
    font-size: 9px;
    letter-spacing: 0.02em;
  }
  .video-card .play-badge span {
    width: 38px;
    height: 38px;
  }
  .video-sound span {
    display: none;
  }
  .video-sound {
    width: 34px;
    height: 30px;
    padding: 0;
    justify-content: center;
  }
}

/* ---------- Filter chips ---------- */
.chip-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--cream-dim);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.18s var(--ease);
  background: rgba(34, 34, 34, 0.5);
}
.chip:hover {
  border-color: var(--line-strong);
  color: var(--cream);
}
.chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}
.chip-count {
  font-size: 10px;
  opacity: 0.7;
  margin-left: 0.3rem;
}

/* ---------- Services ---------- */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(34, 34, 34, 0.75), rgba(20, 20, 20, 0.95));
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease), background 0.22s var(--ease);
  height: 100%;
}
.service-card:hover {
  border-color: rgba(245, 196, 0, 0.45);
  transform: translateY(-3px);
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 196, 0, 0.1);
  border: 1px solid rgba(245, 196, 0, 0.22);
  color: var(--accent);
}
.service-icon svg {
  width: 22px;
  height: 22px;
}
.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}
.service-desc {
  font-size: 0.86rem;
  color: var(--cream-dim);
  margin: 0;
}
.service-num {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* ---------- Products ---------- */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
  height: 100%;
}
.product-card:hover {
  border-color: rgba(245, 196, 0, 0.4);
  transform: translateY(-3px);
}
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(150deg, #1d1d1d, #121212);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-media-link {
  display: block;
  width: 100%;
  height: 100%;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-media img {
  transform: scale(1.05);
}
.product-media .placeholder-media {
  font-size: 9.5px;
}
.wish-btn {
  position: absolute;
  right: 0.55rem;
  top: 0.55rem;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.7);
  border: 1px solid var(--line-strong);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.wish-btn svg {
  width: 16px;
  height: 16px;
}
.wish-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.wish-btn.is-on {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.wish-btn.is-on svg {
  fill: currentColor;
}
.only-print {
  display: none;
}
.product-flags {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  z-index: 2;
}
.flag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border-radius: 4px;
  background: var(--accent);
  color: var(--accent-ink);
}
.flag-dark {
  background: rgba(12, 12, 12, 0.85);
  color: var(--cream);
  border: 1px solid var(--line-strong);
}
.flag-danger {
  background: var(--danger);
  color: #fff;
}
.product-body {
  padding: 0.85rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.product-cat {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.35rem;
}
.price-now {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}
.price-was {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: line-through;
}
.product-stock {
  font-size: 11px;
  color: var(--muted-2);
}
.product-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.product-actions form {
  flex: 1;
}

/* ---------- Product grid (2 kolom di HP) ---------- */
.product-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.product-grid > * {
  min-width: 0;
}
@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .product-grid {
    gap: 0.7rem;
  }
  .product-card .product-body {
    padding: 0.6rem 0.6rem 0.75rem;
    gap: 0.25rem;
  }
  .product-card .product-name {
    font-size: 0.82rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-card .product-cat {
    font-size: 8.5px;
    letter-spacing: 0.08em;
  }
  .product-card .product-stock {
    font-size: 10px;
  }
  .product-card .price-now {
    font-size: 0.9rem;
  }
  .product-card .price-was {
    font-size: 0.7rem;
  }
  .product-card .product-actions {
    margin-top: 0.35rem;
    gap: 0.3rem;
  }
  .product-card .product-actions .btn {
    min-height: 40px;
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    padding: 0.4rem 0.5rem;
  }
  .product-card .product-actions .icon-btn {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }
  .product-card .wish-btn {
    width: 30px;
    height: 30px;
    right: 0.4rem;
    top: 0.4rem;
  }
}

/* ---------- Article cards ---------- */
.article-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal);
  height: 100%;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.article-card:hover {
  border-color: rgba(245, 196, 0, 0.4);
  transform: translateY(-3px);
}
.article-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-3);
}
.article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-body {
  padding: 0.95rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.article-meta {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.article-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
}
.article-excerpt {
  font-size: 0.85rem;
  color: var(--cream-dim);
  margin: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(245, 196, 0, 0.14), transparent 70%),
    linear-gradient(120deg, #141414, #1d1d1d 60%, #101010);
}
.cta-band-inner {
  padding: clamp(2.8rem, 6vw, 5rem) 0;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* ---------- Stats ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
  border-top: 1px solid var(--line);
  padding-top: var(--sp-6);
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 0.4rem;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0e0e0e, #0a0a0a);
  padding: clamp(2.6rem, 5vw, 4rem) 0 1.4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: clamp(1.4rem, 3vw, 2.6rem);
}
.footer-brand p {
  color: var(--muted-2);
  font-size: 0.88rem;
  max-width: 34ch;
}
.footer-title {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: var(--sp-4);
}
.footer-links {
  display: grid;
  gap: 0.55rem;
}
.footer-links a {
  color: var(--muted-2);
  font-size: 0.88rem;
  transition: color 0.16s;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-contact {
  display: grid;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--muted-2);
}
.footer-contact a:hover {
  color: var(--accent);
}
.newsletter-form {
  display: flex;
  gap: 0.4rem;
  margin-top: var(--sp-3);
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
}
.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.footer-legal {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.social-row {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--sp-4);
}
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  transition: all 0.18s;
}
.social-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.social-btn svg {
  width: 17px;
  height: 17px;
}

/* ---------- Page head ---------- */
.page-head {
  padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(245, 196, 0, 0.04), transparent);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-4);
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb .sep {
  opacity: 0.5;
}
.page-head-title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.05;
  margin-top: var(--sp-3);
}
.page-head-sub {
  color: var(--cream-dim);
  margin-top: var(--sp-4);
  max-width: 68ch;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
}
.page-head-actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-top: var(--sp-5);
}

/* ---------- Forms ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: var(--sp-4);
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
}
label,
.label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.req {
  color: var(--accent);
}
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'],
input[type='number'],
input[type='date'],
input[type='datetime-local'],
input[type='search'],
input[type='url'],
input[type='file'],
select,
textarea {
  width: 100%;
  background: rgba(16, 16, 16, 0.75);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  color: var(--cream);
  font-size: 0.92rem;
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
  min-height: 44px;
}
textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  background: rgba(10, 10, 10, 0.9);
  outline: none;
}
input::placeholder,
textarea::placeholder {
  color: #6f6f6f;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}
select option {
  background: var(--charcoal);
  color: var(--cream);
}
.hint {
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--cream-dim);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  line-height: 1.5;
}
.checkbox input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-4);
  margin: 0 0 var(--sp-4);
}
legend {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0 0.4rem;
}

/* ---------- Alerts ---------- */
.alert {
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  margin-bottom: var(--sp-4);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.alert strong {
  font-family: var(--font-display);
}
.alert p {
  margin: 0.25rem 0 0;
}
.alert-success {
  border-color: rgba(79, 180, 119, 0.4);
  background: rgba(79, 180, 119, 0.1);
  color: #cdebd9;
}
.alert-error {
  border-color: rgba(226, 86, 74, 0.42);
  background: rgba(226, 86, 74, 0.1);
  color: #f8d6d2;
}
.alert-warning {
  border-color: rgba(245, 196, 0, 0.4);
  background: rgba(245, 196, 0, 0.09);
  color: #f7ecc4;
}
.alert-info {
  border-color: rgba(106, 158, 214, 0.4);
  background: rgba(106, 158, 214, 0.1);
  color: #d6e6f7;
}

/* ---------- Tables ---------- */
.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
  min-width: 560px;
}
table.data th {
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
table.data td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
table.data tr:hover td {
  background: rgba(245, 243, 237, 0.02);
}
table.data td.num,
table.data th.num {
  text-align: right;
}
.table-empty {
  padding: var(--sp-7) var(--sp-4);
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- Badges / pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid var(--line-strong);
  color: var(--cream-dim);
  white-space: nowrap;
}
.pill-accent {
  border-color: rgba(245, 196, 0, 0.45);
  background: rgba(245, 196, 0, 0.12);
  color: var(--accent);
}
.pill-success {
  border-color: rgba(79, 180, 119, 0.4);
  background: rgba(79, 180, 119, 0.12);
  color: #8fe0b0;
}
.pill-warning {
  border-color: rgba(245, 196, 0, 0.4);
  background: rgba(245, 196, 0, 0.1);
  color: #f3d977;
}
.pill-danger {
  border-color: rgba(226, 86, 74, 0.4);
  background: rgba(226, 86, 74, 0.12);
  color: #f0a29a;
}
.pill-muted {
  color: var(--muted);
}

/* ---------- Pager ---------- */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
  flex-wrap: wrap;
}
.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--cream-dim);
  transition: all 0.16s;
}
.page-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.page-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}
.page-gap {
  color: var(--muted);
  padding: 0 0.2rem;
}

/* ---------- Empty state ---------- */
.empty {
  text-align: center;
  padding: clamp(2.4rem, 6vw, 4rem) 1.2rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(24, 24, 24, 0.5);
}
.empty-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.1);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.empty h3 {
  font-size: 1.1rem;
  margin-bottom: var(--sp-2);
}
.empty p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 46ch;
  margin: 0 auto var(--sp-5);
}

/* ---------- Video modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(0.8rem, 3vw, 2rem);
  background: rgba(6, 6, 6, 0.92);
  backdrop-filter: blur(8px);
}
.modal.is-open {
  display: flex;
}
.modal-inner {
  width: min(1040px, 100%);
  background: #0c0c0c;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.modal-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.modal-close {
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.2rem 0.4rem;
}
.modal-close:hover {
  color: var(--accent);
}

/* ---------- Gallery masonry ---------- */
.masonry {
  columns: 3;
  column-gap: clamp(0.9rem, 2vw, 1.4rem);
}
.masonry > * {
  break-inside: avoid;
  margin-bottom: clamp(0.9rem, 2vw, 1.4rem);
  display: inline-block;
  width: 100%;
}

/* ---------- Detail page: project ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.85fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.detail-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-3);
}
.detail-cover img {
  width: 100%;
  height: auto;
}
.spec-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.87rem;
}
.spec-key {
  color: var(--muted);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.spec-val {
  text-align: right;
  font-weight: 500;
}
.prose {
  max-width: 72ch;
}
.prose h2 {
  font-size: var(--fs-h3);
  margin: var(--sp-7) 0 var(--sp-3);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p {
  color: var(--cream-dim);
  margin-bottom: var(--sp-4);
}
.prose ul,
.prose ol {
  margin: 0 0 var(--sp-4);
  padding-left: 1.2rem;
  list-style: disc;
  color: var(--cream-dim);
}
.prose ol {
  list-style: decimal;
}
.prose li {
  margin-bottom: 0.4rem;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: clamp(0.9rem, 2vw, 1.4rem);
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(24, 24, 24, 0.65);
  align-items: start;
}
.step-num {
  counter-increment: step;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(245, 196, 0, 0.4);
  background: rgba(245, 196, 0, 0.08);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.step-num::before {
  content: counter(step, decimal-leading-zero);
}
.step h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.step p {
  color: var(--cream-dim);
  font-size: 0.89rem;
  margin: 0;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 1.6rem;
  border-left: 1px solid var(--line-strong);
  display: grid;
  gap: var(--sp-6);
}
.timeline-item {
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.98rem;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(245, 196, 0, 0.14);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}
.timeline-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0.2rem 0 0.3rem;
}
.timeline-desc {
  font-size: 0.88rem;
  color: var(--cream-dim);
  margin: 0;
}

/* ---------- Accordion (FAQ) ---------- */
.acc {
  border-top: 1px solid var(--line);
}
.acc-item {
  border-bottom: 1px solid var(--line);
}
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--cream);
}
.acc-btn:hover {
  color: var(--accent);
}
.acc-sign {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent);
  transition: transform 0.2s var(--ease);
}
.acc-item.is-open .acc-sign {
  transform: rotate(45deg);
}
.acc-panel {
  display: none;
  padding: 0 0 1.2rem;
  color: var(--cream-dim);
  font-size: 0.92rem;
  max-width: 78ch;
}
.acc-item.is-open .acc-panel {
  display: block;
}

/* ---------- Cart / checkout ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
}
.cart-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-thumb {
  width: 84px;
  height: 84px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-3);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qty-form {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
}
.qty-form input {
  width: 52px;
  min-height: 36px;
  height: 36px;
  border: 0;
  border-radius: 0;
  text-align: center;
  padding: 0;
  background: transparent;
}
.qty-btn {
  width: 34px;
  height: 36px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover {
  color: var(--accent);
}
.summary-box {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: var(--cream-dim);
}
.summary-row.total {
  border-top: 1px solid var(--line-strong);
  margin-top: 0.6rem;
  padding-top: 0.9rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
}
.summary-row.total .summary-val {
  color: var(--accent);
}

/* ---------- Account / order tracking ---------- */
.account-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
}
.account-nav {
  display: grid;
  gap: 0.25rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.account-nav a {
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--cream-dim);
  border: 1px solid transparent;
}
.account-nav a:hover {
  background: rgba(245, 243, 237, 0.04);
  color: var(--cream);
}
.account-nav a.is-active {
  background: rgba(245, 196, 0, 0.1);
  border-color: rgba(245, 196, 0, 0.28);
  color: var(--accent);
  font-weight: 600;
}
.track-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.4rem;
  margin: var(--sp-5) 0;
}
.track-step {
  position: relative;
  padding-top: 1.6rem;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.03em;
}
.track-step::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
}
.track-step::after {
  content: '';
  position: absolute;
  top: 11px;
  left: 50%;
  right: -50%;
  height: 1px;
  background: var(--line);
}
.track-step:last-child::after {
  display: none;
}
.track-step.is-done {
  color: var(--cream);
}
.track-step.is-done::before {
  background: var(--accent);
  border-color: var(--accent);
}
.track-step.is-done::after {
  background: rgba(245, 196, 0, 0.45);
}

/* ---------- WhatsApp float & toast ---------- */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: calc(1.1rem + env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem 0.6rem 0.75rem;
  border-radius: 999px;
  background: #1f9d55;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.9);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.wa-float:hover {
  transform: translateY(-2px);
  background: #22ae5e;
}
.wa-float svg {
  width: 20px;
  height: 20px;
}
.toast-wrap {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 160;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: min(420px, calc(100vw - 2rem));
}
.toast {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-size: 0.86rem;
  box-shadow: var(--shadow);
  animation: toastIn 0.25s var(--ease);
}
.toast-error {
  border-left-color: var(--danger);
}
.toast-success {
  border-left-color: var(--success);
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Cookie consent & install prompt ---------- */
.cookie-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1rem;
  z-index: 155;
  width: min(680px, calc(100vw - 2rem));
  display: none;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
  background: rgba(24, 24, 24, 0.97);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  color: var(--cream-dim);
}
.cookie-bar.is-open {
  display: flex;
}
.cookie-actions {
  display: flex;
  gap: 0.4rem;
  margin-left: auto;
}
.install-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4.4rem;
  z-index: 154;
  width: min(560px, calc(100vw - 2rem));
  display: none;
  align-items: center;
  gap: 0.8rem;
  background: var(--charcoal);
  border: 1px solid rgba(245, 196, 0, 0.35);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
}
.install-bar.is-open {
  display: flex;
}
.install-bar img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

/* ---------- PWA / app bits ---------- */
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  background: rgba(245, 196, 0, 0.1);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.skeleton {
  background: linear-gradient(90deg, #1c1c1c 25%, #262626 37%, #1c1c1c 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 6px;
}
@keyframes tabBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2.5px);
  }
}
@keyframes tabBarIn {
  from {
    width: 4px;
    opacity: 0;
  }
  to {
    width: 22px;
    opacity: 1;
  }
}
@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-media img,
  .marquee-track,
  .tab-item.is-active .tab-ico,
  .tab-item.is-active::before {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Utilities ---------- */
.gap-1 {
  gap: var(--sp-1);
}
.gap-2 {
  gap: var(--sp-2);
}
.gap-3 {
  gap: var(--sp-3);
}
.gap-4 {
  gap: var(--sp-4);
}
.gap-5 {
  gap: var(--sp-5);
}
.mt-2 {
  margin-top: var(--sp-2);
}
.mt-3 {
  margin-top: var(--sp-3);
}
.mt-4 {
  margin-top: var(--sp-4);
}
.mt-5 {
  margin-top: var(--sp-5);
}
.mt-6 {
  margin-top: var(--sp-6);
}
.mt-7 {
  margin-top: var(--sp-7);
}
.mb-0 {
  margin-bottom: 0;
}
.mb-3 {
  margin-bottom: var(--sp-3);
}
.mb-4 {
  margin-bottom: var(--sp-4);
}
.mb-6 {
  margin-bottom: var(--sp-6);
}
.flex {
  display: flex;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.between {
  justify-content: space-between;
}
.col {
  display: flex;
  flex-direction: column;
}
.grow {
  flex: 1;
}
.w-full {
  width: 100%;
}
.relative {
  position: relative;
}
.hide {
  display: none !important;
}
.nowrap {
  white-space: nowrap;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: var(--sp-5) 0;
}
.scroll-x {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}
.scroll-x::-webkit-scrollbar {
  height: 4px;
}
.scroll-x::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 99px;
}


/* ---------- Layout utilities (menggantikan inline style) ---------- */
.split-video {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2rem);
  align-items: start;
}
.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.filters-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr));
  gap: 0.8rem;
  align-items: end;
}
.stack-9 {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}
.maxw-1000 { max-width: 1000px; }
.maxw-640 { max-width: 640px; }
.maxw-560 { max-width: 560px; }
.maxw-480 { max-width: 480px; }
.maxw-220 { max-width: 220px; }
.price-lg { font-size: 1.8rem; }
.placeholder-lg { padding: 5rem 1rem; }
.placeholder-md { padding: 4rem 1rem; }
.list-check {
  list-style: none;
  padding: 0;
}
.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}
.list-check svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 3px;
}
.note-border {
  border-left: 2px solid var(--accent);
  padding-left: 0.7rem;
}
.step-dim {
  opacity: 0.45;
}
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-frame iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}
.text-right {
  text-align: right;
}
.mt-1 {
  margin-top: var(--sp-1);
}
.block {
  display: block;
}
.qris-img {
  border-radius: 8px;
}
.auth-split {
  align-items: center;
}
.auth-split .desktop-only {
  display: block;
}
.logo-img--sm {
  max-height: 32px;
}
.video-title-lg {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.video-feature-inner .play-badge {
  inset: auto;
  position: static;
}
.pre-line {
  white-space: pre-line;
}
.prose-quiet {
  color: var(--muted);
  font-size: 0.92rem;
}
strong.strong-lg {
  font-size: 1.6rem;
}



/* ---------- Produksi & Teknologi ---------- */
.tech-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tech-grid > * {
  min-width: 0;
}
.tech-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(34, 34, 34, 0.9), rgba(18, 18, 18, 0.96));
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
  height: 100%;
}
.tech-card:hover {
  border-color: rgba(245, 196, 0, 0.45);
  transform: translateY(-3px);
}
.tech-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-3);
}
.tech-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.tech-card:hover .tech-media img {
  transform: scale(1.04);
}
.tech-index {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: rgba(12, 12, 12, 0.78);
  border: 1px solid rgba(245, 196, 0, 0.4);
  border-radius: 4px;
  padding: 0.2rem 0.45rem;
  backdrop-filter: blur(6px);
}
.tech-body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.tech-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}
.tech-desc {
  font-size: 0.86rem;
  color: var(--cream-dim);
  margin: 0;
}
.tech-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.5rem;
}
.tech-chip {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(245, 196, 0, 0.09);
  border: 1px solid rgba(245, 196, 0, 0.26);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
}
.tech-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: clamp(1.2rem, 2.4vw, 1.8rem);
  padding: 0.85rem 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted-2);
  font-size: 0.84rem;
  line-height: 1.55;
}
.tech-note .ico {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}
@media (max-width: 960px) {
  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .tech-media {
    aspect-ratio: 16 / 10;
  }
  .tech-body {
    padding: 0.85rem 0.9rem 1rem;
  }
  /* di HP cukup 2 kartu utama agar beranda tidak memanjang */
  .home-tech .tech-card:nth-child(n + 3) {
    display: none;
  }
  .tech-note {
    font-size: 0.8rem;
  }
}

/* =========================================================================
   Beranda: update studio, kenapa kami, dan aturan tampilan mobile
   ========================================================================= */
.split-why {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}

/* ---------- Galeri update / postingan ---------- */
.updates-grid {
  display: grid;
  gap: clamp(0.8rem, 1.6vw, 1.15rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(0, auto);
}
.updates-grid > * {
  min-width: 0;
}
.update-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--charcoal);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.update-card:hover {
  border-color: rgba(245, 196, 0, 0.45);
  transform: translateY(-3px);
}
.update-card.is-lead {
  grid-column: span 2;
  grid-row: span 2;
}
.update-media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.update-card.is-lead .update-media {
  aspect-ratio: 16 / 11;
  height: 100%;
}
.update-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.update-card:hover .update-media img {
  transform: scale(1.05);
}
.update-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.update-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 32%, rgba(10, 10, 10, 0.55) 68%, rgba(10, 10, 10, 0.92) 100%);
}
.update-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.8rem 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.update-date {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.update-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
  color: var(--cream);
}
.update-desc {
  font-size: 0.76rem;
  color: var(--cream-dim);
  line-height: 1.45;
  display: none;
}
.update-link {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-top: 0.1rem;
}
.update-card.is-lead .update-title {
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
}
.update-card.is-lead .update-desc {
  display: block;
}

/* ---------- Kenapa kami ---------- */
.why-list {
  display: grid;
  gap: 0.75rem;
}
.why-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(20, 20, 20, 0.6);
  align-items: start;
}
.why-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 196, 0, 0.12);
  border: 1px solid rgba(245, 196, 0, 0.3);
  color: var(--accent);
}
.why-mark .ico {
  width: 16px;
  height: 16px;
}
.why-item h3 {
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .updates-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .update-card.is-lead {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 960px) {
  .split-why {
    grid-template-columns: 1fr;
  }
  .updates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Mobile: beranda tidak menampilkan video & toko ---------- */
@media (max-width: 820px) {
  .home-video,
  .home-shop {
    display: none !important;
  }
  .updates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }
  .update-card.is-lead {
    grid-column: span 2;
    grid-row: auto;
  }
  .update-card.is-lead .update-media {
    aspect-ratio: 16 / 10;
  }
  .update-media {
    aspect-ratio: 1 / 1;
  }
  .update-title {
    font-size: 0.8rem;
  }
  .update-card.is-lead .update-title {
    font-size: 0.95rem;
  }
  .update-caption {
    padding: 0.6rem 0.6rem 0.7rem;
    gap: 0.15rem;
  }
  .update-badge {
    top: 0.45rem;
    left: 0.45rem;
    font-size: 8.5px;
    padding: 0.2rem 0.4rem;
  }
  .update-desc {
    font-size: 0.72rem;
  }
  .home-updates .section-head,
  .home-why .section-head {
    margin-bottom: 1.2rem;
  }
  .why-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.8rem 0.85rem;
  }
  .why-mark {
    width: 30px;
    height: 30px;
  }
  .home-services .grid,
  .home-projects .grid,
  .home-journal .grid {
    grid-template-columns: 1fr;
  }
  .home-services .service-card {
    padding: 1rem;
  }
  /* Beranda mobile tetap ringkas: item selebihnya ada di halaman masing-masing. */
  .home-projects .project-card:nth-child(n + 4),
  .home-services .service-card:nth-child(n + 5),
  .home-journal .article-card:nth-child(n + 3),
  .home-process .step:nth-child(n + 5) {
    display: none;
  }
  .home-projects .grid,
  .home-services .grid,
  .home-journal .grid {
    gap: 0.8rem;
  }
  .home-projects .project-media {
    aspect-ratio: 16 / 10;
  }
  .home-services .service-card .service-desc {
    display: none;
  }
}

@media (max-width: 380px) {
  .updates-grid {
    grid-template-columns: 1fr;
  }
  .update-card.is-lead {
    grid-column: span 1;
  }
  .update-media {
    aspect-ratio: 16 / 10;
  }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1080px) {
  .nav-link {
    padding: 0.5rem 0.5rem;
    font-size: 0.78rem;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .nav,
  .header-cta,
  .desktop-only {
    display: none !important;
  }
  .icon-btn.only-mobile {
    display: inline-flex;
  }
  .header-actions {
    margin-left: auto;
  }
  .header-inner {
    height: 60px;
  }
  .hero {
    min-height: 78vh;
  }
  .cta-band-inner {
    grid-template-columns: 1fr;
  }
  .detail-grid,
  .cart-layout,
  .account-grid {
    grid-template-columns: 1fr;
  }
  .summary-box,
  .account-nav {
    position: static;
  }
  .account-nav {
    display: flex;
    overflow-x: auto;
    gap: 0.4rem;
    padding-bottom: 0.3rem;
  }
  .account-nav a {
    white-space: nowrap;
  }
  .masonry {
    columns: 2;
  }
  .split-video,
  .split-feature {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  }
  .tabbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    background: rgba(12, 12, 12, 0.97);
    backdrop-filter: blur(18px) saturate(150%);
    border-top: 1px solid var(--line-strong);
    height: var(--tabbar-h);
    align-items: stretch;
    justify-content: space-around;
    padding: 0 0.2rem;
  }
  .tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.03em;
    padding: 6px 2px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s var(--ease);
  }
  .tab-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 22px;
    transition: transform 0.25s var(--ease);
  }
  .tab-item svg {
    width: 21px;
    height: 21px;
    transition: transform 0.3s var(--ease);
  }
  .tab-label {
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
  }
  .tab-item:active .tab-ico {
    transform: scale(0.88);
  }
  .tab-item:active .tab-label {
    transform: translateY(1px);
  }
  .tab-item.is-active {
    color: var(--accent);
  }
  .tab-item.is-active .tab-ico {
    animation: tabBob 2.8s ease-in-out infinite;
  }
  .tab-item.is-active .tab-label {
    font-weight: 600;
  }
  .tab-item.is-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 2px;
    border-radius: 99px;
    background: var(--accent);
    animation: tabBarIn 0.4s var(--ease);
  }
  /* Menu utama "Mulai Proyek": satu-satunya tombol aksen di tab bar */
  .tab-cta .tab-ico {
    width: 34px;
    height: 26px;
    border-radius: 999px;
    background: rgba(245, 196, 0, 0.14);
    border: 1px solid rgba(245, 196, 0, 0.38);
    color: var(--accent);
  }
  .tab-cta .tab-ico svg {
    width: 16px;
    height: 16px;
  }
  .tab-cta.is-active .tab-ico {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
  }
  .wa-float {
    bottom: calc(var(--tabbar-h) + 0.9rem + env(safe-area-inset-bottom));
    padding: 0.55rem;
    font-size: 0;
    gap: 0;
    width: 52px;
    height: 52px;
    justify-content: center;
  }
  .wa-float svg {
    width: 24px;
    height: 24px;
  }
  .toast-wrap {
    bottom: calc(var(--tabbar-h) + 0.9rem);
  }
  .cookie-bar {
    bottom: calc(var(--tabbar-h) + 0.6rem);
  }
  .install-bar {
    bottom: calc(var(--tabbar-h) + 3.6rem);
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-5);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .track-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem 0.4rem;
  }
  .track-step:nth-child(3n)::after {
    display: none;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 0.96rem;
  }
  .grid-2,
  .grid-3,
  .filters-row {
    grid-template-columns: 1fr;
  }
  /* Video & produk tetap 2 kolom: tampilan seperti aplikasi, bukan daftar panjang */
  .video-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }
  .filters-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .btn {
    min-height: 46px;
    font-size: 0.8rem;
    padding: 0.65rem 1.1rem;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .masonry {
    columns: 1;
  }
  .cart-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.8rem;
  }
  .cart-thumb {
    width: 64px;
    height: 64px;
  }
  .cart-row-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-controls .hero-arrows {
    display: none;
  }
  .step {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .step-num {
    width: 36px;
    height: 36px;
  }
  .section-head {
    gap: var(--sp-4);
  }
}

/* Print */
@media print {
  .only-print {
    display: block;
    padding: 0.6rem 0;
    border-bottom: 1px solid #ccc;
    margin-bottom: 0.8rem;
    color: #000;
  }
  .product-flags {
    display: none;
  }
  .wish-btn {
    display: none !important;
  }
  .site-header,
  .site-footer,
  .tabbar,
  .wa-float,
  .cookie-bar,
  .install-bar,
  .toast-wrap,
  .drawer,
  .search-panel {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
