/* ==========================================================================
   MC Rossa — landing.css (Fase 4)
   Port setia dari desain D-0 (preview Revisi 8) — hero pinned, momen
   tersusun, sorotan foto melingkar, galeri parallax, endcard huruf.
   SEMUA warna via var(--token) dari theme.css — TANPA nilai hex di file
   ini (§5.4). Remediasi §8: tanpa kata terlarang, tanpa penghitung x/N,
   tanpa petunjuk scroll (lihat DECISIONS.md ADR-009).
   ========================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, [role="button"], summary { min-height: 2.25rem; }
.wrap { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }
section { padding: 5.2rem 0; }
::selection { background: var(--gold); color: var(--burg-ink); }

/* Bilah progres emas */
#progressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 90;
  background: var(--gold);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* Kepala section */
.kicker {
  letter-spacing: .34em;
  text-transform: uppercase;
  font-size: .74rem;
  font-weight: 500;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 0 0 1rem;
}
.kicker::before { content: ""; width: 46px; height: 1px; background: var(--gold); }
.kicker.center { justify-content: center; }
.kicker.center::after { content: ""; width: 46px; height: 1px; background: var(--gold); }
.sec-head { max-width: 660px; margin-bottom: 2.6rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .kicker { justify-content: center; }
.sec-head h2 { font-size: clamp(2.1rem, 6vw, 3.3rem); color: var(--burg); }
.sec-head p { color: var(--ink-soft); margin: .8rem 0 0; font-size: 1.03rem; }
.on-dark .sec-head h2 { color: var(--ivory); }
.on-dark .sec-head p { color: var(--sand); }

/* Garis pemisah emas tipis */
.gold-rule { height: 1px; background: var(--gold); opacity: .45; border: 0; margin: 0; }
.gold-rule.wrap { width: min(1140px, 100% - 2.5rem); }

/* Efek masuk (progresif — konten tetap terlihat tanpa JS) */
.reveal.in { animation: rise 1s cubic-bezier(.22, .8, .3, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }

/* Tombol */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: .06em;
  border-radius: 999px;
  padding: .9rem 1.9rem;
  min-height: 3.1rem;
  font-size: .98rem;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.btn svg { flex: none; }
.btn-gold { background: var(--gold); color: var(--burg-ink); box-shadow: 0 16px 34px rgba(42, 6, 6, .35); }
.btn-gold:hover { transform: translateY(-2px); background: var(--gold-2); }
.btn-ghost { border: 1px solid rgba(250, 246, 239, .55); color: var(--ivory); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--gold-2); color: var(--gold-2); }
.btn-burg { background: var(--burg); color: var(--ivory); }
.btn-burg:hover { transform: translateY(-2px); background: var(--burg-2); }

/* ================= HERO PINNED ================= */
.hero-pin { position: relative; height: 230vh; background: var(--burg-deep); }
.hero-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(201, 162, 39, .16), transparent 60%),
    radial-gradient(120% 90% at 50% 115%, var(--burg-2) 0%, transparent 55%),
    var(--burg);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
}
.dust { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.dust i {
  position: absolute;
  border-radius: 50%;
  background: var(--gold-2);
  opacity: 0;
  animation: drift linear infinite;
}
@keyframes drift {
  0% { transform: translateY(12vh) translateX(0); opacity: 0; }
  12% { opacity: .5; }
  88% { opacity: .35; }
  100% { transform: translateY(-72vh) translateX(3vw); opacity: 0; }
}
.hero-top { position: relative; z-index: 3; text-align: center; padding: 3.2rem 1.2rem 0; will-change: transform, opacity; }
.hero-kicker {
  letter-spacing: .4em;
  text-transform: uppercase;
  font-size: .74rem;
  font-weight: 500;
  color: var(--gold-2);
  margin: 0 0 .9rem;
}
.hero-name {
  font-size: clamp(3.1rem, 12.5vw, 8.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .015em;
  color: var(--ivory);
  white-space: nowrap;
  /* H1 tanpa margin: browser memberi margin default 0.67em (~92px atas +
     bawah pada judul desktop 8.6rem) yang diam-diam memakan ruang figur.
     Tanpa reset ini figur terjepit di layar lebar (0.9.5). */
  margin: 0;
}
.hero-name .ltr { display: inline-block; opacity: 0; transform: translateY(52px) rotate(2.5deg); transition: opacity .7s ease, transform .85s cubic-bezier(.2, .8, .25, 1); }
.hero-name.go .ltr { opacity: 1; transform: none; }
.hero-name .ltr.gold { color: var(--gold); }
.hero-name .sp { display: inline-block; width: .3em; }
.hero-figure {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
  will-change: transform;
}
.hero-figure::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4%;
  transform: translateX(-50%);
  width: min(78vw, 540px);
  aspect-ratio: 1.5;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}
.hero-figure img {
  height: 100%;
  max-height: 56svh;
  width: auto;
  max-width: 86vw;
  object-fit: contain;
  filter: drop-shadow(0 30px 44px rgba(0, 0, 0, .5));
}
.hero-outro {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 1.4rem;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.hero-outro p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.7rem, 6vw, 3.2rem);
  line-height: 1.3;
  color: var(--ivory);
  max-width: 20ch;
  margin: 0;
}
.hero-outro p b { color: var(--gold-2); font-weight: 600; }
.hero-bottom {
  position: relative;
  z-index: 5;
  padding: 0 1.2rem 3.4rem;
  text-align: center;
  will-change: opacity, transform;
}
.hero-role {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 3.4vw, 1.55rem);
  color: var(--cream);
  margin: 0 auto;
  max-width: 44ch;
}
.hero-stats { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin: 1.3rem 0 1.5rem; }
.stat {
  border: 1px solid rgba(230, 205, 126, .4);
  border-radius: 999px;
  padding: .42rem 1rem;
  font-size: .86rem;
  letter-spacing: .04em;
  color: var(--cream-light);
}
.stat b { font-weight: 600; color: var(--gold-2); font-size: 1rem; }
.hero-cta { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
/* Penunjuk ke bawah: chevron emas saja (tanpa teks — §8), nama untuk
   pembaca layar lewat aria-label di HTML. */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 6;
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  text-decoration: none;
}
.hero-scroll::after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin: .6rem auto 0;
  border-right: 2px solid var(--gold-2);
  border-bottom: 2px solid var(--gold-2);
  transform: translateY(0) rotate(45deg);
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(45deg); opacity: .45; }
  50% { transform: translateY(5px) rotate(45deg); opacity: 1; }
}
@media (max-width: 640px) {
  /* Figur hero di HP portrait: sebelumnya terjepit sisa ruang flex
     (~95px) karena hero-bottom menumpuk 3 baris pil + 2 baris tombol.
     Lantai 32svh membuat figur ±4,4× tinggi judul (proporsional teks
     hero, 0.8.2) + hero-bottom diringkas agar total muat 100svh. */
  .hero-top { padding-top: 1.6rem; }
  .hero-kicker { margin-bottom: .6rem; }
  .hero-figure { min-height: 32svh; }
  .hero-figure img { max-height: 48svh; }
  .hero-bottom { padding-bottom: 2.8rem; }
  .hero-role { font-size: 1.02rem; }
  .hero-stats { margin: .7rem 0 .8rem; gap: .5rem; }
  .stat { padding: .32rem .8rem; font-size: .8rem; }
  .stat b { font-size: .92rem; }
  .hero-cta { gap: .55rem; }
}
/* Layar landscape pendek (HP diputar): hero tetap rata tengah satu kolom —
   judul, figur, tagline, statistik, dan tombol semua di tengah halaman,
   dengan ukuran diringkas agar figur tetap punya ruang tampil */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-stage { display: flex; flex-direction: column; }
  .hero-top { text-align: center; padding: .9rem 1.2rem 0; }
  .hero-kicker { font-size: .62rem; letter-spacing: .3em; margin-bottom: .4rem; }
  .hero-name { font-size: clamp(2.4rem, 14svh, 4.4rem); }
  .hero-figure { align-items: flex-end; justify-content: center; min-height: 0; }
  .hero-figure::before { width: min(62vw, 440px); }
  .hero-figure img { height: 100%; max-height: 46svh; max-width: 86vw; }
  .hero-bottom { text-align: center; padding: 0 1.2rem 1.1rem; }
  .hero-role { font-size: .98rem; margin-inline: auto; max-width: 52ch; }
  .hero-stats { justify-content: center; margin: .7rem 0 .8rem; }
  .stat { padding: .32rem .75rem; font-size: .78rem; }
  .hero-cta { justify-content: center; }
  .hero-scroll { left: 50%; right: auto; transform: translateX(-50%); bottom: .5rem; }
}
/* Landscape tablet/desktop (tinggi > 600px — tidak terjangkau query
   landscape pendek di atas): judul diskala dari TINGGI layar, bukan
   lebar — 12.5vw di layar lebar membuat judul raksasa (8.6rem) yang
   memakan ruang vertikal figur. Figur diberi lantai 34svh (cermin
   perbaikan HP 0.8.2) + hero-top/bottom diringkas agar total muat
   100svh: pada viewport 1000px, figur ±560px vs judul ±99px (0.9.5). */
