/* ============ Hourwick — auge-style rebuild ============ */
@font-face { font-family: "Clash Display"; src: url(/mwcs/fonts/clash-display-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url(/mwcs/fonts/clash-display-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(/mwcs/fonts/general-sans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(/mwcs/fonts/general-sans-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(/mwcs/fonts/general-sans-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(/mwcs/fonts/instrument-serif-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

html { touch-action: manipulation; }

:root {
  --cream: #edeee5;
  --ink: #000;
  --accent: #fdf48b;
  --gutter: 30px;
  --cw: 417px;
  --gap: 17px;
  --gap-m: 10px;
  --text-sm: clamp(12px, 0.6vw + 9px, 14px);
  --text-content-sm: clamp(18px, 0.9vw + 15px, 28px);
  --radius: 3px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: "General Sans", system-ui, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
img { display: block; }

/* ---- curtain: transisi antar halaman ---- */
.curtain {
  position: fixed; inset: 0; z-index: 200;
  background: #000; opacity: 1;
  pointer-events: none;
  transition: opacity .4s ease;
}
.curtain.open { opacity: 0; }
.curtain.close { opacity: 1; }

/* ---- stage: layar penuh tanpa scroll (halaman home) ---- */
.stage {
  position: relative;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

/* ---- topbar ---- */
.topbar {
  position: absolute; inset: 0 0 auto 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 28px 20px 0;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.pill {
  display: inline-block;
  color: #000;
  background: var(--accent);
  border-radius: var(--radius);
  padding: 7px 24px;
  font-size: var(--text-content-sm);
  line-height: 1.35;
  transition: opacity .5s ease;
}
.pill.hide { opacity: 0; }
.brand {
  margin-right: calc(var(--gutter) - 20px);
  height: 40px;
  padding: 0 16px;
  background: #000;
  border-radius: var(--radius);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}
.brand:hover { transform: rotate(-12deg); }
.brand-logo { display: block; height: 24px; width: auto; }
.brand-logo-d { display: none; }
.page-dark .brand-logo-l { display: none; }
.page-dark .brand-logo-d { display: block; }

/* ---- strip: kolom foto digerakkan wheel/slide (60% atas) ---- */
.strip-zone {
  height: 60%;
  position: relative;
  overflow: visible;
  overflow-x: clip;
  flex: none;
}
.strip {
  position: relative;
  height: 100%;
  width: 100%;
}
.col {
  position: absolute;
  top: 0; left: 0;
  width: var(--cw);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  will-change: transform;
}
.card {
  display: block;
  position: relative;
  width: 100%;
  height: var(--strip-h, 540px);
  flex: none;
  overflow: hidden;
  cursor: pointer;
}
.card-photo {
  display: block;
  position: relative;
  width: 100%;
  height: var(--strip-h, 540px);
  overflow: hidden;
  background: #ddded4;
}
.card-photo img {
  position: absolute;
  top: 0; left: -15%;
  width: 130%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.cap {
  width: 100%;
  padding: 10px 0 0 16px;
  flex: none;
}
/* watermark logo di jendela kartu — selalu terlihat, ikut tinggi kartu */
.card-mark {
  position: absolute;
  left: 5%;
  bottom: 7%;
  width: 26%;
  z-index: 2;
  pointer-events: none;
}
.card-mark img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.6));
}
.cap-t {
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.cap-g {
  margin-top: 5px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.55);
}

/* ---- huruf raksasa ---- */
.letters-zone {
  flex: 1;
  position: relative;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  padding-left: var(--gutter);
  clip-path: inset(0 -9999px 0 -9999px);
}
.word {
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  font-size: 292px;
  line-height: 0.75;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  transform-origin: left bottom;
  padding-bottom: 4px;
}
.word .ch {
  display: inline-block;
  clip-path: inset(0 0 110% 0);
  will-change: clip-path, transform;
}
.word .ch i { display: block; transform: translateY(115%); font-style: normal; }
.midlabel {
  position: absolute;
  top: 16px; right: var(--gutter);
  overflow: hidden;
  font-size: var(--text-content-sm);
  line-height: 1.35;
  z-index: 2;
}
.midlabel-in { display: block; transform: translateY(110%); }

/* ---- footer bar ---- */
.foot {
  position: relative;
  height: 84px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  color: #fff;
  mix-blend-mode: difference;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.foot-left { display: flex; gap: 28px; align-items: center; }
.foot-left a { transition: opacity .3s ease; }
.foot-left a:hover, .foot-right a:hover { opacity: 0.5; }
.foot-right { display: flex; gap: 26px; }
.menu-btn {
  position: absolute;
  right: var(--gutter);
  bottom: 80px;
  width: 60px; height: 40px;
  background: #000;
  color: #fff;
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  mix-blend-mode: normal;
  z-index: 60;
  transition: transform .3s ease;
}
.menu-btn:hover { transform: scale(1.06); }
.menu-btn span {
  display: block; width: 22px; height: 2px;
  background: currentColor;
  transition: transform .3s ease;
}
.menu-btn.open span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---- menu panel ---- */
.menu {
  position: fixed; inset: 0 0 0 auto;
  width: min(480px, 100%);
  background: #000;
  color: #fff;
  z-index: 80;
  transform: translateX(101%);
  transition: transform .45s cubic-bezier(0.65, 0, 0.35, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(28px, 5vw, 64px);
}
.menu.open { transform: translateX(0); }
.menu-logo { width: min(230px, 72%); align-self: flex-start; margin-bottom: 44px; }
.menu ul { list-style: none; }
.menu li { overflow: hidden; }
.menu li a {
  display: block;
  font-size: 38px;
  line-height: 1.5;
  transition: color .3s ease, padding-left .3s ease;
}
.menu li a:hover { color: var(--accent); padding-left: 12px; }
.menu li a .serif { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; }
.menu-meta {
  position: absolute;
  bottom: 30px; left: clamp(28px, 5vw, 64px); right: clamp(28px, 5vw, 64px);
  display: flex; justify-content: space-between;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.55);
}
.menu-close {
  position: absolute; top: 24px; right: 24px;
  font-size: 34px; line-height: 1;
  transition: transform .3s ease;
}
.menu-close:hover { transform: rotate(90deg); }

/* ---- responsive ---- */
@media (max-width: 820px) {
  :root { --gutter: 18px; --cw: 72vw; }
  .strip-zone { height: 46%; }
  .cap { padding: 8px 0 0 12px; }
  .cap-t { font-size: 17px; }
  .word { font-size: 22vw; }
  .midlabel { top: 8px; font-size: 14px; }
  .foot { height: auto; padding: 14px var(--gutter) 20px; flex-wrap: wrap; gap: 10px; }
  .foot-left { gap: 14px; flex-wrap: wrap; }
  .foot-right { gap: 14px; }
  .menu-btn { top: auto; bottom: 16px; right: var(--gutter); }
  .foot { padding-right: calc(var(--gutter) + 76px); }
  .menu li a { font-size: 30px; }
  .pill { padding: 5px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* ================= HALAMAN KONTEN ================= */
.page-sub { min-height: 100vh; background: var(--cream); }
.page-dark { background: #000; color: var(--cream); }
.page-sub .topbar { position: absolute; z-index: 40; }
.page-sub .foot { position: relative; margin-top: 90px; }
.page-sub .menu-btn { position: fixed; }
.sub { padding: 0 var(--gutter); max-width: 1600px; margin: 0 auto; }
.page-dark .menu-btn { background: var(--accent); color: #000; }
.page-dark .brand { background: #fff; color: #000; }

/* --- works --- */
.works-hero { padding-top: 150px; }
.works-mark { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; }
.works-mark b {
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  font-size: clamp(54px, 12.5vw, 180px);
  line-height: 0.86;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.works-mark i {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  color: var(--accent);
}
.works-list { margin-top: 70px; border-top: 1px solid rgba(237, 238, 229, 0.65); }
.work-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 6px;
  border-bottom: 1px solid rgba(237, 238, 229, 0.65);
  color: var(--cream);
  text-decoration: none;
  transition: background-color 0.4s ease, color 0.4s ease, padding 0.4s ease;
}
.work-row:hover { background: var(--accent); color: #000; padding-left: 22px; padding-right: 22px; }
.work-row b {
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 45px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.work-row span { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.9; white-space: nowrap; }

/* --- about --- */
.about-word {
  padding-top: 90px;
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  font-size: clamp(140px, 31vw, 450px);
  line-height: 0.82;
  text-transform: uppercase;
  color: #fdf48b;
  letter-spacing: -0.03em;
}
.about-h {
  margin-top: 40px;
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 0.98;
  text-transform: uppercase;
  max-width: 18ch;
  letter-spacing: -0.02em;
}
.about-h .i { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; text-transform: none; color: var(--accent); }
.about-h .y { color: var(--accent); }
.about-body { margin-top: 60px; max-width: 30ch; font-size: var(--text-content-sm); line-height: 1.45; opacity: 0.92; }
.about-stats { display: flex; flex-wrap: wrap; gap: 60px; margin-top: 80px; }
.stat b { display: block; font-family: "Clash Display", sans-serif; font-weight: 600; font-size: clamp(48px, 6vw, 84px); line-height: 1; color: var(--accent); }
.stat span { display: block; margin-top: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.9; }

/* --- contacts --- */
.contact-h {
  padding-top: 150px;
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  font-size: clamp(54px, 10vw, 150px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.contact-h .i { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; text-transform: none; color: #000; opacity: 0.55; }
.contact-h .y { color: #000; background: var(--accent); padding: 0 0.12em; }
.contact-block {
  margin-top: 70px;
  background: #000;
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(30px, 5vw, 70px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 44px;
}
.cb-item span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.55; margin-bottom: 12px; }
.cb-item a, .cb-item p {
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.15;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0;
}
.cb-item a:hover { color: var(--accent); }

/* --- privacy / prose --- */
.prose { padding-top: 150px; max-width: 760px; }
.prose h1 { font-family: "Clash Display", sans-serif; font-weight: 600; font-size: clamp(44px, 6vw, 84px); line-height: 0.95; text-transform: uppercase; letter-spacing: -0.02em; }
.prose h2 { margin-top: 54px; font-family: "Clash Display", sans-serif; font-weight: 600; font-size: 26px; text-transform: uppercase; letter-spacing: 0.01em; }
.prose p { margin-top: 18px; font-size: 17px; line-height: 1.65; opacity: 0.85; }
.prose a { color: inherit; }

/* --- halaman proyek --- */
.proj-hero { position: relative; height: 78vh; min-height: 460px; overflow: hidden; }
.proj-hero img { position: absolute; top: -8%; left: 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.proj-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.05) 45%, rgba(0,0,0,0.5)); }
.proj-title {
  position: absolute;
  left: var(--gutter); right: var(--gutter); bottom: 40px;
  z-index: 2;
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  font-size: clamp(64px, 10vw + 40px, 190px);
  line-height: 0.88;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -0.02em;
}
.proj-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.proj-meta div span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.5; margin-bottom: 6px; }
.proj-meta div b { font-size: 15px; font-weight: 600; }
.proj-body { max-width: 900px; margin-top: 60px; }
.proj-body p { font-size: var(--text-content-sm); line-height: 1.45; margin-top: 30px; }
.proj-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 90px;
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: #000;
  transition: opacity 0.3s ease;
}
.proj-next:hover { opacity: 0.55; }
.proj-next small { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.5; }
.proj-next b { font-family: "Clash Display", sans-serif; font-weight: 600; font-size: clamp(34px, 5vw, 72px); line-height: 0.95; text-transform: uppercase; }
