/* ==========================================================================
   Demi Goods Indonesia — sistem visual "paper & slab"
   Inspirasi struktur: kanvas putih, slab hitam ber-radius, pill, tile pastel.
   Tanpa bayangan: kedalaman dari nada, garis rambut, dan tumpukan.
   ========================================================================== */

:root {
  --paper: #ffffff;
  --ink: #000000;
  --gray: #eeeeee;
  --mint: #e3f5f3;
  --peri: #f1f3fa;
  --smoke: #1a1a1a;
  --fog: #f8f8f8;
  --muted: #636363;
  --line: rgba(0, 0, 0, 0.14);
  --line-strong: rgba(0, 0, 0, 0.32);
  --line-light: rgba(255, 255, 255, 0.18);

  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 7.5vw, 120px);
  --radius-card: 20px;
  --radius-slab: 80px;
  --radius-pill: 9999px;
  --header-h: 88px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4, p, figure { margin: 0; }

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--ink); color: var(--paper); }

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* Kerangka lebar */
.shell {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(40px, 5vw, 64px); }

.slab {
  --cover-bg: var(--smoke);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-slab) var(--radius-slab) 0 0;
  padding-block: clamp(64px, 9vw, 120px);
}

/* --------------------------------------------------------------------------
   Tipe
   -------------------------------------------------------------------------- */
.eyebrow {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow-light { color: rgba(255, 255, 255, 0.6); }

.display,
.page-title {
  font-size: clamp(40px, 6.6vw, 80px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-display {
  font-size: clamp(38px, 7.8vw, 90px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.018em;
}

.lead {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(36px, 5vw, 72px);
}

.section-head .eyebrow { display: block; margin-bottom: 18px; }
.section-head > .pill { flex: none; margin-bottom: 6px; }

/* --------------------------------------------------------------------------
   Kontrol: pill
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 58px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.pill-dark { background: var(--ink); color: var(--paper); }
.pill-dark:hover { background: var(--smoke); transform: translateY(-2px); }

.pill-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.pill-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.pill-outline {
  height: 64px;
  padding: 0 32px;
  border-color: var(--paper);
  background: transparent;
  color: var(--paper);
  font-size: 20px;
  font-weight: 400;
}
.pill-outline:hover { background: var(--paper); color: var(--ink); }

.pill-light { background: var(--paper); color: var(--ink); }
.pill-light:hover { background: var(--fog); transform: translateY(-2px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: gap 0.3s var(--ease), opacity 0.3s var(--ease);
}
.text-link::after { content: "→"; font-size: 0.9em; }
.text-link:hover { gap: 14px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--paper);
  transition: border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  flex: none;
  line-height: 1;
}
.wordmark-name {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.wordmark-sub {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.wordmark-light { color: var(--paper); }
.wordmark-light .wordmark-sub { color: rgba(255, 255, 255, 0.55); }

.navlinks {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
}
.navlinks a {
  position: relative;
  font-size: 20px;
  line-height: 1.2;
  padding-block: 6px;
}
.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.navlinks a:hover::after,
.navlinks a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-cta { height: 56px; font-size: 18px; }
.menu-toggle { display: none; height: 48px; padding-inline: 22px; font-size: 16px; }

/* --------------------------------------------------------------------------
   Beranda — hero
   -------------------------------------------------------------------------- */
.hero {
  padding-top: clamp(52px, 7vw, 100px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

.hero-top { text-align: center; }
.hero-top .eyebrow { color: var(--muted); }

.hero h1 {
  max-width: 1240px;
  margin: clamp(24px, 3vw, 40px) auto 0;
  text-align: center;
}

.hero .lead {
  max-width: 660px;
  margin: clamp(20px, 2.4vw, 32px) auto 0;
  text-align: center;
  color: #333333;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(28px, 3.4vw, 44px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 28px;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.hero-meta span + span { position: relative; }
.hero-meta span + span::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}

/* Strip cover di bawah hero */
.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 6vw, 80px);
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--gray);
  aspect-ratio: 3 / 4;
}
.hero-frame img,
.hero-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-frame--video::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--paper);
  opacity: 0.9;
}

.hero-strip figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  font-size: 15px;
  line-height: 1.3;
}
.hero-strip figcaption span:last-child { color: var(--muted); text-align: right; }

.hero-frame--empty {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--peri);
}
.hero-frame--empty .ph-note,
.cover-ph .ph-note {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
}
.hero-frame--empty strong {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   Blok editorial dua kolom
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: clamp(24px, 5vw, 80px);
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}

.split .eyebrow { padding-top: 4px; color: var(--muted); }