@media (orientation: landscape) and (min-height: 601px) {
  .hero-top { padding-top: 2.2rem; }
  .hero-name { font-size: clamp(3rem, 15svh, 6.2rem); }
  .hero-figure { min-height: 34svh; }
  .hero-bottom { padding-bottom: 2rem; }
  .hero-stats { margin: .9rem 0 1rem; }
}

/* ================= TENTANG ================= */
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 3.2rem; align-items: center; }
.about-photo { position: relative; }
.about-photo::before {
  content: "";
  position: absolute;
  inset: auto -16px -16px auto;
  width: 64%;
  height: 64%;
  border: 1px solid var(--gold);
  border-radius: 230px 230px 16px 16px;
  z-index: 0;
}
.about-frame {
  position: relative;
  z-index: 1;
  border-radius: 230px 230px 16px 16px;
  overflow: hidden;
  background: var(--ivory-2);
  box-shadow: var(--shadow);
}
.about-frame img { width: 100%; height: 540px; object-fit: cover; object-position: top center; transform: scale(1.16); will-change: transform; }
.about-badge {
  position: absolute;
  z-index: 2;
  left: -10px;
  bottom: 2rem;
  background: var(--burg);
  color: var(--ivory);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: .8rem 1.1rem;
  box-shadow: var(--shadow);
}
.about-badge b { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-2); display: block; line-height: 1.1; }
.about-badge span { font-size: .8rem; letter-spacing: .06em; color: var(--cream-badge); }
.about-copy h2 { font-size: clamp(2.1rem, 5.4vw, 3.2rem); color: var(--burg); }
.about-copy p { color: var(--ink-soft); }
.about-copy p b { color: var(--ink); font-weight: 500; }
.about-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .85rem; }
.about-points li { display: flex; gap: .8rem; align-items: baseline; font-size: 1.02rem; }
.about-points li::before { content: ""; width: 22px; height: 1px; background: var(--gold); flex: none; transform: translateY(-4px); }
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .about-frame img { height: 430px; }
  .about-badge { left: 8px; }
}

