/* bikinweb.cv — arah "nama sebagai monumen": Imbue / Albert Sans, graphite dan oranye. */

:root {
  --bg: #18191b;
  --surface: #222427;
  --ink: #eff0f1;
  --muted: #a4a6ab;
  --accent: #ff4a1f;
  --accent-ink: #18191b;
  --field-1: #eff0f1;
  --field-1-ink: #18191b;
  --field-1-muted: #55585d;
  --field-1-tone: #e1e3e5;
  --paper: #f2f2f0;

  --font-display: "Imbue", "Times New Roman", serif;
  --font-text: "Albert Sans", system-ui, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem);
  --step-sub: clamp(1.75rem, 1.5rem + 0.6vw, 2.25rem);
  --step-display: clamp(9.5rem, 15vw, 14.5rem);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(4.5rem, 8vw, 7rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.55; -webkit-font-smoothing: antialiased; border-top: 8px solid var(--accent); overflow-x: clip; }
h1, h2, h3, p, figure, ul, fieldset { margin: 0; }
ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
a { color: inherit; }
:target { scroll-margin-top: 2rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { max-width: 62ch; text-wrap: pretty; }
.nums { font-variant-numeric: tabular-nums; }
.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.photo-bw, .hero-photo img, .contoh-foto img, .tahap-isi img { filter: grayscale(1) contrast(1.05); }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.6rem; background: var(--accent); color: var(--accent-ink); font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform 140ms var(--ease-out), background-color 180ms ease; }
.button:hover { background: #ff6a45; }
.button:active { transform: scale(0.97); }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; text-decoration-thickness: 0.08em; transition: text-decoration-color 180ms ease, color 180ms ease; }
.link:hover, .link:focus-visible { text-decoration-color: currentColor; }
.field { width: 100%; min-height: 3.25rem; padding: 0.7rem 0.9rem; background: var(--surface); color: var(--ink); border: 0; font-size: max(1rem, var(--step-body)); }
.field::placeholder { color: var(--muted); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(100svh, 780px); display: grid; grid-template-rows: auto 1fr auto auto; overflow: hidden; }
.hero-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 1.5rem; position: relative; z-index: 3; }
.hero-top > :last-child { justify-self: end; }
.wordmark { font-family: var(--font-display); font-size: var(--step-sub); line-height: 1; text-decoration: none; letter-spacing: 0; }
.hero-stage { position: relative; display: grid; place-items: center; height: clamp(360px, 40svh, 440px); }
.hero-photo { position: absolute; left: 50%; top: 50%; width: max(272px, 19vw); aspect-ratio: 1; transform: translate(-50%, -50%); overflow: hidden; z-index: 1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; filter: grayscale(1) contrast(1.2) brightness(0.68); }
.hero-line { position: relative; z-index: 2; width: 100%; font-family: var(--font-display); font-size: var(--step-display); line-height: 0.9; letter-spacing: -0.01em; text-transform: uppercase; white-space: nowrap; overflow: hidden; padding-top: 0.06em; }
.track { display: inline-flex; align-items: center; will-change: transform; }
.copy { padding-inline: 0.22em; }
.dot { width: 0.22em; height: 0.22em; border-radius: 50%; background: currentColor; flex: none; }
.hero-text { text-align: center; padding: 2rem var(--margin) 0; align-self: start; display: grid; justify-items: center; gap: 1.5rem; }
.hero-sentence { font-size: var(--step-lead); line-height: 1.4; max-width: 36ch; }
.hero-fact { color: var(--muted); }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 2.5rem; }
.hero-bottom p { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .js .track { animation: jalan var(--durasi, 40s) linear infinite; }
  .js .hero-photo img { animation: napas 14s var(--ease-soft) infinite alternate; }
}
@keyframes jalan { to { transform: translateX(-50%); } }
@keyframes napas { from { transform: scale(1); } to { transform: scale(1.08) translate(-1.5%, 1%); } }
@media (prefers-reduced-motion: reduce) {
  .hero-line { display: flex; justify-content: center; }
}

/* ---------- layanan ---------- */
.layanan { background: var(--surface); padding-block: var(--section); }
.layanan-judul { grid-column: 1 / -1; font-family: var(--font-text); font-weight: 500; font-size: var(--step-sub); line-height: 1.2; margin-bottom: 6rem; }
.layanan-cols { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; row-gap: 3rem; }
.layanan-col { grid-column: span 3; }
.layanan-col:nth-child(2) { grid-column: 4 / span 3; }
.layanan-col:nth-child(3) { grid-column: 7 / span 3; }
.layanan-col h3 { font-family: var(--font-text); font-size: var(--step-body); font-weight: 500; line-height: 1.25; margin-bottom: 1.25em; }
.layanan-col li { line-height: 1.25; }
.layanan-col li + li { margin-top: 0.5rem; }
.layanan-col li button { color: var(--muted); font-size: var(--step-body); line-height: 1.25; padding-block: 0.1rem; transition: color 180ms ease, transform 180ms var(--ease-out); }
.layanan-col li button:hover, .layanan-col li button:focus-visible, .layanan-col li button[aria-pressed="true"] { color: var(--ink); transform: translateX(4px); }
.layanan-ringkas { display: none; color: var(--muted); margin-top: 1.25rem; }
.layanan-desc { grid-column: 10 / span 3; grid-row: 1; line-height: 1.4; color: var(--ink); max-width: 26ch; min-height: 6em; }

