/* Lensa Story Studio — minimalis: putih, tinta, satu aksen teal brand.
   Satu foto utama full-bleed, lalu lima layanan berselang kiri/kanan. */
:root {
  --bg: #fafaf8;
  --ink: #121614;
  --muted: #6a726f;
  --line: #e3e6e3;
  --soft: #eceeec;
  --teal: #00433f;
  --teal-hover: #0b5a54;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gl: max(20px, env(safe-area-inset-left, 0px));
  --gr: max(20px, env(safe-area-inset-right, 0px));
  --max: 1240px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 2px; background: var(--teal); color: #fff; font-weight: 500; font-size: 15px; text-decoration: none; transition: background .2s ease; }
.btn:hover { background: var(--teal-hover); }
.btn--pill { min-height: 38px; padding: 0 18px; border-radius: 999px; font-size: 14px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e9ecea; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.link-light { color: #fff; font-size: 15px; text-underline-offset: 5px; }

/* Header: transparan di atas foto utama, solid setelah digulir */
.top { position: fixed; inset: 0 0 auto; z-index: 30; padding-top: env(safe-area-inset-top, 0px); transition: background .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.bar { max-width: var(--max); margin-inline: auto; padding: 14px var(--gr) 14px var(--gl); display: flex; align-items: center; gap: 28px; }
.logo { height: 34px; width: auto; }
.logo--dark { display: none; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.nav a { text-decoration: none; color: #fff; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.top .btn--pill { background: #fff; color: var(--ink); }
.top.is-solid { background: rgba(250, 250, 248, .94); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.top.is-solid .logo--light { display: none; }
.top.is-solid .logo--dark { display: block; }
.top.is-solid .nav a { color: var(--ink); }
.top.is-solid .btn--pill { background: var(--teal); color: #fff; }
@media (max-width: 720px) { .nav { display: none; } .top .btn--pill { margin-left: auto; } }

/* Foto (Cloudinary) + placeholder bila foto belum ada */
.media { position: relative; overflow: hidden; background: var(--soft); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.media img.is-loaded { opacity: 1; }
.media.is-empty::after { content: attr(data-label); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* Hero */
.hero { position: relative; height: min(100svh, 940px); min-height: 560px; color: #fff; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; }
.hero-media.media { background: radial-gradient(120% 90% at 70% 30%, #2a3a37 0%, #121a18 70%); }
.hero-media.is-empty::after { color: rgba(255,255,255,.45); top: 42%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 50%, rgba(0,0,0,.55) 100%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin-inline: auto; padding: 0 var(--gr) clamp(40px, 8vh, 88px) var(--gl); display: grid; gap: 22px; }
.hero .kicker { color: rgba(255,255,255,.8); }
.hero h1 { font-family: var(--serif); font-size: clamp(46px, 8.4vw, 112px); line-height: .98; letter-spacing: -0.01em; }
.hero h1 em { font-style: italic; }
.hero-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* Intro + daftar layanan */
.intro { max-width: var(--max); margin-inline: auto; padding: 120px var(--gr) 72px var(--gl); display: grid; grid-template-columns: 1fr 2fr; gap: 24px 48px; }
.intro .kicker { padding-top: 10px; }
.intro-text { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; max-width: 22ch; }
.index { grid-column: 2; list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; }
.index a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.index a:hover { color: var(--ink); border-color: var(--ink); }
@media (max-width: 760px) { .intro { grid-template-columns: 1fr; padding-top: 80px; } .index { grid-column: 1; } }

/* Lima section layanan */
.svc { max-width: var(--max); margin-inline: auto; padding: 0 var(--gr) 0 var(--gl); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; margin-bottom: clamp(72px, 10vw, 140px); }
.svc--flip .svc-visual { order: 2; }
.svc-media { aspect-ratio: 4 / 5; max-width: 100%; }
.svc-text { display: grid; gap: 18px; justify-items: start; max-width: 30rem; min-width: 0; }
.svc h2 { font-family: var(--serif); font-size: clamp(38px, 4.6vw, 60px); line-height: 1; }
.svc-text .desc { color: var(--muted); font-size: 17px; }
.price { font-size: 15px; font-variant-numeric: tabular-nums; border-top: 1px solid var(--line); padding-top: 16px; width: 100%; }
.price .from { color: var(--muted); }
.price .js-price { font-weight: 600; }
.svc .btn { margin-top: 6px; }
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; gap: 28px; }
  .svc--flip .svc-visual { order: 0; }
  .svc-media { aspect-ratio: 4 / 4.4; }
}

/* Ulasan */
.reviews { background: #fff; border-block: 1px solid var(--line); padding: clamp(80px, 10vw, 128px) var(--gr) clamp(80px, 10vw, 128px) var(--gl); }
.reviews-head, .quotes, .reviews-empty { max-width: calc(var(--max) - 40px); margin-inline: auto; }
.reviews-head { display: grid; gap: 14px; margin-bottom: 48px; }
.reviews h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); line-height: 1.05; max-width: 18ch; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; }
.quote { margin: 0; display: grid; gap: 18px; align-content: start; border-top: 1px solid var(--ink); padding-top: 22px; }
.quote .stars { color: var(--teal); letter-spacing: 3px; font-size: 14px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.3; }
.quote figcaption { font-size: 14px; color: var(--muted); }
.quote figcaption strong { color: var(--ink); font-weight: 600; }
.reviews-empty { display: grid; gap: 20px; justify-items: start; border-top: 1px solid var(--ink); padding-top: 24px; }
.reviews-empty p { font-family: var(--serif); font-size: 26px; line-height: 1.3; max-width: 30ch; }

/* Lokasi */
.where { max-width: var(--max); margin-inline: auto; padding: clamp(80px, 10vw, 120px) var(--gr) clamp(80px, 10vw, 120px) var(--gl); display: grid; grid-template-columns: 1fr 2fr; gap: 24px 48px; }
.outlets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px; }
.outlet { display: grid; gap: 10px; align-content: start; }
.outlet h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; margin: 0 0 4px; }
.outlet p { color: var(--muted); font-size: 15px; }
.outlet .links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; font-size: 15px; }
.outlet .links a { text-underline-offset: 4px; }
@media (max-width: 760px) { .where { grid-template-columns: 1fr; } }

/* Footer */
.foot { background: var(--teal); color: #d6e6e1; padding: 56px var(--gr) calc(40px + env(safe-area-inset-bottom, 0px)) var(--gl); display: grid; justify-items: center; gap: 22px; text-align: center; }
.foot-logo { height: 44px; width: auto; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; font-size: 15px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.copy { font-size: 13px; color: #9fc0b8; }

/* Foto layanan + galeri kecil */
.svc-visual { display: grid; gap: 10px; min-width: 0; position: sticky; top: 88px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.thumb { padding: 0; border: 0; background: var(--soft); aspect-ratio: 4 / 5; overflow: hidden; cursor: pointer; opacity: .55; transition: opacity .2s ease; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb[aria-pressed="true"] { opacity: 1; }
@media (max-width: 900px) { .svc-visual { position: static; } }

/* Daftar paket dari Lensa Story OS */
.svc-text { padding-top: clamp(0px, 4vw, 48px); }
.pkgs { width: 100%; display: grid; gap: 10px; justify-items: start; }
.pkg-list { list-style: none; margin: 0; padding: 0; width: 100%; border-top: 1px solid var(--line); }
.pkg { display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pkg-name { min-width: 0; }
.pkg-price { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.pkg-book { font-size: 13px; color: var(--teal); text-underline-offset: 3px; white-space: nowrap; min-width: 56px; text-align: right; }
.pkg-book--wa { color: var(--muted); }
.pkg-group { padding: 18px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.pkg-list > li.pkg-group:first-child { padding-top: 12px; }
.pkg-list:not(.is-open) .is-more { display: none; }
.pkg-toggle { background: none; border: 0; padding: 4px 0; font: 500 14px var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