/* ================= BIODATA (0.9.0) ================= */
.bio-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 3.2rem; align-items: center; }
.bio-copy h2 { font-size: clamp(2.1rem, 5.4vw, 3.2rem); color: var(--burg); }
.bio-copy > p { color: var(--ink-soft); }
.bio-timeline { list-style: none; padding: 0; margin: 1.8rem 0 0; border-left: 2px solid var(--gold); display: grid; gap: 1.4rem; }
.bio-timeline li { position: relative; padding-left: 1.4rem; }
.bio-timeline li::before { content: ""; position: absolute; left: -9px; top: .35em; width: 12px; height: 12px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--gold); }
.bio-timeline li b { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--burg); line-height: 1.2; }
.bio-timeline li span { color: var(--ink-soft); font-size: .98rem; }
.bio-callout { margin: 1.6rem 0 0; border-left: 3px solid var(--gold); background: var(--ivory-2); padding: .9rem 1.1rem; color: var(--ink-soft); }
.bio-callout b { font-family: var(--serif); color: var(--burg); margin-right: .4rem; }
.bio-photos { position: relative; }
/* Kolase 2×2 (0.9.2, perintah user: SEMUA 4 foto bio tampil): baris
   atas 2 portrait (gedung Dinas), baris bawah 2 landscape (wawancara).
   Menggantikan bingkai lengkung + foto kecil menumpuk (0.9.0). */
