/* Citra Halim microsite. Ganti warna/font cukup di :root. */
:root {
  --cream: #f6f1e7;
  --paper: #fbf8f2;
  --ink: #1f1c16;
  --muted: #5a5448;
  --olive: #2f3a24;
  --gold: #7a5c28;       /* teks emas di atas krem (kontras 5:1) */
  --gold-soft: #d3b47a;  /* emas untuk latar gelap */
  --line: #ddd3bf;
  --wa: #17794a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 400 17px/1.65 var(--sans); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.5rem; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--gold); }
p { margin: 0; }
.wrap { padding-inline: var(--gutter); max-width: 1360px; margin-inline: auto; }
section { padding-block: clamp(64px, 9vw, 120px); }
.kicker { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.kicker::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .6; }
.center { text-align: center; } .center .kicker { justify-content: center; } .center .kicker::before { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .6; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sr { position: absolute; left: -9999px; }

/* tombol */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border-radius: 999px; font: 500 1rem var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-olive { background: var(--olive); color: #fff; }
.btn-olive:hover { background: #3d4b2f; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #12603b; }
.link-arrow { display: inline-flex; align-items: center; gap: 14px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold); padding: 10px 0; min-height: 44px; }
.link-arrow i { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--gold); border-radius: 50%; font-style: normal; color: var(--gold); transition: background-color .2s, color .2s; }
.link-arrow:hover i { background: var(--gold); color: #fff; }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s, box-shadow .3s; color: #fff; }
.site-header.solid, .site-header.plain { background: rgba(251,248,242,.97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { font: 600 1.5rem var(--serif); letter-spacing: .16em; text-decoration: none; white-space: nowrap; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-size: .95rem; padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav ul a:hover { border-color: currentColor; }
.menu-btn { display: none; background: none; border: 0; color: inherit; width: 48px; height: 48px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; margin: auto; transition: transform .25s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.nav .btn { min-height: 42px; padding-inline: 18px; font-size: .92rem; }

/* hero slider */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; padding: 0; overflow: hidden; background: #1c1a14; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.slide.on { opacity: 1; animation: drift 14s ease-out both; }
@keyframes drift { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,12,.62) 0%, rgba(20,18,12,.1) 60%), linear-gradient(180deg, rgba(20,18,12,.45) 0%, transparent 30%, rgba(20,18,12,.6) 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-block: 140px 56px; }
.hero .kicker { color: var(--gold-soft); }
.hero h1 { max-width: 12ch; }
.hero h1 em { color: var(--gold-soft); }
.hero p.lead { max-width: 40ch; margin-top: 22px; font-size: 1.1rem; color: #f1ead9; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-foot { display: flex; align-items: center; gap: 22px; margin-top: 44px; }
.next-thumb { width: 84px; height: 56px; padding: 0; border: 2px solid #fff; border-radius: 3px; overflow: hidden; cursor: pointer; background: none; }
.next-thumb img { width: 100%; height: 100%; object-fit: cover; }
.count { font: 500 .95rem var(--sans); letter-spacing: .12em; }
.count i { display: inline-block; width: 90px; height: 1px; background: rgba(255,255,255,.6); vertical-align: middle; margin: 0 12px; }
.scroll { position: absolute; right: var(--gutter); bottom: 56px; z-index: 1; display: grid; justify-items: center; gap: 12px; text-decoration: none; font-size: .72rem; letter-spacing: .24em; }
.scroll i { width: 48px; height: 48px; border: 1px solid #fff; border-radius: 50%; display: grid; place-items: center; font-style: normal; }

/* about */
.about .top { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.about h2 { margin-bottom: 22px; }
.about p { color: var(--muted); max-width: 44ch; margin-bottom: 28px; }
.about .top img { border-radius: 4px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.about .bottom { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); margin-top: 48px; align-items: center; }
.about .bottom img { border-radius: 4px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feat svg { width: 40px; height: 40px; color: var(--gold); margin-bottom: 14px; }
.feat h3 { font: 500 .78rem var(--sans); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.feat p { font-size: .95rem; margin: 0; }

/* produk */
.tabs { display: inline-flex; gap: 0; margin-top: 28px; border: 1px solid var(--olive); border-radius: 999px; padding: 4px; }
.tab { font: 500 .85rem var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 0 28px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; color: var(--olive); }
.tab.on, .tab:hover { background: var(--olive); color: #fff; }
.cluster { display: grid; gap: clamp(24px, 3vw, 48px); align-items: center; margin-top: 72px; grid-template-columns: 3fr 5fr 2.4fr; }
.cluster.flip { grid-template-columns: 5fr 3fr 2.4fr; }
.cluster .num { font: 500 .78rem var(--sans); letter-spacing: .2em; color: var(--gold); }
.cluster h3 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); letter-spacing: .02em; text-transform: uppercase; margin: 8px 0 4px; }
.cluster .tag { font: italic 500 1.4rem var(--serif); color: var(--gold); margin-bottom: 14px; }
.cluster .txt p { color: var(--muted); margin-bottom: 24px; }
.cluster .pic { border-radius: 4px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.types .cap { font: 500 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.type { display: grid; grid-template-columns: 86px 1fr; gap: 14px; align-items: center; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 12px 0; cursor: pointer; font: inherit; color: inherit; }
.type:last-child { border-bottom: 1px solid var(--line); }
.type img { border-radius: 3px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.type b { display: block; font: 600 1.15rem var(--serif); }
.type span { font-size: .85rem; color: var(--muted); }
.type:hover b { color: var(--gold); }

/* dialog detail */
dialog { border: 0; padding: 0; border-radius: 6px; width: min(1100px, calc(100vw - 32px)); max-height: calc(100svh - 32px); background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgba(20,18,12,.7); }
.thumbs { display: flex; gap: 10px; padding-top: 14px; }
.thumbs[hidden] { display: none; }
.stage .pic { transition: opacity .25s; }
.thumbs button { flex: 1; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: none; cursor: pointer; opacity: .65; transition: opacity .2s, border-color .2s; }
.thumbs button[aria-pressed="true"], .thumbs button:hover { opacity: 1; border-color: var(--gold); }
.thumbs img { aspect-ratio: 16/10; object-fit: cover; width: 100%; border-radius: 2px; }
.close { position: absolute; top: 8px; right: 8px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(251,248,242,.9); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin: 0; padding: 0; list-style: none; }
.specs li { display: flex; gap: 10px; align-items: center; }
.specs svg { width: 24px; height: 24px; color: var(--gold); flex: none; }
.specs small { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.price { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; }
.price small { color: var(--muted); font-size: .9rem; }
.price strong { font: 600 1.7rem var(--serif); color: var(--olive); }

/* fasilitas */
.fac-top { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.fac-top p { color: var(--muted); margin-top: 20px; }
.fac { position: relative; overflow: hidden; border-radius: 4px; margin: 0; background: #222; color: #fff; min-height: 260px; }
.fac img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.fac:hover img { transform: scale(1.04); }
.fac figcaption { position: absolute; inset: auto 0 0 0; padding: 56px 22px 20px; background: linear-gradient(0deg, rgba(15,13,9,.88) 40%, transparent); }
.fac figcaption span { font-size: .78rem; letter-spacing: .18em; color: var(--gold-soft); }
.fac h3 { font-size: 1.45rem; display: flex; align-items: center; gap: 10px; margin: 2px 0 4px; }
.fac h3 svg { width: 24px; height: 24px; flex: none; }
.fac p { font-size: .92rem; color: #eee6d3; max-width: 48ch; }
.fac.big { min-height: 460px; }
.fac-row { display: grid; gap: 16px; margin-top: 16px; }
.fac-row.two { grid-template-columns: 1fr 1fr; } .fac-row.four { grid-template-columns: repeat(4, 1fr); }
.fac-row .fac { min-height: 300px; }

/* lokasi & sekitar */
.loc-grid { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.loc-grid p { color: var(--muted); margin: 20px 0 28px; }
.map { border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); aspect-ratio: 1; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 24px; }
.map img { width: 100%; height: 100%; object-fit: cover; }
.access { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.access li { display: grid; gap: 2px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.access small { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.access b { font: 600 2rem var(--serif); color: var(--olive); line-height: 1.1; }
.access b span { font: 400 1rem var(--sans); color: var(--muted); }
.around-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin: 88px 0 28px; }
.around-head p { color: var(--muted); max-width: 48ch; }
.near { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.near li { background: var(--olive); color: #f4eee0; border-radius: 4px; padding: 28px 20px; min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; }
.near li:nth-child(even) { background: #46512f; }
.near b { font: 600 2.2rem var(--serif); line-height: 1; }
.near b span { font-size: 1rem; font-family: var(--sans); font-weight: 400; margin-left: 4px; color: var(--gold-soft); }
.near p { margin-top: 8px; font-size: .95rem; }

/* galeri */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 36px; }
.gal-grid .g { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 4px; overflow: hidden; }
.gal-grid img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; }
.gal-grid .g:hover img { transform: scale(1.04); }
.gal-grid .g:first-child { grid-column: span 2; grid-row: span 2; }
.gal-grid .g:first-child img { aspect-ratio: auto; }
#lb { width: min(1200px, calc(100vw - 24px)); background: #0f0d09; color: #f4eee0; }
.lb-stage { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; padding: 56px 8px 8px; }
.lb-stage img { width: 100%; max-height: calc(100svh - 190px); object-fit: contain; }
.nav-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: none; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; justify-self: center; }
.nav-arrow:hover { background: rgba(255,255,255,.14); }
#lb p { text-align: center; padding: 4px 16px 18px; }

/* footer */
footer { position: relative; color: #e9e1cf; background: #17150f; padding: clamp(120px, 30vw, 440px) 0 28px; overflow: hidden; }
/* foto utuh (tanpa crop), memudar ke bawah */
footer > img { position: absolute; top: 0; left: 0; width: 100%; height: auto; opacity: .55; -webkit-mask-image: linear-gradient(#000 45%, transparent 95%); mask-image: linear-gradient(#000 45%, transparent 95%); }
footer .wrap { position: relative; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; }
footer h3 { font: 500 .78rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; } footer a:hover { text-decoration: underline; }
.slogan { font: italic 500 1.6rem var(--serif); color: var(--gold-soft); margin-top: 18px; }
.legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; font-size: .9rem; }

/* tombol WA melayang */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.28); }
.fab svg { width: 30px; height: 30px; }
.fab:hover { background: #12603b; }

/* halaman legal */
.doc { padding-top: 120px; max-width: 760px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 8px; }
.doc h2 { font-size: 1.6rem; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-left: 20px; }

/* reveal saat scroll */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .cluster, .cluster.flip { grid-template-columns: 1fr; }
  .cluster .txt { order: 1; } .cluster .pic { order: 2; } .cluster .types { order: 3; }
  .loc-grid, .fac-top { grid-template-columns: 1fr; }
  .near { grid-template-columns: repeat(2, 1fr); }
  .fac-row.four { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav ul { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); color: var(--ink); padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); display: none; }
  .nav ul.open { display: flex; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn.hide-m { display: none; }
  .about .top, .about .bottom { grid-template-columns: 1fr; }
  .about .top img { order: 2; } .about .bottom img { order: 2; }
  .feats { grid-template-columns: 1fr; }
  .fac.big { min-height: 320px; }
  .fac-row.two { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: 1fr 1fr; }
  .gal-grid .g:first-child { grid-row: auto; }
  .lb-stage { grid-template-columns: 1fr; }
  .nav-arrow { position: absolute; bottom: 8px; } .nav-arrow.prev { left: 16px; } .nav-arrow.next { right: 16px; }
  #lb p { padding-bottom: 64px; }
  .scroll { display: none; }
  .site-header { background: rgba(20,18,12,.55); }
}
@media (max-width: 520px) {
  .fac-row.four, .foot { grid-template-columns: 1fr; }
  .near { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide.on { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* foto lebih membulat */
:root { --r-img: 24px; --r-sm: 12px; }
.about .top img, .about .bottom img, .cluster .pic, .fac, .gal-grid .g, .map, .near li, .access li, dialog { border-radius: var(--r-img); }
.type img, .thumbs button, .next-thumb { border-radius: var(--r-sm); }
.thumbs img { border-radius: calc(var(--r-sm) - 3px); }
dialog { overflow: hidden; }
/* peredam gelap tipis di bawah foto footer, di bawah teks */
footer::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(transparent 45%, rgba(23,21,15,.6) 85%); }
footer .wrap { z-index: 1; }

/* info unit di kolom kiri cluster */
.cluster .txt h3.sel { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.cluster .txt .specs { margin: 20px 0 0; }
.cluster .txt .price { margin-top: 20px; }
.cluster .txt .btn { width: 100%; margin-top: 20px; }
.back { background: none; border: 0; padding: 12px 0 0; font: inherit; color: var(--gold); cursor: pointer; text-decoration: underline; min-height: 44px; }
.type[aria-current="true"] b { color: var(--gold); }
.type[aria-current="true"] { background: rgba(122,92,40,.08); }

.gal-grid .g { position: relative; }
.gal-grid .g span { position: absolute; inset: auto 0 0 0; padding: 28px 14px 10px; text-align: left; color: #fff; font-size: .88rem; background: linear-gradient(0deg, rgba(15,13,9,.8), transparent); }

.btn-ghost { background: transparent; color: var(--olive); border-color: var(--olive); }
.btn-ghost:hover { background: var(--olive); color: #fff; }

/* hover: semua tombol jadi transparan dengan garis dan teks berwarna */
.btn-wa:hover, .btn-olive:hover, .btn-ghost:hover { background: transparent; }
.btn-wa:hover { color: var(--wa); border-color: var(--wa); }
.btn-olive:hover { color: var(--olive); border-color: var(--olive); }
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
.hero .btn:hover, .site-header:not(.solid):not(.plain) .btn:hover { color: #fff; border-color: #fff; }
.link-arrow:hover i { background: transparent; color: var(--olive); border-color: var(--olive); }
.tab:not(.on):hover { background: transparent; color: var(--gold); }
.fab:hover { background: rgba(255,255,255,.88); color: var(--wa); box-shadow: inset 0 0 0 2px var(--wa), 0 6px 20px rgba(0,0,0,.28); }

.note { margin-top: 48px; font-size: .88rem; color: var(--muted); max-width: 80ch; }
.note a { color: var(--gold); }
.disc { margin-top: 36px; font-size: .88rem; color: #d9d0bc; max-width: 90ch; }

/* hero: muat di satu layar, tidak terpotong */
.hero .wrap { padding-block: 104px 40px; }
.hero h1 { font-size: clamp(2.4rem, min(5.4vw, 9vh), 4.8rem); max-width: 22ch; }
.hero p.lead { margin-top: 16px; }
.hero .cta-row { margin-top: 22px; }
.hero-foot { margin-top: 28px; }
.scroll { right: auto; left: 50%; transform: translateX(-50%); bottom: 24px; }
.logo { font-size: clamp(1.05rem, 4.4vw, 1.5rem); letter-spacing: .12em; }
/* tanpa JavaScript */
.gal-grid .g { display: block; }
.static-types { list-style: none; margin: 0; padding: 0; font-size: .92rem; color: var(--muted); }
.static-types li { padding: 10px 0; border-top: 1px solid var(--line); }
html:not(.js) .hero-foot, html:not(.js) .menu-btn { display: none; }
@media (max-width: 900px) { html:not(.js) .nav ul { position: static; display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0; border: 0; background: none; color: inherit; } html:not(.js) .nav { height: auto; flex-wrap: wrap; padding-block: 12px; } }
.fine { font-size: .82rem; color: var(--muted); }

/* logo: ikon + nama */
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(.9rem, 3.9vw, 1.4rem); letter-spacing: .1em; }
.logo .mark { width: 34px; height: 34px; flex: none; }
