/* =========================================================================
   Bimotography — styles.css
   Dark-first editorial. Mobile-first; breakpoints 600 / 900 / 1200 px.
   ========================================================================= */

:root {
  --ink: #131211;
  --ink-2: #1b1917;
  --ink-3: #252220;
  --paper: #f3eee6;
  --muted: #b3aca1;
  --line: rgba(243, 238, 230, 0.14);
  --gold: #c2a878;

  --cream: #efe8dc;
  --cream-2: #e6ddcd;
  --cream-ink: #1d1b19;
  --cream-muted: #5f574c;
  --cream-line: rgba(29, 27, 25, 0.16);
  --gold-deep: #6b5530;
  --danger: #ffb4a6;
  --danger-deep: #9b2c1c;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "EB Garamond", "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(5rem, 12vw, 10rem);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 4.5rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, picture, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
ul, ol { list-style: none; padding: 0; }
[hidden] { display: none !important; }
.sprite { display: none; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.theme-light :focus-visible { outline-color: var(--gold-deep); }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.75rem 1rem; background: var(--paper); color: var(--ink);
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: 0.7; }
.theme-light .eyebrow { color: var(--gold-deep); }

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 7vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.section-title em, .hero__title em, .inquiry__title em { font-style: italic; color: var(--gold); }
.theme-light .section-title em, .theme-light .inquiry__title em { color: var(--gold-deep); }
.section-lead { max-width: 34rem; margin-top: 1.25rem; color: var(--muted); }
.theme-light .section-lead { color: var(--cream-muted); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 88rem; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head--split { display: flex; flex-direction: column; gap: 1.75rem; }
@media (min-width: 900px) {
  .section-head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.theme-light { background: var(--cream); color: var(--cream-ink); }
.theme-light a:not(.btn) { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.1rem; padding: 0.8rem 1.6rem; max-width: 100%; text-align: center;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; }
.btn--solid { background: var(--paper); color: var(--ink); }
.btn--solid:hover { background: var(--gold); }
.btn--ghost { border-color: rgba(243, 238, 230, 0.4); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(243, 238, 230, 0.08); }
.btn--dark { background: var(--cream-ink); color: var(--cream); }
.btn--dark:hover { background: #000; }
.btn--outline-dark { border-color: var(--cream-line); color: var(--cream-ink); }
.btn--outline-dark:hover { border-color: var(--cream-ink); }

.icon-link { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; }
.icon-link svg { width: 1.25rem; height: 1.25rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(19, 18, 17, 0.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 1rem;
  padding-inline: var(--gutter); max-width: 88rem; margin-inline: auto;
}
.brand {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 400; letter-spacing: 0.02em;
  text-decoration: none; margin-right: auto; position: relative; z-index: 2;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; line-height: 1; }
.brand__mark { width: 1.6rem; height: 1.8rem; flex: none; color: var(--paper); fill: var(--ink); } /* color = arch, fill = siluet */
.brand--lg { font-size: clamp(2rem, 5vw, 2.75rem); gap: 0.9rem; }
.brand--lg .brand__mark { width: 1.25em; height: 1.4em; }
.nav { display: none; }
.nav__ig { display: none; }
.nav__list { display: flex; gap: 2.5rem; }
.nav__list a {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  position: relative; padding-block: 0.5rem;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.75rem; min-height: 2.75rem; padding-inline: 0.25rem;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.menu-toggle__bars { position: relative; width: 1.5rem; height: 0.55rem; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 100%; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 50%; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 50%; transform: rotate(-45deg); }

@media (min-width: 900px) {
  .nav, .nav__ig { display: block; }
  .nav__ig { display: inline-grid; }
  .menu-toggle { display: none; }
  .brand { margin-right: 0; }
  .nav { margin-left: auto; margin-right: 1rem; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 3rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu__list li { border-bottom: 1px solid var(--line); }
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: 1.25rem; padding-block: 1rem;
  font-family: var(--serif); font-size: clamp(2.5rem, 12vw, 4rem); font-weight: 300; line-height: 1.1;
  text-decoration: none;
  transform: translateY(1rem); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.mobile-menu.is-open .mobile-menu__list a { transform: none; opacity: 1; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: 0.06s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: 0.12s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: 0.18s; }
.mobile-menu__list span { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.2em; color: var(--gold); }
.mobile-menu__foot { display: grid; gap: 0.5rem; font-size: 0.9rem; color: var(--muted); }
.mobile-menu__foot a { text-decoration: none; padding-block: 0.4rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--ink-2); }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(19, 18, 17, 0.55) 0%, rgba(19, 18, 17, 0) 22%),
    linear-gradient(0deg, rgba(19, 18, 17, 0.95) 8%, rgba(19, 18, 17, 0.72) 45%, rgba(19, 18, 17, 0.3) 72%, rgba(19, 18, 17, 0) 90%);
}
.hero__poster img, .hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__video { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__video.is-active { opacity: 1; }
.hero__caption {
  position: absolute; z-index: 2; right: var(--gutter); top: calc(var(--header-h) + 0.5rem);
  display: flex; align-items: center; gap: 0.85rem;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(243, 238, 230, 0.85);
}
.hero__caption-title { display: none; }
.hero__toggle {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid rgba(243, 238, 230, 0.35); border-radius: 50%;
  background: rgba(19, 18, 17, 0.3);
}
.hero__toggle svg { width: 0.85rem; height: 0.85rem; }

.hero__content {
  padding: calc(var(--header-h) + 2rem) var(--gutter) clamp(5.5rem, 14vh, 7rem);
  max-width: 44rem;
}
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.4rem, 15vw, 7.5rem);
  line-height: 0.92; letter-spacing: -0.02em;
}
.hero__line { display: block; }
.hero__line:nth-child(2) { padding-left: 0.6em; }
.hero__lead { margin-top: 1.5rem; max-width: 26rem; color: rgba(243, 238, 230, 0.86); font-size: 0.98rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; text-decoration: none; color: var(--muted);
}
.hero__scroll::after { content: ""; width: 1px; height: 2.5rem; background: linear-gradient(var(--muted), transparent); animation: scrollcue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes scrollcue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Hero intro animation */
.js .hero__line, .js .hero__lead, .js .hero__actions, .js .hero .eyebrow {
  opacity: 0; transform: translateY(1.25rem);
  animation: rise 1.2s var(--ease) forwards;
}
.js .hero .eyebrow { animation-delay: 0.1s; }
.js .hero__line:nth-child(1) { animation-delay: 0.2s; }
.js .hero__line:nth-child(2) { animation-delay: 0.32s; }
.js .hero__line:nth-child(3) { animation-delay: 0.44s; }
.js .hero__lead { animation-delay: 0.6s; }
.js .hero__actions { animation-delay: 0.72s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Desktop: editorial split — text left, portrait video right at native size */
@media (min-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 1fr) min(calc(100svh * 0.75), 52vw); align-items: center; }
  .hero__media { position: relative; inset: auto; grid-column: 2; grid-row: 1; height: 100svh; z-index: 0; }
  .hero__media::after {
    background:
      linear-gradient(90deg, var(--ink) 0%, rgba(19, 18, 17, 0) 18%),
      linear-gradient(180deg, rgba(19, 18, 17, 0.5) 0%, rgba(19, 18, 17, 0) 20%);
  }
  .hero__content { grid-column: 1; grid-row: 1; padding-block: var(--header-h); max-width: none; padding-right: 3rem; }
  .hero__title { font-size: clamp(5rem, 7.6vw, 8.5rem); }
  .hero__caption { top: auto; bottom: 1.75rem; right: auto; left: 1.75rem; }
  .hero__caption-title { display: inline; color: var(--paper); }
  .hero__scroll { display: flex; left: calc((100% - min(calc(100svh * 0.75), 52vw)) / 2); }
}

/* ---------- Motion / reels ---------- */
.motion { padding-bottom: calc(var(--section) * 0.8); }
.motion__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  padding-bottom: 1rem; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.motion__track::-webkit-scrollbar { display: none; }
.reel { scroll-snap-align: start; }
.reel__frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink-2); }
.reel__video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.reel:hover .reel__video { transform: scale(1.025); }
.reel__toggle {
  position: absolute; right: 0.85rem; bottom: 0.85rem;
  display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%;
  background: rgba(19, 18, 17, 0.55); border: 1px solid rgba(243, 238, 230, 0.35); color: var(--paper);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color 0.3s;
}
.reel__toggle:hover { background: rgba(19, 18, 17, 0.8); }
.reel__toggle svg { width: 1rem; height: 1rem; }
.reel__toggle .i-pause, .reel.is-playing .reel__toggle .i-play { display: none; }
.reel.is-playing .reel__toggle .i-pause { display: block; }
.reel.needs-tap .reel__toggle { width: 4rem; height: 4rem; right: 50%; bottom: 50%; transform: translate(50%, 50%); }
.reel figcaption {
  display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: baseline;
  padding-top: 1.1rem;
}
.reel__num { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold); grid-row: span 2; }
.reel__title { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; }
.reel__meta { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

@media (min-width: 600px) { .motion__track { grid-auto-columns: 46%; } }
@media (min-width: 900px) {
  .motion__track {
    grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible;
    gap: clamp(1rem, 2.5vw, 2.5rem); max-width: 88rem; margin-inline: auto;
  }
  .reel:nth-child(2) { margin-top: 4rem; }
}

/* ---------- Works / gallery ---------- */
.works { padding-top: calc(var(--section) * 0.7); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter {
  min-height: 2.75rem; padding: 0.55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.filter:hover { color: var(--paper); border-color: rgba(243, 238, 230, 0.4); }
.filter[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.works__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(0.75rem, 2vw, 1.75rem); row-gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
}
.works__grid > li:nth-child(even) { transform: translateY(2.5rem); }
@media (min-width: 900px) {
  .works__grid { grid-template-columns: repeat(3, 1fr); padding-bottom: 4rem; }
  .works__grid > li:nth-child(even) { transform: none; }
  .works__grid > li:nth-child(3n + 2) { transform: translateY(4rem); }
}
@media (min-width: 1200px) {
  .works__grid { grid-template-columns: repeat(4, 1fr); }
  .works__grid > li:nth-child(3n + 2) { transform: none; }
  .works__grid > li:nth-child(4n + 2), .works__grid > li:nth-child(4n + 4) { transform: translateY(4rem); }
}
/* Kartu postingan Instagram (carousel bisa di-swipe) */
.post__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2); }
.post__track {
  display: flex; height: 100%;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.post__track::-webkit-scrollbar { display: none; }
.post__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.post__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); -webkit-user-drag: none; user-select: none; }
.post__slide:hover img, .post__slide:focus-visible img { transform: scale(1.035); }
.post__slide:focus-visible { outline-offset: -3px; }
.post__badge, .post__count {
  position: absolute; top: 0.6rem; right: 0.6rem; z-index: 1; pointer-events: none;
  color: var(--paper); filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.55));
}
.post__badge svg { width: 1rem; height: 1rem; }
.post__count {
  padding: 0.15rem 0.5rem; border-radius: 999px; background: rgba(19, 18, 17, 0.55);
  font-size: 0.68rem; letter-spacing: 0.08em; filter: none;
}
.post__media.is-carousel .post__badge { right: auto; left: 0.6rem; }
.post__dots {
  position: absolute; left: 50%; bottom: 0.7rem; transform: translateX(-50%);
  display: flex; gap: 0.3rem; pointer-events: none;
}
.post__dots span { width: 0.35rem; height: 0.35rem; border-radius: 50%; background: rgba(243, 238, 230, 0.45); transition: background-color 0.3s, transform 0.3s; }
.post__dots span.is-active { background: var(--paper); transform: scale(1.2); }
.post__nav {
  position: absolute; top: 50%; z-index: 1; transform: translateY(-50%);
  display: none; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: rgba(243, 238, 230, 0.88); color: var(--ink);
  opacity: 0; transition: opacity 0.3s;
}
.post__nav svg { width: 1rem; height: 1rem; }
.post__nav--prev { left: 0.5rem; }
.post__nav--next { right: 0.5rem; }
.post__nav:disabled { opacity: 0 !important; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .post__nav { display: grid; }
  .post__media:hover .post__nav, .post__nav:focus-visible { opacity: 1; }
}
.post__meta { display: flex; flex-direction: column; gap: 0.2rem; padding-top: 0.9rem; text-decoration: none; }
.post__title {
  font-family: var(--serif); font-size: clamp(1.15rem, 3.2vw, 1.45rem); line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post__meta:hover .post__title { color: var(--gold); }
.post__sub { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.post--skeleton .post__media { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.55; } }

.works__empty { padding: 3rem 0; color: var(--muted); max-width: 34rem; }
.works__fallback {
  padding: clamp(2.5rem, 6vw, 4rem); border: 1px solid var(--line); text-align: center;
}
.works__fallback-title { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.25rem); line-height: 1.15; margin-bottom: 0.75rem; }
.works__fallback p:last-child { color: var(--muted); max-width: 30rem; margin-inline: auto; }
.works__cta { display: flex; justify-content: center; margin-top: clamp(3rem, 7vw, 5rem); }
.insta__handle { text-decoration: none; color: var(--paper); border-bottom: 1px solid var(--gold); }
.insta__handle:hover { color: var(--gold); }