.bio-grid-photos { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.bio-grid-photos figure { margin: 0; border-radius: 16px; overflow: hidden; background: var(--ivory-2); box-shadow: var(--shadow); }
.bio-grid-photos figure:nth-child(1), .bio-grid-photos figure:nth-child(2) { aspect-ratio: 9 / 16; }
.bio-grid-photos figure:nth-child(3), .bio-grid-photos figure:nth-child(4) { aspect-ratio: 4 / 3; }
.bio-grid-photos img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.bio-caption { text-align: center; font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: .95rem; margin: 1.1rem 0 0; }
@media (max-width: 760px) {
  .bio-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .bio-grid-photos { gap: .6rem; }
}

/* ================= MOMEN (PINNED) ================= */
.assembly-pin { position: relative; height: 420vh; background: var(--burg-deep); }
.assembly-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(201, 162, 39, .13), transparent 60%),
    var(--burg);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.assembly-head {
  text-align: center;
  padding: 2.6rem 1.2rem 1.1rem;
  position: relative;
  z-index: 20;
  width: 100%;
  background: linear-gradient(to bottom, var(--burg) 82%, rgba(61, 10, 10, 0));
}
.assembly-head h2 { font-size: clamp(1.9rem, 6vw, 3rem); color: var(--ivory); }
.assembly-head p { color: var(--sand); margin: .5rem auto 0; max-width: 46ch; font-size: .98rem; }
.assembly-field { position: relative; z-index: 1; flex: 1; width: 100%; min-height: 0; }
.asm-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(88vw, 500px);
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 34px 70px rgba(0, 0, 0, .5);
  transform: translate(-50%, -50%);
  will-change: transform, opacity, filter;
}
.asm-card img { width: 100%; height: min(44svh, 380px); object-fit: cover; }
.asm-body { padding: 1.05rem 1.3rem 1.25rem; }
.asm-tag {
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 .3rem;
}
.asm-body h3 { font-size: clamp(1.35rem, 4.4vw, 1.7rem); color: var(--burg); }
.asm-body p { margin: .35rem 0 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }
.assembly-ui {
  position: relative;
  z-index: 5;
  padding: 0 1.2rem 2rem;
  text-align: center;
}
.asm-dots { display: flex; gap: .5rem; justify-content: center; margin-top: .6rem; }
.asm-dots i { width: 26px; height: 3px; border-radius: 2px; background: rgba(250, 246, 239, .25); transition: background .4s; }
.asm-dots i.on { background: var(--gold); }
@media (max-width: 640px) {
  .assembly-head { padding: 1.6rem 1rem .7rem; }
  .assembly-head h2 { font-size: 1.78rem; }
  .assembly-head p { font-size: .92rem; max-width: 36ch; }
  .asm-card { width: min(86vw, 400px); top: 55%; }
  .asm-card img { height: 32svh; }
  .asm-body { padding: .85rem 1.05rem 1rem; }
  .asm-body h3 { font-size: 1.3rem; }
  .asm-body p { font-size: .9rem; line-height: 1.5; }
  .assembly-ui { padding-bottom: 1.3rem; }
}
/* Layar landscape pendek (HP/tablet diputar): judul selalu di atas kartu —
   kepala section berlatar burgundy pekat dan kartu diperkecil agar muat
   penuh di ruang di bawah judul, tidak naik menutupi teks */
@media (orientation: landscape) and (max-height: 700px) {
  .assembly-head { padding: 1rem 1rem .45rem; background: var(--burg); }
  .assembly-head .kicker { margin-bottom: .45rem; }
  .assembly-head h2 { font-size: 1.85rem; }
  .assembly-head p { font-size: .9rem; margin-top: .3rem; }
  .asm-card { width: min(400px, 60vw); }
  .asm-card img { height: 29svh; }
  .asm-body { padding: .7rem 1.05rem .85rem; }
  .asm-body h3 { font-size: 1.22rem; }
  .asm-body p { font-size: .87rem; line-height: 1.45; }
  .assembly-ui { padding-bottom: .8rem; }
}