.split-copy p {
  max-width: 650px;
  font-size: clamp(20px, 2.2vw, 25.6px);
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.split-copy p + p { margin-top: 20px; color: #3a3a3a; }
.split-copy .text-link { margin-top: 28px; font-size: 18px; }

/* --------------------------------------------------------------------------
   Grid cover produk
   -------------------------------------------------------------------------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.work { display: block; }
.work:nth-child(even) { margin-top: clamp(40px, 8vw, 130px); }

.cover {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--cover-bg, var(--gray));
  aspect-ratio: 4 / 5;
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.work:hover .cover img { transform: scale(1.035); }

.cover-ph {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--mint);
  color: var(--ink);
}
.work:nth-child(3n + 2) .cover-ph { background: var(--peri); }

.ph-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-block: auto;
  padding-right: 72px;
}
.cover-ph strong {
  max-width: 92%;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.ph-meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.6);
}
.cover-ph .ph-arrow {
  position: absolute;
  right: clamp(20px, 2.4vw, 32px);
  bottom: clamp(20px, 2.4vw, 32px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 18px;
  transition: transform 0.4s var(--ease);
}
.work:hover .cover-ph .ph-arrow { transform: translate(3px, -3px); }

.work-cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
}
.work-title {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.3;
  transition: opacity 0.3s var(--ease);
}
.work:hover .work-title { opacity: 0.65; }
.work-meta {
  flex: none;
  font-size: 15px;
  color: var(--muted);
  text-align: right;
}

.slab .work-title { color: var(--paper); }
.slab .work-meta { color: rgba(255, 255, 255, 0.55); }

/* --------------------------------------------------------------------------
   Tile statistik
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 300px;
  padding: clamp(24px, 2.6vw, 40px);
  border-radius: var(--radius-card);
  background: var(--mint);
}
.stat:nth-child(even) { background: var(--peri); }

.stat svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-num {
  display: block;
  font-size: clamp(52px, 5.6vw, 80px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.035em;
}
.stat-label {
  display: block;
  max-width: 220px;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.62);
}

/* --------------------------------------------------------------------------
   Akordeon prinsip
   -------------------------------------------------------------------------- */
/* Judul section dan empat kartu dipin di bawah header selama item bergiliran.
   Ruang gulir pin ditambahkan sebagai elemen setelah stage, karena batas gerak
   sticky adalah kotak konten track, bukan padding-nya. */
.principles-track { position: relative; }
.principles-track::after { content: ""; display: block; height: var(--pin-scroll, 0px); }
.principles-stage { position: sticky; top: var(--header-h); }
/* Layar pendek: jarak dan kartu dipadatkan supaya judul + empat kartu muat. */
.principles.is-compact .section-head { margin-bottom: 24px; }
.principles.is-compact .acc-btn { padding-block: clamp(14px, 1.9vw, 22px); }
.principles.is-compact .acc-panel p { padding-bottom: 18px; }

.acc { display: flex; flex-direction: column; gap: 10px; }

.acc-item {
  background: var(--gray);
  border-radius: var(--radius-card);
  transition: background 0.45s var(--ease), color 0.45s var(--ease);
}

.acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: clamp(22px, 3vw, 42px) clamp(22px, 4vw, 60px);
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.acc-title {
  font-size: clamp(24px, 3.1vw, 42px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.acc-index {
  flex: none;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.45s var(--ease);
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.acc-panel > div { overflow: hidden; }
.acc-panel p {
  max-width: 720px;
  padding: 0 clamp(22px, 4vw, 60px) clamp(26px, 3vw, 44px);
  font-size: 19px;
  line-height: 1.5;
  color: #3f3f3f;
}

.acc-item.open { background: var(--ink); color: var(--paper); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-item.open .acc-index { color: rgba(255, 255, 255, 0.55); }
.acc-item.open .acc-panel p { color: rgba(255, 255, 255, 0.72); }

/* --------------------------------------------------------------------------
   Proses — kolom di slab hitam
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.process-step { padding-top: 22px; border-top: 1px solid var(--line-light); }
.process-step .eyebrow { color: rgba(255, 255, 255, 0.55); }
.process-step h3 {
  margin-top: 28px;
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.3;
}
.process-step p {
  margin-top: 14px;
  max-width: 340px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

/* --------------------------------------------------------------------------
   Halaman dalam
   -------------------------------------------------------------------------- */
.page-hero { padding-top: clamp(52px, 7vw, 100px); padding-bottom: clamp(32px, 4vw, 56px); }
.page-hero .eyebrow { display: block; color: var(--muted); }
.page-title { max-width: 1180px; margin-top: clamp(20px, 2.6vw, 32px); }
.page-lede {
  max-width: 680px;
  margin-top: clamp(20px, 2.4vw, 28px);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: #3a3a3a;
}
.page-hero .hero-actions { justify-content: flex-start; margin-top: 32px; }

.page-content { padding-bottom: clamp(64px, 9vw, 130px); }

/* Filter katalog */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.filter {
  height: 52px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.28s var(--ease), color 0.28s var(--ease),
              border-color 0.28s var(--ease);
}
.filter:hover { border-color: var(--ink); }
.filter.selected { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.disclaimer {
  max-width: 680px;
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Detail produk
   -------------------------------------------------------------------------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 16px;
  color: var(--muted);
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}
.back-link::before { content: "←"; }
.back-link:hover { color: var(--ink); gap: 12px; }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: start;
}

.detail-cover {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--gray);
  aspect-ratio: 4 / 5;
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-cover.cover-ph { background: var(--mint); }
.detail-cover.cover-ph strong { font-size: clamp(34px, 4vw, 54px); }

.detail-copy { padding-top: clamp(4px, 2vw, 24px); }
.detail-logo { max-height: 54px; width: auto; margin-bottom: 26px; }
.detail-copy .eyebrow { display: block; color: var(--muted); }
.detail-copy h1 {
  margin-top: 16px;
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.detail-copy > p {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.55;
  color: #333333;
}
.detail-copy .pill { margin-top: 32px; }

.spec-list { margin-top: 36px; border-top: 1px solid var(--ink); }
.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.4;
}
.spec-row span:first-child { flex: none; color: var(--muted); }
.spec-row span:last-child { text-align: right; }

.spec-row .todo { color: #8a6d3b; }

.variant-block { margin-top: 40px; }
.variant-block .eyebrow { display: block; margin-bottom: 16px; color: var(--muted); }
.variant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.variant-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border-radius: var(--radius-card);
  background: var(--fog);
}
.variant-card strong { font-size: 17px; font-weight: 500; line-height: 1.3; }
.variant-card span { font-size: 14px; line-height: 1.4; color: var(--muted); }

.detail-extra { margin-top: clamp(48px, 6vw, 96px); }
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.detail-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: var(--gray);
}
.detail-video { margin-top: clamp(32px, 4vw, 56px); }
.detail-video video {
  width: 100%;
  max-height: 660px;
  object-fit: contain;
  border-radius: var(--radius-card);
  background: var(--ink);
}

.inquire {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(56px, 7vw, 110px);
  padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 64px);
  border-radius: 40px;
  background: var(--ink);
  color: var(--paper);
}
.inquire h2 {
  max-width: 620px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.inquire p {
  margin-top: 12px;
  max-width: 480px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.62);
}

/* --------------------------------------------------------------------------
   Prosa (tentang, privasi)
   -------------------------------------------------------------------------- */
.prose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.prose {
  max-width: 620px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}
.prose h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.prose h2 + p,
.prose h2 + ul { margin-top: 16px; }
.prose p + h2 { margin-top: 40px; }
.prose p,
.prose li {
  font-size: 18px;
  line-height: 1.65;
  color: #333333;
}
.prose p + p { margin-top: 14px; }
.prose li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.prose ul { margin-top: 8px; border-bottom: 1px solid var(--line); }
.prose .disclaimer { margin-top: 28px; }

.fact-list { margin-top: 24px; border-top: 1px solid var(--line); }

/* Visi di slab */
.vision {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.vision h2 {
  max-width: 560px;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.vision .eyebrow { display: block; margin-bottom: 24px; }
.vision-list li {
  padding: 18px 0;
  border-top: 1px solid var(--line-light);
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}
.vision-list li:last-child { border-bottom: 1px solid var(--line-light); }

/* --------------------------------------------------------------------------
   Kontak
   -------------------------------------------------------------------------- */
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(26px, 4.5vw, 64px);
  border-radius: 40px;
  background: var(--ink);
  color: var(--paper);
}

.contact-panel h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.contact-panel .eyebrow { display: block; color: rgba(255, 255, 255, 0.55); }
.contact-panel > div > .eyebrow + h2 { margin-top: 20px; }
.contact-note {
  max-width: 420px;
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.contact-lines {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 32px;
}
.contact-lines a,
.contact-lines span {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-pill);
  font-size: 18px;
  line-height: 1.2;
  color: var(--paper);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease);
}
.contact-lines a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.contact-block { margin-top: 36px; }
.contact-block h3 {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.contact-block p {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* Formulir pada panel gelap */
.form-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.form-head p {
  margin-top: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 22px;
  margin-top: 32px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.4;
  transition: border-color 0.25s var(--ease);
}
.field select { cursor: pointer; }
.field select option { background: var(--paper); color: var(--ink); }
.field textarea { min-height: 108px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.34); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--paper);
}

.form-grid .pill { align-self: flex-start; margin-top: 6px; }
.form-status { min-height: 20px; font-size: 14px; line-height: 1.5; }
.form-status.show.success { color: #b9f0d6; }
.form-status.show.error { color: #ffc9c0; }

.form-foot {
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(48px, 7vw, 100px);
}

.footer-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(44px, 6vw, 88px);
  border-bottom: 1px solid var(--line-light);
  text-align: center;
}
.footer-cta-inner { position: relative; z-index: 1; }
.footer-cta h2 {
  margin: 24px auto 0;
  max-width: 1000px;
  font-size: clamp(34px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.footer-cta .pill { margin-top: clamp(28px, 3.4vw, 40px); }

.glow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.glow i {
  position: absolute;
  width: min(88vw, 960px);
  aspect-ratio: 1;
  background: rgba(227, 245, 243, 0.045);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: translateY(46%);
}
.glow i:nth-child(2) {
  width: min(64vw, 700px);
  background: rgba(241, 243, 250, 0.06);
}
.glow i:nth-child(3) {
  width: min(40vw, 440px);
  background: rgba(227, 245, 243, 0.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.7fr);
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(48px, 6vw, 80px);
}

.footer-brand p {
  max-width: 380px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
}
.footer-contact a,
.footer-contact span {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-pill);
  font-size: 16px;
  line-height: 1.2;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease);
}
.footer-contact a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.footer-contact .todo { color: rgba(255, 255, 255, 0.5); }

.footer-col h3 {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 17px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s var(--ease);
}
.footer-links a:hover { color: var(--paper); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px 28px;
  border-top: 1px solid var(--line-light);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  max-width: calc(100vw - 40px);
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  line-height: 1.4;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   Gerak masuk
   -------------------------------------------------------------------------- */
@keyframes page-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
#app { animation: page-in 0.7s var(--ease) both; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsif
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }

  .navlinks {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 85;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: var(--gutter);
    background: var(--ink);
    color: var(--paper);
    overscroll-behavior: contain;
  }
  .navlinks.open { display: flex; }
  .navlinks a {
    font-size: clamp(30px, 6vw, 44px);
    line-height: 1.25;
    letter-spacing: -0.02em;
    padding-block: 8px;
  }
  .navlinks a::after { display: none; }
  .navlinks a.active { color: rgba(255, 255, 255, 0.5); }

  .work-grid { gap: 28px; }
  .work:nth-child(even) { margin-top: 64px; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { min-height: 240px; }

  .detail-grid { grid-template-columns: 1fr; }
  .detail-cover { aspect-ratio: 4 / 3; max-height: 560px; }
  .detail-copy { padding-top: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }

  .hero-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .hero-strip::-webkit-scrollbar { display: none; }
  .hero-strip figure {
    flex: 0 0 clamp(200px, 62vw, 300px);
    scroll-snap-align: start;
  }

  .split,
  .vision,
  .prose-grid,
  .contact-panel,
  .footer-grid { grid-template-columns: 1fr; }

  .work-cap { flex-direction: column; align-items: flex-start; gap: 4px; }
  .work-meta { text-align: left; }

  .split .eyebrow { padding-top: 0; }
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-step p { max-width: 100%; }

  .contact-panel { border-radius: 32px; }
}

@media (max-width: 640px) {
  body { font-size: 18px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-head > .pill { margin-bottom: 0; }

  .work-grid { grid-template-columns: 1fr; gap: 32px; }
  .work:nth-child(even) { margin-top: 0; }
  .cover { aspect-ratio: 1 / 1; }
  .work-meta { font-size: 14px; }

  .stats { grid-template-columns: 1fr; }
  .stat { min-height: 200px; gap: 32px; }

  .form-grid { grid-template-columns: 1fr; }
  .variant-grid { grid-template-columns: 1fr; }

  .contact-panel { border-radius: 24px; padding: 24px; }
  .contact-lines a,
  .contact-lines span { font-size: 16px; min-height: 50px; padding-inline: 20px; }

  .detail-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-cover { aspect-ratio: 3 / 4; }

  .inquire { border-radius: 24px; }
  .inquire .pill { width: 100%; }

  .footer-cta h2 br { display: none; }

  .pill { height: 52px; font-size: 17px; padding-inline: 24px; }
  .pill-outline { height: 56px; }
  .hero-actions .pill { flex: 1 1 auto; }
  .hero-meta { font-size: 13px; gap: 6px 18px; }
  .hero-meta span + span::before { display: none; }

  .slab { border-radius: 40px 40px 0 0; }

  .page-hero { padding-top: 44px; }
  .page-content { padding-bottom: 72px; }

  .footer-grid { padding-block: 44px; }
  .footer-bottom { font-size: 12px; }
}

@media (max-width: 400px) {
  .wordmark-name { font-size: 19px; }
  .wordmark-sub { font-size: 9px; }
}

/* --------------------------------------------------------------------------
   Preferensi gerak
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  #app { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .work:hover .cover img { transform: none; }
}