/* Mode embed resmi Instagram */
.works__grid--embed { grid-template-columns: 1fr; align-items: start; row-gap: clamp(1rem, 2.5vw, 1.75rem); padding-bottom: 0; }
.works__grid--embed > li { transform: none !important; aspect-ratio: 6 / 11; } /* ruang awal ≈ tinggi kartu IG, cegah layout shift */
@media (min-width: 760px) { .works__grid--embed { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .works__grid--embed { grid-template-columns: repeat(3, 1fr); } }
.works__grid--embed .instagram-media {
  min-width: 0 !important; max-width: 100% !important; width: 100% !important;
  margin: 0 !important; border-radius: 3px !important; box-shadow: none !important;
}
/* embed.js mencoba memberi style inline (diblokir CSP) → gaya dasarnya ditulis di sini */
.works__grid--embed iframe.instagram-media { display: block; background: #fff; border: 0 !important; }
.works__grid--embed blockquote.instagram-media {
  display: grid; place-items: center; aspect-ratio: 4 / 5;
  background: var(--ink-2); border: 1px solid var(--line) !important;
}
/* Versi minimal: iframe Instagram di-crop. Header embed IG = 54px, lalu media
   selebar iframe dengan rasio postingan → bingkai menampilkan tepat area media. */
.works__grid--minimal { row-gap: clamp(2rem, 4vw, 3rem); }
.works__grid--minimal > li { aspect-ratio: auto; }
.embed__frame {
  --ig-header: 54px;
  position: relative; overflow: hidden; aspect-ratio: var(--ratio, 3 / 4);
  background: var(--ink-2);
}
.embed__frame blockquote.instagram-media { position: absolute; inset: 0; aspect-ratio: auto; border: 0 !important; display: grid; place-items: center; padding: 0 !important; }
.embed__frame iframe.instagram-media {
  position: absolute; left: 0; top: calc(var(--ig-header) * -1);
  width: 100% !important; height: calc(100% + var(--ig-header)) !important;
  border: 0 !important; background: var(--ink-2);
}
.embed__frame iframe.instagram-media { opacity: 0; transition: opacity 0.9s var(--ease); }
.embed__frame.is-loaded iframe.instagram-media { opacity: 1; }
.embed__frame:not(.is-loaded) { animation: pulse 1.8s ease-in-out infinite; }
.embed__frame::after { /* garis tipis ala bingkai foto */
  content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgba(243, 238, 230, 0.06);
}
.embed__meta { display: flex; flex-direction: column; gap: 0.25rem; padding-top: 0.9rem; }
.embed__title { font-family: var(--serif); font-size: clamp(1.25rem, 3.2vw, 1.5rem); line-height: 1.2; }
.embed__sub {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.embed__sub a { display: inline-flex; align-items: center; gap: 0.35rem; text-decoration: none; color: var(--gold); }
.embed__sub a svg { width: 0.9rem; height: 0.9rem; transition: transform 0.3s var(--ease); }
.embed__sub a:hover svg { transform: translateX(3px); }
.embed__sub span + a::before { content: ""; width: 1px; height: 0.8rem; background: var(--line); margin-right: 0.65rem; }

.embed__link { display: inline-flex; align-items: center; gap: 0.6rem; padding: 1rem; font-size: 0.82rem; color: var(--muted); text-decoration: none; }
.embed__link svg { width: 1.1rem; height: 1.1rem; }
.embed__link:hover { color: var(--paper); }
.works__cta { flex-wrap: wrap; gap: 0.75rem; }

/* ---------- About ---------- */
.about { background: var(--ink-2); }
.about__inner { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about__media { overflow: hidden; aspect-ratio: 3 / 4; max-width: 30rem; }
.about__media img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.about__text p:not(.eyebrow):not(.credit) { color: rgba(243, 238, 230, 0.82); max-width: 34rem; margin-top: 1.25rem; }
.about__text .section-title { margin-bottom: 0.5rem; }
.credit { margin-top: 2.5rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.credit a { color: var(--paper); }
.credit a:hover { color: var(--gold); }
@media (min-width: 900px) {
  .about__inner { grid-template-columns: 5fr 6fr; }
}

/* ---------- Pricelist ---------- */
.packages { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .packages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .packages { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.package {
  display: flex; flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: #f6f1e9; border: 1px solid var(--cream-line);
  transition: border-color 0.4s var(--ease), transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.package:hover { border-color: rgba(29, 27, 25, 0.4); transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(29, 27, 25, 0.45); }
.package.is-selected { border-color: var(--cream-ink); box-shadow: inset 0 0 0 1px var(--cream-ink); }
.package__series { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.package__name { font-family: var(--serif); font-size: 1.95rem; font-weight: 400; line-height: 1.1; margin-top: 0.75rem; }
.package__duration { font-size: 0.8rem; color: var(--cream-muted); margin-top: 0.35rem; }
.package__price {
  font-family: var(--serif); font-size: 2.3rem; font-weight: 300; line-height: 1;
  margin-block: 1.5rem; padding-block: 1.25rem; border-block: 1px solid var(--cream-line);
}
.package__price small { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.12em; vertical-align: 0.9em; margin-right: 0.35rem; color: var(--cream-muted); }
.package__features { display: grid; gap: 0.6rem; font-size: 0.9rem; margin-bottom: 2rem; flex: 1; }
.package__features li { position: relative; padding-left: 1.25rem; }
.package__features li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.55rem; height: 1px; background: var(--gold-deep); }
.package .btn { width: 100%; }

/* Pricelist terkunci → terbuka setelah form dikirim */
.pricelist__inner { display: flex; flex-direction: column; }
.pricelist__head { order: 0; }
.pricelist .inquiry { order: 1; margin-top: 0; }
.pricelist__locked, .pricelist__open { order: 2; margin-top: clamp(3rem, 8vw, 5rem); }
.is-ungated .pricelist__open { order: 0; margin-top: 0; margin-bottom: clamp(4rem, 10vw, 7rem); }
.is-ungated .pricelist__head { order: -1; }
.pricelist__locked {
  display: grid; justify-items: center; gap: 0.6rem; text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem; border: 1px dashed rgba(29, 27, 25, 0.3);
}
.pricelist__locked p:last-child { color: var(--cream-muted); max-width: 30rem; font-size: 0.92rem; }
.pricelist__locked-title { font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.15; }
.pricelist__lock {
  position: relative; width: 1.4rem; height: 1.1rem; margin-top: 0.7rem; margin-bottom: 0.5rem;
  border: 1.5px solid var(--gold-deep); border-radius: 2px;
}
.pricelist__lock::before {
  content: ""; position: absolute; left: 50%; bottom: 100%; width: 0.85rem; height: 0.7rem; transform: translateX(-50%);
  border: 1.5px solid var(--gold-deep); border-bottom: 0; border-radius: 0.5rem 0.5rem 0 0;
}
.pricelist__open { outline: none; }
.pricelist__open:not([hidden]) { animation: rise 0.9s var(--ease) both; }
.pricelist__open-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: 1.75rem; }
.pricelist__open-head .eyebrow { margin-bottom: 0; }
.pricelist__note { color: var(--cream-muted); font-size: 0.9rem; }
.package .btn svg { width: 1rem; height: 1rem; }

/* ---------- Inquiry form ---------- */
.inquiry {
  display: grid; gap: 2.5rem;
  padding: clamp(1.75rem, 5vw, 4rem);
  background: var(--cream-2);
}
@media (min-width: 1000px) { .inquiry { grid-template-columns: 4fr 7fr; gap: 4rem; } .inquiry__success { grid-column: 2; } }
.inquiry__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05; }
.inquiry__intro p:last-child { margin-top: 1.25rem; color: var(--cream-muted); max-width: 26rem; }
.form { display: grid; gap: 1.25rem 1.5rem; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.field label span[aria-hidden] { color: var(--gold-deep); }
.optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--cream-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.1rem; padding: 0.75rem 0.9rem;
  background: #f6f1e9; border: 1px solid rgba(29, 27, 25, 0.28); border-radius: var(--radius);
  color: var(--cream-ink); font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--cream-ink) 50%), linear-gradient(135deg, var(--cream-ink) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 55%, calc(100% - 0.8rem) 55%;
  background-size: 0.35rem 0.35rem; background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cream-ink); box-shadow: 0 0 0 1px var(--cream-ink); }
.field [aria-invalid="true"] { border-color: var(--danger-deep); }
.field__error { font-size: 0.82rem; color: var(--danger-deep); min-height: 0; }
.field__error:empty { display: none; }
.field__hint { font-size: 0.78rem; color: var(--cream-muted); text-align: right; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; margin-top: 0.5rem; }
.form__note { font-size: 0.82rem; color: var(--cream-muted); }
.inquiry__success { outline: none; }
.inquiry__success p { margin-top: 1rem; color: var(--cream-muted); max-width: 34rem; }
.inquiry__preview {
  margin-top: 1.5rem; padding: 1.25rem; background: #f6f1e9; border-left: 2px solid var(--gold-deep);
  font-family: var(--sans); font-size: 0.88rem; white-space: pre-wrap; word-break: break-word; color: var(--cream-ink);
}

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq__inner { display: grid; gap: 2rem; border-top: 1px solid var(--cream-line); padding-top: var(--section); }
@media (min-width: 900px) { .faq__inner { grid-template-columns: 5fr 7fr; gap: 5rem; } .faq .section-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.faq .section-lead a { text-decoration: underline; }
.faq__item { border-bottom: 1px solid var(--cream-line); }
.faq__item:first-child { border-top: 1px solid var(--cream-line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding-block: 1.4rem;
  font-family: var(--serif); font-size: clamp(1.25rem, 3vw, 1.6rem); line-height: 1.25;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 0.8rem; height: 0.8rem;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  transition: transform 0.45s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding-bottom: 1.5rem; color: var(--cream-muted); max-width: 40rem; }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(4rem, 9vw, 7rem) 2rem; border-top: 1px solid var(--line); }
.site-footer__top { display: grid; gap: 2.5rem; }
@media (min-width: 700px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__top { grid-template-columns: 2fr 1fr 1.4fr 1fr; } }
.site-footer__tagline { font-family: var(--serif); font-size: 1.25rem; color: var(--muted); margin-top: 0.5rem; }
.site-footer__label { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.site-footer__list { display: grid; gap: 0.35rem; }
.site-footer__list a { text-decoration: none; display: inline-block; padding-block: 0.3rem; }
.site-footer__list a:hover { color: var(--gold); }
.site-footer__list span { color: var(--muted); }
.site-footer__bottom {
  display: flex; flex-direction: column; gap: 0.5rem; justify-content: space-between;
  margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--muted);
}
.site-footer__bottom a { color: var(--paper); }
@media (min-width: 700px) { .site-footer__bottom { flex-direction: row; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.wa-float:hover { transform: translateY(-3px); background: var(--gold); }
.wa-float svg { width: 1.6rem; height: 1.6rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(12, 11, 10, 0.97);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  padding: 4rem 0.5rem 1.5rem;
  opacity: 0; transition: opacity 0.35s var(--ease);
  touch-action: pan-y;
}
.lightbox.is-open { opacity: 1; }
.lightbox__figure { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 1rem; min-width: 0; }
.lightbox__img {
  max-width: 100%; max-height: calc(100svh - 12rem); width: auto; object-fit: contain;
  transition: opacity 0.3s var(--ease);
  user-select: none; -webkit-user-drag: none;
}
.lightbox__img.is-loading { opacity: 0; }
.lightbox__caption { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; text-align: center; }
.lightbox__title { font-family: var(--serif); font-size: 1.5rem; }
.lightbox__meta { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.lightbox__ig { font-size: 0.8rem; margin-top: 0.35rem; color: var(--gold); }
.lightbox__btn {
  display: grid; place-items: center; width: 3rem; height: 3rem; color: var(--paper);
  border-radius: 50%; transition: background-color 0.3s;
}
.lightbox__btn:hover { background: rgba(243, 238, 230, 0.08); }
.lightbox__btn svg { width: 1.5rem; height: 1.5rem; }
.lightbox__close { position: absolute; top: 0.75rem; right: 0.75rem; }
.lightbox__prev { grid-column: 1; }
.lightbox__next { grid-column: 3; }
@media (max-width: 599px) {
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding-inline: 1rem; }
  .lightbox__figure { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__prev { grid-column: 1; grid-row: 2; justify-self: start; }
  .lightbox__next { grid-column: 2; grid-row: 2; justify-self: end; }
}

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(2rem); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .works__grid > li { opacity: 0; transition: opacity 0.9s var(--ease); }
.js .works__grid > li.is-in { opacity: 1; }
.works__grid[hidden] + .works__fallback { margin-top: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal], .js .works__grid > li, .js .hero__line, .js .hero__lead, .js .hero__actions, .js .hero .eyebrow { opacity: 1; transform: none; }
  .hero__scroll::after { animation: none; }
}