/* ================= LAYANAN ================= */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 14px;
  background: var(--paper);
  padding: 1.9rem 1.8rem 1.7rem;
  box-shadow: 0 12px 30px rgba(42, 6, 6, .06);
  display: flex;
  flex-direction: column;
}
.svc-num { font-family: var(--serif); font-style: italic; font-size: 2.1rem; color: var(--gold); line-height: 1; }
.svc h3 { font-size: clamp(1.5rem, 4vw, 1.85rem); color: var(--burg); margin: .7rem 0 .4rem; }
.svc p { margin: 0; color: var(--ink-soft); }
.svc-cta {
  margin-top: 1.3rem;
  align-self: flex-start;
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-decoration: none;
  color: var(--burg);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: .55rem 1.2rem;
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  transition: background .3s, color .3s;
}
.svc-cta:hover { background: var(--gold); color: var(--burg-ink); }

/* ================= HARGA PAKET ================= */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.price-card { border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 14px; background: var(--paper); padding: 1.9rem 1.8rem 1.7rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--gold); box-shadow: 0 16px 36px rgba(42, 6, 6, .12); }
.price-badge { display: inline-block; align-self: flex-start; background: var(--burg); color: var(--gold-2); border-radius: 999px; padding: .35rem .9rem; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .9rem; }
.price-card h3 { font-size: 1.45rem; color: var(--burg); margin-bottom: .3rem; }
.price-amount { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: var(--burg); line-height: 1.15; }
.price-duration { color: var(--ink-soft); font-size: .9rem; margin-top: .25rem; }
.price-card ul { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; display: grid; gap: .6rem; flex: 1; }
.price-card li { display: flex; gap: .7rem; align-items: baseline; font-size: .98rem; }
.price-card li::before { content: ""; width: 18px; height: 1px; background: var(--gold); flex: none; transform: translateY(-4px); }
.price-cta { justify-content: center; width: 100%; }
.price-terms { margin-top: 2.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 1.6rem 1.8rem; }
.price-terms h3 { font-size: 1.25rem; color: var(--burg); margin-bottom: .8rem; }
.price-terms ul { margin: 0; padding-left: 1.2rem; color: var(--ink-soft); }
.price-terms li + li { margin-top: .4rem; }
@media (max-width: 900px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .price-grid { grid-template-columns: 1fr; } }

/* ================= GALERI PARALLAX ================= */
.gallery-sec { background: var(--burg); color: var(--ivory); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; position: relative; background: var(--burg-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 3.7; transform: scale(1.18); will-change: transform; }
.gallery video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 3.7; display: block; cursor: pointer; }
.vid-hint { position: absolute; left: .7rem; bottom: .7rem; background: rgba(28, 5, 5, .65); color: var(--ivory); font-size: .75rem; padding: .35rem .75rem; border-radius: 999px; pointer-events: none; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ================= KALENDER ================= */
.cal-sec { background: var(--ivory-2); }
.cal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 760px) { .cal-grid { grid-template-columns: 1fr; } }
.cal { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem 1.3rem 1.5rem; box-shadow: var(--shadow); }
.cal h3 { font-size: 1.5rem; color: var(--burg); margin-bottom: .9rem; text-align: center; }
.cal table { width: 100%; border-collapse: separate; border-spacing: 4px; text-align: center; table-layout: fixed; }
.cal th { font-size: .72rem; letter-spacing: .12em; color: var(--ink-soft); font-weight: 500; padding: .3rem 0; }
.cal td { padding: 0; }
.day {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--sans);
  font-size: .92rem;
  color: var(--ink);
  display: grid;
  place-items: center;
  min-height: 2.4rem;
  text-decoration: none;
  padding: 0;
  appearance: none;
}
a.day.free { background: var(--burg); color: var(--ivory); border-color: var(--burg); cursor: pointer; transition: background .25s; }
a.day.free:hover { background: var(--gold); color: var(--burg-ink); border-color: var(--gold); }
.day.busy { color: var(--day-busy); text-decoration: line-through; cursor: pointer; }
.day.past { color: var(--day-past); }
.day.empty { pointer-events: none; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.4rem; font-size: .9rem; color: var(--ink-soft); }
.cal-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: .45rem; vertical-align: -2px; }
.lg-free { background: var(--burg); }
.lg-busy { background: transparent; border: 1px solid var(--line); }
.cal-note { margin-top: .8rem; color: var(--ink-soft); font-size: .95rem; max-width: 64ch; }
@media (max-width: 760px) {
  .cal { padding: 1.2rem .9rem 1.3rem; }
  .cal table { border-spacing: 2px; }
}

