/* ARSH & Partners Law Office — mengikuti identitas visual kantor (emas, hitam, putih; Caslon + DM Sans) */
:root {
  --black: #0B0B0B;
  --ink: #161616;
  --text: #2A2A2A;
  --gray: #6B6B6B;
  --rule: #E4E2DE;
  --paper: #FAF9F7;
  --white: #FFFFFF;
  --gold: #B77F3C;
  --gold-text: #8C5E26;
  --gold-soft: #D9B98F;
  --serif: "Libre Caslon Display", "Big Caslon", Georgia, serif;
  --serif-text: "Libre Caslon Text", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 3.5vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.65 var(--sans); }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--black); color: var(--white); padding: 8px 12px; z-index: 99; }

h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 400; }
h1 { font-family: var(--serif); font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.1; letter-spacing: -0.005em; }
h2 { font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.375rem); line-height: 1.2; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; line-height: 1.35; }
p { margin: 0 0 1em; }
.gold-rule { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 0 0 28px; }

/* Top bar */
.topbar { background: var(--black); color: #A9A9A9; font-size: 0.85rem; }
.topbar .wrap { display: flex; gap: 24px; align-items: center; min-height: 38px; }
.topbar a { color: #E6E6E6; text-decoration: none; }
.topbar a:hover { color: var(--gold-soft); }
.topbar .addr { margin-right: auto; }
.topbar .lang .on { color: var(--gold-soft); font-weight: 600; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--white); position: sticky; top: 0; z-index: 40; }
.site-header .wrap { display: flex; align-items: center; gap: 40px; min-height: 80px; position: relative; }
.logo { display: block; flex: none; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 30px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: 0.975rem; color: var(--text); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--ink); border-color: var(--gold-soft); }
.nav a[aria-current="page"] { color: var(--ink); border-color: var(--gold); }
.nav .nav-lang { display: none; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 500 0.975rem/1 var(--sans); letter-spacing: 0.01em; padding: 15px 24px; min-height: 48px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: #C99252; }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #2A2A2A; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-line-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-line-light:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn-small { padding: 11px 18px; min-height: 42px; font-size: 0.925rem; }
.link-arrow { font-weight: 500; color: var(--gold-text); text-decoration: none; border-bottom: 1px solid var(--gold-soft); }
.link-arrow:hover { color: var(--ink); border-color: var(--ink); }

/* Hero (beranda) */
.hero { background: var(--black); color: #D8D8D8; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url(pattern-a.png) repeat; opacity: .5; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; min-height: min(640px, 82vh); }
.hero .copy { padding: clamp(56px, 9vw, 120px) 0; }
.hero h1 { color: var(--white); }
.hero .intro { font-size: 1.15rem; max-width: 33em; margin-top: 24px; color: #CFCFCF; }
.hero .buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .statue { align-self: end; justify-self: end; width: min(100%, 460px); margin-bottom: -2px; }

.facts { background: var(--paper); }
.facts .wrap { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.facts div { padding: 26px 24px 26px 0; font-size: 0.95rem; }
.facts div + div { padding-left: 24px; }
.facts dt { color: var(--gray); font-size: 0.85rem; margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--ink); }
.facts a { text-decoration: none; }
.facts a:hover { color: var(--gold-text); }

/* Halaman dalam */
.page-hero { background: var(--black); color: #CFCFCF; position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0; }
.page-hero::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 380px; height: 280px; background: url(mark-gold.png) no-repeat right bottom / contain; opacity: .12; pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero .crumbs { font-size: 0.875rem; color: #9A9A9A; margin-bottom: 18px; }
.page-hero .crumbs a { color: #BDBDBD; text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--gold-soft); }
.page-hero h1 { color: var(--white); }
.page-hero .intro { font-size: 1.15rem; max-width: 40em; margin-top: 20px; }

/* Sections */
.block { padding: clamp(56px, 8vw, 96px) 0; }
.block-paper + .block-paper { padding-top: 0; }
.block-paper { background: var(--paper); }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 72px); }
.split > header p { color: var(--gray); margin-top: 14px; }

/* Judul bagian, meniru garis pada logo */
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head .line { display: block; width: 120px; height: 1px; margin: 18px auto 0; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); }
.section-head p { color: var(--gray); margin: 20px 0 0; }

/* Bidang praktik */
.practice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.practice-item { background: var(--white); padding: 32px 28px 28px; text-decoration: none; color: inherit; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.04); transition: box-shadow .2s, transform .2s; }
.practice-item:hover { box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 16px 36px rgba(0,0,0,.08); transform: translateY(-2px); }
.practice-item h3 { font-family: var(--serif-text); font-weight: 400; font-size: 1.2rem; line-height: 1.3; color: var(--ink); }
.practice-item p { color: var(--gray); font-size: 0.95rem; margin: 14px 0 22px; }
.practice-item .more { margin-top: auto; color: var(--gold-text); font-weight: 500; font-size: 0.925rem; }
.practice-item .more::after { content: " \2192"; }
.practice-ask { background: var(--black) url(pattern-a.png) repeat; }
.practice-ask h3 { color: var(--white); }
.practice-ask p { color: #BDBDBD; }
.practice-ask .more { color: var(--gold-soft); }

/* Cuplikan tulisan */
.teasers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 960px; margin: 0 auto; }
.teaser { background: var(--white); padding: 36px 32px; text-decoration: none; color: inherit; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.04); }
.teaser .kicker { color: var(--gold-text); font-size: 0.875rem; margin-bottom: 10px; }
.teaser h3 { font-family: var(--serif-text); font-weight: 400; font-size: 1.4rem; }
.teaser p { color: var(--gray); margin: 12px 0 20px; }
.teaser .more { margin-top: auto; color: var(--ink); font-weight: 500; font-size: 0.925rem; }
.teaser .more::after { content: " \2192"; color: var(--gold); }
.teaser:hover h3 { color: var(--gold-text); }

/* Kutipan */
.quote-band { background: var(--black); position: relative; overflow: hidden; padding: clamp(64px, 9vw, 112px) 0; }
.quote-band::before { content: ""; position: absolute; inset: 0; background: url(pattern-a.png) repeat; opacity: .6; }
.quote-band .wrap { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 32px; align-items: start; }
.quote-band img { width: 120px; opacity: .9; }
.quote { font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.3; color: var(--white); max-width: 24em; margin: 0; }
.quote-by { margin-top: 22px; color: #9A9A9A; font-size: 0.95rem; }
.quote-by a { color: var(--gold-soft); }

/* Tim */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 1080px; margin: 0 auto; }
.member .photo { aspect-ratio: 3 / 4; background: #1A1A1A url(mark-gold.png) no-repeat center 42% / 40%; display: flex; align-items: flex-end; padding: 12px; font-size: 0.8rem; color: #8A8A8A; margin-bottom: 22px; overflow: hidden; }
.member .photo.has-img { padding: 0; background: #1A1A1A; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15) contrast(1.03); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.member:hover .photo img { transform: scale(1.03); }
.member h3 { font-family: var(--serif-text); font-weight: 400; font-size: 1.3rem; line-height: 1.3; }
.member .role { color: var(--gold-text); margin: 6px 0 14px; font-size: 0.92rem; letter-spacing: 0.02em; }
.member p:last-child { font-size: 0.97rem; }
.team .member:nth-child(2) { transition-delay: .12s; }
.team .member:nth-child(3) { transition-delay: .24s; }

/* Daftar tulisan */
.posts { list-style: none; margin: 0; padding: 0; }
.posts li { padding: 0 0 36px; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; scroll-margin-top: 100px; }
.posts .meta { color: var(--gray); font-size: 0.9rem; }
.posts h3 a { text-decoration: none; }
.posts h3 a:hover { color: var(--gold-text); }
.posts p { margin: 6px 0 0; color: var(--gray); }

.detail { scroll-margin-top: 100px; }
.detail h2::before { content: ""; display: block; width: 40px; height: 2px; background: var(--gold); margin-bottom: 18px; }
.detail + .detail { margin-top: 72px; }
.detail ul { margin: 12px 0 20px; padding-left: 1.15em; }
.detail li { margin-bottom: 6px; }
.detail li::marker { color: var(--gold); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.tags a { display: block; padding: 7px 14px; font-size: 0.9rem; text-decoration: none; background: var(--paper); }
.tags a:hover { background: #F1ECE4; color: var(--gold-text); }

.todo { background: #FFF4D6; border-bottom: 1px dashed #C9A13B; color: #5E4708; padding: 0 3px; }

/* Kontak */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); }
.contact dl { margin: 0; }
.contact dt { color: var(--gray); font-size: 0.9rem; margin-top: 22px; }
.contact dt:first-child { margin-top: 0; }
.contact dd { margin: 4px 0 0; font-size: 1.1rem; color: var(--ink); }
.map { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.6); }

.closing { background: var(--white); padding: clamp(44px, 6vw, 72px) 0; }
.closing .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.closing p { margin: 8px 0 0; color: var(--gray); }

/* Footer */
.site-footer { background: var(--black); color: #A3A3A3; padding: 64px 0 32px; font-size: 0.95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr; gap: 40px; }
.site-footer .brand img { width: 170px; margin-bottom: 20px; }
.site-footer h2 { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; color: var(--gold-soft); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: #E2E2E2; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .legal { margin-top: 48px; padding-top: 22px; font-size: 0.825rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #7D7D7D; }

.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: var(--white); display: none; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.wa-float svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .topbar .email, .topbar .lang { display: none; }
  .logo img { height: 38px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav a[aria-current="page"] { color: var(--gold-text); border-color: var(--rule); }
  .nav .nav-lang { display: block; }
  .header-cta { display: none; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; }
  .hero .copy { padding-bottom: 8px; }
  .hero .statue { width: 72%; max-width: 340px; justify-self: center; }
  .facts .wrap { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .facts div, .facts div + div { padding: 18px 12px 18px 0; border-left: 0; }
  .facts div:nth-child(2n) { padding-left: 16px; }
  .split, .contact { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: minmax(0, 1fr); gap: 48px; max-width: 420px; }
  .practice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .teasers { grid-template-columns: minmax(0, 1fr); }
  .quote-band .wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .quote-band img { width: 72px; }
  .posts li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .cols > :first-child { grid-column: 1 / -1; }
  .page-hero::after { width: 220px; height: 160px; }
  .wa-float { display: flex; }
}
@media (max-width: 520px) {
  .topbar .addr { display: none; }
  .topbar .wrap { justify-content: center; }
  .hero .buttons .btn { width: 100%; }
  .facts .wrap { grid-template-columns: 1fr; }
  .facts div:nth-child(2n) { padding-left: 0; }
  .facts div, .facts div + div { padding: 10px 0; }
  .facts .wrap { padding-top: 14px; padding-bottom: 14px; }
  .practice-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Penekanan miring emas pada judul, seperti tagline kantor */
h1 em, h2 em { font-style: italic; color: var(--gold-soft); font-family: var(--serif-text); }
.page-hero h1 em, .hero h1 em { color: var(--gold-soft); }

/* ---------- Aksen marun (corak, bukan warna utama) ---------- */
:root { --maroon: #9B1B30; --maroon-soft: #B5303F; }
::selection { background: var(--maroon); color: var(--white); }
.nav a:hover { border-color: var(--maroon); }
.btn-dark:hover { background: var(--maroon); }
.link-arrow:hover { color: var(--maroon); border-color: var(--maroon); }
.teaser .kicker { color: var(--maroon); }
.member .role { color: var(--maroon); }
.detail h2::before { background: linear-gradient(90deg, var(--maroon) 0 50%, var(--gold) 50% 100%); }

/* ---------- Animasi pembuka ---------- */
.hero-title .ln { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .ln > * { display: inline-block; }
.hero-title em { position: relative; }
.hero-title em::after { content: ""; position: absolute; left: 0; right: 0.15em; bottom: 0.02em; height: 2px; background: var(--maroon-soft); transform: scaleX(0); transform-origin: left; }
.js .hero-title .ln > * { transform: translateY(105%); animation: rise .9s cubic-bezier(.2,.7,.1,1) forwards; }
.js .hero-title .ln:nth-child(2) > * { animation-delay: .25s; }
.js .hero-title em::after { animation: sweep .8s ease-out 1.1s forwards; }
.js .hero .gold-rule { transform: scaleX(0); transform-origin: left; animation: sweep .7s ease-out .1s forwards; }
.js .hero .fade-in { opacity: 0; animation: fade .8s ease-out .7s forwards; }
.js .hero .buttons.fade-in { animation-delay: .9s; }
.js .hero .statue { opacity: 0; transform: translateY(24px); animation: fadeUp 1.2s ease-out .3s forwards; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes sweep { to { transform: scaleX(1); } }
@keyframes fade { to { opacity: 1; } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ---------- Tagline berjalan (seperti Wordstone) ---------- */
.marquee { background: var(--white); overflow: hidden; padding: clamp(28px, 4vw, 44px) 0; }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--serif-text); font-style: italic; font-size: clamp(1.75rem, 4vw, 3rem); color: var(--ink); white-space: nowrap; padding: 0 0.6em; }
.marquee span:nth-of-type(2n) { color: var(--maroon); }
.marquee i { width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bidang praktik sebagai hasil (seperti Schillings) ---------- */
.outcomes { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 64px); max-width: 1040px; margin: 0 auto; }
.outcome { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(20px, 4vw, 56px); align-items: end; text-decoration: none; color: inherit; }
.outcome:nth-child(2n) { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.outcome:nth-child(2n) .outcome-head { order: 2; text-align: right; }
.outcome:nth-child(2n) .outcome-body { order: 1; text-align: left; }
.outcome h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3.1vw, 2.5rem); line-height: 1.12; color: var(--ink); transition: color .2s; }
.outcome-tag { font-family: var(--serif-text); font-style: italic; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.35; color: var(--maroon); margin: 10px 0 0; transition: color .2s; }
.section-head-lg h2 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); line-height: 1.05; }
.outcome-body p { margin: 0; color: var(--gray); font-size: 0.975rem; }
.outcome-body::after { content: "\2192"; display: inline-block; margin-top: 10px; color: var(--gold); transition: transform .2s; }
.outcome:hover .outcome-tag { color: var(--gold-text); }
.outcome:hover .outcome-body::after { transform: translateX(6px); }
.outcomes-ask { text-align: center; margin: clamp(48px, 6vw, 72px) 0 0; color: var(--gray); }

/* ---------- Muncul saat digulir ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.1,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .outcome, .outcome:nth-child(2n) { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .outcome:nth-child(2n) .outcome-head { order: 0; text-align: left; }
  .outcome:nth-child(2n) .outcome-body { order: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-title .ln > *, .js .hero .gold-rule, .js .hero-title em::after, .js .hero .fade-in, .js .hero .statue { animation: none; opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
.hero-title { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.hero-title em { white-space: nowrap; }
@media (max-width: 520px) {
  .hero-title { font-size: clamp(1.9rem, 8.6vw, 2.4rem); }
}
@media (max-width: 370px) {
  .hero-title em { white-space: normal; }
  .hero-title em::after { display: none; }
}