/* ---------- contoh ---------- */
.contoh { background: var(--field-1); color: var(--field-1-ink); }
.contoh-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; }
.contoh-foto { padding: 40px; display: grid; place-items: center; }
.contoh-foto img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity 260ms ease; }
.contoh-foto img.is-ganti { opacity: 0; }
.contoh-teks { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; padding: 40px var(--margin) 40px 1rem; }
.contoh-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.contoh-tabs button { color: var(--field-1-muted); padding-block: 0.25rem; transition: color 180ms ease; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.3em; text-decoration-thickness: 2px; }
.contoh-tabs button:hover { color: var(--field-1-ink); }
.contoh-tabs button[aria-selected="true"] { color: var(--field-1-ink); font-weight: 500; text-decoration-color: var(--accent); }
.contoh-isi h2 { font-family: var(--font-display); text-transform: uppercase; font-size: var(--step-head); line-height: 0.95; margin-bottom: 3rem; }
.contoh-isi p { max-width: 34ch; }
.contoh-aksi { display: grid; grid-template-columns: 1fr 1fr; }
.cell { display: flex; align-items: center; padding-inline: 1.5rem; min-height: 72px; text-decoration: none; font-weight: 500; transition: background-color 180ms ease, transform 140ms var(--ease-out); }
.cell:active { transform: scale(0.98); }
.cell-ink { background: var(--field-1-ink); color: var(--field-1); }
.cell-ink:hover { background: #000; }
.cell-tone { background: var(--field-1-tone); color: var(--field-1-ink); }
.cell-tone:hover { background: #d4d6d9; }

/* ---------- harga / nota ---------- */
.harga { background: var(--bg); padding-bottom: var(--section); overflow: hidden; }
.harga-grid { align-items: start; }
.harga-kiri { grid-column: 1 / span 6; padding-top: 6rem; }
.harga-kiri h2 { font-family: var(--font-display); text-transform: uppercase; font-size: var(--step-head); line-height: 0.92; margin-bottom: 2rem; }
.harga-kiri > p { margin-bottom: 3rem; }
.harga-nama { display: grid; gap: 0.5rem; margin-bottom: 2.5rem; max-width: 28rem; }
.harga-nama span, .harga-form legend { font-weight: 500; }
.harga-form legend { margin-bottom: 1rem; padding: 0; }
.opsi { display: grid; grid-template-columns: 1.5rem 1fr auto; gap: 1rem; align-items: center; padding: 0.75rem 1rem; margin-inline: -1rem; cursor: pointer; transition: background-color 180ms ease; }
.opsi:hover { background: var(--surface); }
.opsi input { width: 1.25rem; height: 1.25rem; accent-color: var(--accent); margin: 0; cursor: pointer; }
.opsi-harga { color: var(--muted); }
.opsi:has(input:checked) .opsi-harga { color: var(--ink); }
.harga-form .button { margin-top: 2.5rem; }

.nota-wrap { grid-column: 8 / span 4; position: sticky; top: 0; }
.nota { background: var(--paper); color: #18191b; padding: 4rem 28px 3.5rem; width: 100%; max-width: 380px; margin-left: auto;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 95% 100%, 90% calc(100% - 14px), 85% 100%, 80% calc(100% - 14px), 75% 100%, 70% calc(100% - 14px), 65% 100%, 60% calc(100% - 14px), 55% 100%, 50% calc(100% - 14px), 45% 100%, 40% calc(100% - 14px), 35% 100%, 30% calc(100% - 14px), 25% 100%, 20% calc(100% - 14px), 15% 100%, 10% calc(100% - 14px), 5% 100%, 0 calc(100% - 14px)); }
.nota-nama { text-align: center; font-weight: 700; font-size: var(--step-body); line-height: 1.2; text-transform: uppercase; overflow-wrap: anywhere; }
.nota-tgl { text-align: center; font-size: var(--step-small); color: #55585d; margin-top: 0.35rem; margin-bottom: 2rem; }
.nota-baris li { display: grid; grid-template-columns: 1fr auto; gap: 1rem; line-height: 1.35; }
.nota-baris li + li { margin-top: 14px; }
.nota-baris li.baru { animation: cetak 420ms var(--ease-out); }
@keyframes cetak { from { opacity: 0; transform: translateY(-8px); } }
.nota-total { border-top: 4px solid #18191b; margin-top: 1.75rem; padding-top: 1rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.nota-total strong { font-size: var(--step-sub); font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.nota-kaki { font-size: var(--step-small); color: #55585d; margin-top: 2rem; text-align: center; }

/* ---------- proses ---------- */
.proses { background: var(--field-1); color: var(--field-1-ink); padding-block: var(--section); }
.proses-intro { align-items: end; margin-bottom: 4rem; }
.proses-intro h2 { grid-column: 1 / span 5; font-family: var(--font-display); text-transform: uppercase; font-size: var(--step-head); line-height: 0.95; }
.proses-intro p { grid-column: 7 / span 5; }
.akordeon { display: flex; height: 520px; }
.tahap { --tone: color-mix(in srgb, #18191b calc(100% - var(--t) * 19%), #eff0f1); background: var(--tone); color: #eff0f1; flex: 1 1 0; min-width: 0; position: relative; overflow: hidden; transition: flex-grow 450ms var(--ease-in-out); }
.tahap:nth-child(n+4) { color: #18191b; }
.tahap.is-open { flex-grow: 7.5; }
.tahap-tombol { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1.25rem; z-index: 2; }
.tahap-tombol span { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 700; font-size: var(--step-body); white-space: nowrap; }
.tahap.is-open .tahap-tombol { pointer-events: none; }
.tahap.is-open .tahap-tombol span { opacity: 0; }
.tahap-isi { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; opacity: 0; visibility: hidden; transition: opacity 300ms ease 150ms; min-width: 640px; }
.tahap.is-open .tahap-isi { opacity: 1; visibility: visible; }
.tahap-teks { display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; }
.tahap-teks h3 { font-family: var(--font-display); text-transform: uppercase; font-size: var(--step-sub); line-height: 1; }
.tahap-teks p { max-width: 36ch; }
.tahap-isi img { width: 100%; height: 100%; object-fit: cover; }
.tahap:not(.is-open):hover { filter: brightness(1.12); }

/* ---------- faq ---------- */
.faq { padding-block: var(--section); }
.faq h2 { font-family: var(--font-display); text-transform: uppercase; font-size: var(--step-head); line-height: 0.92; }
.faq-list { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: 5rem; }
.faq-list details { grid-column: 5 / -1; padding: 1.25rem 1rem; margin-inline: -1rem; transition: background-color 220ms ease; }
.faq-list details + details { margin-top: 0.75rem; }
.faq-list details[open] { background: var(--surface); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 2rem; font-size: var(--step-lead); line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; width: 0.6em; height: 0.6em; flex: none; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-25%) rotate(45deg); transition: transform 240ms var(--ease-out); }
.faq-list details[open] summary::after { transform: translateY(15%) rotate(225deg); }
.faq-list summary:hover { color: #fff; }
.faq-list details p { max-width: 48ch; margin-top: 1rem; }

/* ---------- kontak ---------- */
.kontak { background: var(--field-1); color: var(--field-1-ink); }
.kontak-inner { min-height: 78svh; display: grid; grid-template-rows: auto 1fr auto; padding-block: 2.5rem; }
.kontak-ajakan { font-family: var(--font-text); font-weight: 400; font-size: var(--step-lead); line-height: 1.35; max-width: 30ch; }
.kontak-email { align-self: end; margin-bottom: 12vh; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(3rem, 11.2vw, 13rem); line-height: 0.9; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; transition: color 220ms ease; }
.kontak-email:hover, .kontak-email:focus-visible { color: var(--accent); }
.kontak-bawah { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; }

/* ---------- footer ---------- */
.footer { background: var(--bg); padding-top: 3rem; padding-bottom: 2rem; }
.footer-nama { font-family: var(--font-display); font-size: clamp(5rem, 24.5vw, 30rem); line-height: 0.82; letter-spacing: -0.02em; white-space: nowrap; max-width: none; }
.footer-baris { margin-top: 4.5rem; row-gap: 3rem; }
.footer-tempat { grid-column: 1 / span 5; }
.footer-tempat a { font-size: var(--step-sub); line-height: 1.3; color: var(--accent); text-decoration: none; }
.footer-tempat a:hover { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.18em; }
.footer-links { grid-column: 7 / -1; display: grid; grid-template-columns: 1fr 1fr 2fr; gap: var(--gutter); font-size: var(--step-small); }
.footer-links li + li { margin-top: 0.4rem; }
.footer-kredit { font-size: var(--step-small); color: var(--muted); line-height: 1.5; }
.footer-akhir { display: flex; justify-content: space-between; margin-top: 6rem; font-size: var(--step-small); color: var(--muted); }

/* ---------- entrances ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .hero-text > *, .js .hero-bottom > * { animation: naik 900ms var(--ease-out) both; }
  .js .hero-text > :nth-child(2) { animation-delay: 90ms; }
  .js .hero-bottom > * { animation-delay: 180ms; }
  .js .hero-photo { animation: buka 1200ms var(--ease-in-out) both; }
}
@keyframes naik { from { opacity: 0; transform: translateY(20px); } }
@keyframes buka { from { clip-path: inset(50% 0 50% 0); } to { clip-path: inset(0); } }

/* ---------- tablet ---------- */
@media (max-width: 64em) {
  .layanan-col { grid-column: span 4 !important; }
  .layanan-col:nth-child(1) { grid-column: 1 / span 4 !important; }
  .layanan-col:nth-child(2) { grid-column: 5 / span 4 !important; }
  .layanan-col:nth-child(3) { grid-column: 9 / span 4 !important; }
  .layanan-desc { grid-column: 1 / -1; grid-row: auto; max-width: 48ch; min-height: 3em; }
  .harga-kiri { grid-column: 1 / span 7; }
  .nota-wrap { grid-column: 8 / -1; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-kredit { grid-column: 1 / -1; }
}

/* ---------- phone ---------- */
@media (max-width: 47.99em) {
  .hero { min-height: 100svh; grid-template-rows: auto auto 1fr auto; }
  .hero-stage { height: max(300px, 52vw + 120px); margin-top: 3svh; }
  .hero-line { font-size: 34vw; }
  .hero-photo { width: 46vw; }
  .hero-text { padding-top: 2.5rem; gap: 1rem; }
  .hero-bottom { flex-direction: column-reverse; align-items: stretch; text-align: center; padding-bottom: 1.25rem; gap: 1rem; }
  .hero-bottom .button { width: 100%; }

  .layanan-judul { margin-bottom: 3rem; }
  .layanan-cols { row-gap: 2.5rem; }
  .layanan-col, .layanan-col:nth-child(n) { grid-column: 1 / -1 !important; }
  .layanan-col li button { line-height: 1.4; pointer-events: none; }
  .layanan-col li + li { margin-top: 0.25rem; }
  .layanan-ringkas { display: block; }
  .layanan-desc { display: none; }

  .contoh-split { grid-template-columns: 1fr; min-height: 0; }
  .contoh-foto { padding: var(--margin) var(--margin) 0; }
  .contoh-teks { padding: 1.5rem var(--margin) 3rem; gap: 2rem; }
  .contoh-tabs { order: -1; gap: 0.5rem 1.25rem; }
  .contoh-isi h2 { margin-bottom: 1.5rem; }
  .contoh-aksi { grid-template-columns: 1fr; }
  .cell { min-height: 60px; }

  .harga-kiri, .nota-wrap { grid-column: 1 / -1; }
  .harga-kiri { padding-top: 5rem; }
  .nota-wrap { position: static; margin-top: 3rem; }
  .nota { width: 86%; margin-inline: auto; padding: 2.5rem 22px 3rem; }
  .opsi { grid-template-columns: 1.5rem 1fr; }
  .opsi-harga { grid-column: 2; margin-top: -0.75rem; }
  .harga-form .button { width: 100%; min-height: 52px; white-space: normal; text-align: center; }

  .proses-intro { row-gap: 1.5rem; margin-bottom: 2.5rem; }
  .proses-intro h2, .proses-intro p { grid-column: 1 / -1; }
  .akordeon { flex-direction: column; height: auto; }
  .tahap, .tahap.is-open { flex: none; }
  .tahap-tombol { position: static; min-height: 64px; align-items: center; padding: 0 1.25rem; width: 100%; }
  .tahap-tombol span { writing-mode: horizontal-tb; transform: none; }
  .tahap.is-open .tahap-tombol { display: none; }
  .tahap-isi { position: static; display: none; grid-template-columns: 1fr; min-width: 0; opacity: 1; visibility: visible; }
  .tahap.is-open .tahap-isi { display: grid; }
  .tahap-teks { padding: 1.5rem 1.25rem; gap: 1rem; }
  .tahap-isi img { aspect-ratio: 4 / 3; height: auto; }

  .faq-list { margin-top: 3rem; }
  .faq-list details { grid-column: 1 / -1; margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); }
  .faq-list details + details { margin-top: 0.25rem; }

  .kontak-inner { min-height: 0; padding-block: 3rem 2.5rem; row-gap: 4rem; }
  .kontak-email { white-space: normal; font-size: 19vw; margin-bottom: 8vh; }
  .kontak-bawah { flex-direction: column; align-items: start; gap: 0.75rem; }

  .footer-nama { font-size: 24vw; }
  .footer-baris { margin-top: 3rem; }
  .footer-tempat, .footer-links { grid-column: 1 / -1; }
  .footer-akhir { margin-top: 4rem; }
}