/* ================= POPUP TANGGAL TERISI ================= */
.cal-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.25rem; background: rgba(24, 6, 6, .62); }
.cal-modal[hidden] { display: none; }
.cal-modal-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); max-width: 340px; width: 100%; padding: 1.5rem 1.4rem; text-align: center; }
.cal-modal-card h3 { color: var(--burg); font-size: 1.35rem; margin-bottom: .6rem; }
.cal-modal-card p { color: var(--ink-soft); margin: 0 0 1.2rem; font-size: .95rem; }
.cal-modal-actions { display: flex; flex-direction: column; gap: .6rem; }
.cal-modal-actions .btn { justify-content: center; }
.cal-modal-close { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.cal-modal-close:hover { border-color: var(--gold); color: var(--burg); }

/* ================= BOOKING ================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 2px solid var(--gold); padding-top: 1.1rem; }
.step .s-num { font-family: var(--serif); font-style: italic; font-size: 2.5rem; color: var(--gold); line-height: 1; }
.step h3 { font-size: 1.4rem; margin: .55rem 0 .35rem; color: var(--burg); }
.step p { margin: 0; color: var(--ink-soft); }
.booking-cta { margin-top: 2.6rem; }

/* ================= SOROTAN MOMEN (PINNED) ================= */
.tunnel-sec { background: var(--burg-deep); color: var(--ivory); }
.tunnel-sec .sec-head h2 { color: var(--ivory); }
.tunnel-sec .sec-head p { color: var(--sand); }
.tunnel-pin { position: relative; height: 1250vh; background: var(--burg-deep); }
.tunnel-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(58% 44% at 50% 50%, rgba(201, 162, 39, .15), transparent 70%),
    radial-gradient(120% 90% at 50% 115%, var(--burg-2) 0%, transparent 55%),
    var(--burg-deep);
  color: var(--ivory);
}
.tun-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118vmin;
  height: 118vmin;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, .4);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}
.tunnel-field { position: absolute; inset: 0; z-index: 1; }
.tun-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(100px, 22vmin, 176px);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.tun-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-inline: auto;
  border: 1px solid rgba(230, 205, 126, .55);
  border-radius: 14px;
  box-shadow: 0 26px 48px rgba(0, 0, 0, .55);
}
.tunnel-ui {
  position: absolute;
  left: 50%;
  bottom: 5.5svh;
  transform: translateX(-50%);
  z-index: 120;
  text-align: center;
  width: min(90vw, 440px);
  pointer-events: none;
}
.tunnel-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 5.6vw, 2.35rem);
  color: var(--ivory);
  margin: .25rem 0 .35rem;
  line-height: 1.15;
  text-shadow: 0 4px 26px rgba(0, 0, 0, .65);
}

/* ================= FAQ ================= */
.faq-sec { background: var(--ivory-2); }
.faq { max-width: 780px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: .4rem 0; }
.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--burg);
  padding: .75rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; color: var(--gold); font-size: 1.5rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.1rem; color: var(--ink-soft); max-width: 62ch; }

/* ================= ENDCARD ================= */
.endcard {
  position: relative;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(201, 162, 39, .15), transparent 60%),
    var(--burg);
  color: var(--ivory);
  padding: 6.5rem 0 5.5rem;
}
.endcard .kicker { justify-content: center; }
.endcard .kicker::after { content: ""; width: 46px; height: 1px; background: var(--gold); }
.endcard h2 { font-size: clamp(2.9rem, 11vw, 5.8rem); letter-spacing: .05em; color: var(--ivory); font-weight: 700; }
.endcard h2 .ltr { display: inline-block; }
.endcard h2 .ltr.gold { color: var(--gold); }
.endcard h2 .sp { display: inline-block; width: .3em; }
.endcard.go h2 .ltr { animation: letterIn .6s ease both; animation-delay: var(--d, 0ms); }
@keyframes letterIn { from { opacity: .05; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.endcard p { color: var(--sand-soft); max-width: 46ch; margin: 1.2rem auto 2.1rem; }
.end-links { position: relative; z-index: 2; display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }

/* ================= PROMO BUATINWEBKU ================= */
/* Kartu burgundy berbingkai emas (0.9.8, ADR-021): section promo harus
   MENONJOL di antara galeri burgundy (atas) dan kalender gading
   (bawah) — kartu gelap di atas latar gading terbaca sebagai plakat
   premium; latar burgundy penuh akan menyatu dengan galeri di atasnya. */
.promo-sec { background: var(--ivory); }
.promo-inner {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, var(--burg-2) 0%, var(--burg) 62%);
  border-radius: 22px;
  padding: 3.2rem 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
}
.promo-inner::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  pointer-events: none;
}
.promo-inner .kicker { justify-content: center; }
.promo-inner h2 { font-size: clamp(2.1rem, 6vw, 3.3rem); color: var(--ivory); }
.promo-copy { color: var(--ivory-2); margin: 1rem auto 0; font-size: 1.03rem; max-width: 56ch; }
.promo-actions { display: flex; gap: 1.1rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 1.9rem; }
.promo-link {
  color: var(--gold-2);
  font-weight: 500;
  letter-spacing: .04em;
  font-size: .96rem;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}
.promo-link:hover { color: var(--ivory); }
@media (max-width: 640px) {
  .promo-inner { padding: 2.3rem 1.4rem; border-radius: 18px; }
  .promo-inner::before { inset: 8px; border-radius: 12px; }
}

footer { padding: 1.6rem 0 2rem; text-align: center; color: var(--ink-soft); font-size: .9rem; background: var(--ivory); }
.footer-visits {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}
.footer-visit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
}
.footer-visit + .footer-visit {
  border-left: 1px solid var(--line);
  padding-left: 2.5rem;
}
.footer-visit-num {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--burg);
}
.footer-visit-label {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer-credit {
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(201, 162, 39, .5);
  font-size: .84rem;
  color: var(--ink-soft);
}
.footer-credit a { color: var(--burg); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold); }
.footer-credit a:hover { color: var(--gold); }
/* HP: padding bawah footer tetap lega agar baris terakhir tidak
   tertutup widget WA mengambang (kiri bawah); tablet/desktop tidak
   perlu karena widget jauh dari teks tengah. */
@media (max-width: 640px) {
  footer { padding-bottom: 6.4rem; }
}
.wa-widget {
  position: fixed;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.wa-widget-photo { position: relative; flex: none; width: 56px; height: 56px; }
.wa-widget-photo img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); box-shadow: 0 10px 24px rgba(42, 6, 6, .35); display: block; }
.wa-widget-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  border: 2px solid rgba(201, 162, 39, .55);
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .8; }
  70% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}
.wa-widget-text {
  background: var(--paper);
  color: var(--burg);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: .65rem 1.05rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(42, 6, 6, .18);
  white-space: nowrap;
}

/* Mode statis / tanpa pin: semua statis & terlihat */
.static .hero-pin { height: auto; }
.static .hero-stage { position: relative; height: auto; min-height: 100svh; }
.static .assembly-pin { height: auto; }
.static .assembly-stage { position: relative; height: auto; padding-bottom: 2.5rem; }
.static .assembly-field { display: grid; gap: 1.2rem; padding: 1.4rem 1.1rem 0; }
.static .asm-card { position: relative; left: auto; top: auto; transform: none !important; margin-inline: auto; opacity: 1 !important; filter: none !important; }
.static .hero-outro { display: none; }
.static .dust { display: none; }
.static .tunnel-pin { height: auto; }
.static .tunnel-stage { position: relative; height: auto; padding: .5rem 0 0; }
.static .tunnel-field { position: relative; inset: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 1.6rem 1rem; padding: 1.2rem 1.2rem 2.2rem; }
.static .tun-item { position: relative; left: auto; top: auto; transform: none !important; opacity: 1 !important; margin-inline: auto; }
.static .tun-ring, .static .tunnel-ui { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .hero-name .ltr { opacity: 1; transform: none; }
  .dust { display: none; }
}
