/* ==========================================================================
   ERI ROSSATRIA LAW FIRM - Website Company Profile
   Stylesheet tunggal (tanpa dependensi/CDN, aman dibuka via file://).
   Palet & tipografi diturunkan dari Company Profile PDF asli:
   maroon #8B241B, maroon gelap #500D00, teks #626262, Tahoma + Times New Roman.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --brand: #8b241b;
  --brand-dark: #6e1c15;
  --brand-deep: #500d00;
  --brand-soft: #f7edeb;
  --brand-line: #e6d2ce;
  --ink: #1c1a19;
  --muted: #626262;
  --muted-soft: #8b8785;
  --line: #e4e0de;
  --surface: #ffffff;
  --surface-alt: #f7f6f5;
  --whatsapp: #128c7e;

  --font-sans: Tahoma, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Times New Roman", "Liberation Serif", Georgia, serif;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(28, 26, 25, .06), 0 2px 8px rgba(28, 26, 25, .05);
  --shadow: 0 8px 24px rgba(28, 26, 25, .09);
  --shadow-lg: 0 20px 48px rgba(28, 26, 25, .14);

  --container: 1160px;
  --gutter: 20px;
  --section-y: clamp(48px, 7vw, 84px);

  --header-h: 74px;
  --transition: 220ms ease;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.22;
  margin: 0 0 .5em;
  color: var(--ink);
  letter-spacing: .01em;
}

h1 { font-size: clamp(1.85rem, 4.4vw, 3.05rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.35rem); }
h4 { font-size: 1.03rem; }

p { margin: 0 0 1rem; }

a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-deep); }

ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: .4rem; }

strong { font-weight: 700; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

::selection { background: var(--brand-soft); color: var(--brand-deep); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 800px; }

.section { padding: var(--section-y) 0; }
.section--alt { background: var(--surface-alt); }
.section--brand { background: var(--brand-deep); color: #fff; }
.section--brand h2,
.section--brand h3 { color: #fff; }
.section--brand a { color: #f2c9c2; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--split {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 40px;
}

.stack > * + * { margin-top: 16px; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- 4. Section heading ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand);
  display: inline-block;
}
/* Pada latar maroon (hero, header halaman dalam, section gelap), label kecil
   di atas judul harus berwarna terang agar terbaca. */
.section--brand .eyebrow,
.hero .eyebrow,
.page-head .eyebrow { color: #fff; }
.section--brand .eyebrow::before,
.hero .eyebrow::before,
.page-head .eyebrow::before {
  background: #fff;
  opacity: .85;
}

.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.section--brand .section-head p { color: #e7cdc9; }

.lead { font-size: 1.06rem; color: var(--muted); }

/* ---------- 5. Buttons & badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }

.btn--outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--outline:hover { background: var(--brand); color: #fff; }

.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--brand-soft); color: var(--brand-deep); }

.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--brand-deep); }

.btn--wa { background: var(--whatsapp); color: #fff; }
.btn--wa:hover { background: #0e7267; color: #fff; }

.btn--block { width: 100%; }
.btn--sm { padding: 9px 15px; font-size: .84rem; }

.badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge--outline { background: transparent; border: 1px solid var(--brand-line); color: var(--brand); }
.badge--light { background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- 6. Header & navigasi ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); background: #fff; }

/* garis aksen maroon di paling atas, mengikuti gaya kop surat pada PDF */
.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand) 45%, #b8564a);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 46px; height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--brand-line);
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; line-height: 1.14; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.04rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.brand__tag {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  padding: 10px 11px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
  border-radius: var(--radius-sm);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px; bottom: 4px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav__link:hover { color: var(--brand); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--brand); }

.header__cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  transition: transform var(--transition), background var(--transition);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(80, 13, 0, .96) 0%, rgba(139, 36, 27, .93) 55%, rgba(60, 10, 0, .9) 100%),
    url("../assets/img/cover-company-profile.jpg") center/cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand-soft));
}
/* Hero memakai padding horizontal dari .container. Sebelumnya shorthand padding
   menimpa padding-inline sehingga isi hero menempel ke tepi layar, paling terasa
   pada layar kecil. */
.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(56px, 9vw, 108px) clamp(52px, 8vw, 96px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 44px;
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero p { color: #f0dcd9; font-size: 1.06rem; max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__facts {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: .87rem;
  color: #f2cfca;
}
.hero__facts li { margin: 0; display: flex; align-items: center; gap: 8px; }
.hero__facts li::before {
  content: "";
  width: 7px; height: 7px;
  background: #fff;
  border-radius: 50%;
  flex: 0 0 7px;
}

.hero__card {
  background: rgba(255, 255, 255, .97);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-lg);
}
.hero__card h3 { margin-bottom: .35em; font-size: 1.2rem; }
.hero__card p { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.hero__card dl { margin: 0; display: grid; gap: 12px; }
.hero__card dt {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 2px;
}
.hero__card dd { margin: 0 0 2px; font-size: .88rem; word-break: break-word; }
.hero__card .btn { margin-top: 18px; }
.hero__card-split { display: grid; gap: 14px; }

/* ---------- 8. Page header halaman dalam ---------- */
.page-head {
  background:
    linear-gradient(120deg, rgba(80, 13, 0, .95), rgba(139, 36, 27, .9)),
    url("../assets/img/cover-company-profile.jpg") center 30%/cover no-repeat;
  color: #fff;
  padding: clamp(38px, 6vw, 66px) 0;
}
.page-head h1 { color: #fff; margin-bottom: .3em; max-width: 22ch; }
.page-head p { color: #eed4d0; max-width: 65ch; margin-bottom: 0; }

.breadcrumb {
  font-size: .8rem;
  color: #e6c4bf;
  margin-bottom: 14px;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: rgba(255, 255, 255, .5); }
.breadcrumb a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: #fff; opacity: .85; }

/* ---------- 9. Kartu umum ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  height: 100%;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.card--hover:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--brand-line);
}
.card--accent { border-top: 3px solid var(--brand); }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
}
.card__meta {
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 10px;
}
.card__list { padding-left: 1.1rem; margin-bottom: 0; }
.card__list li::marker { color: var(--brand); }

/* ---------- 10. Statistik ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.stat {
  border-left: 2px solid var(--brand-line);
  padding: 4px 0 4px 18px;
}
.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--brand);
  line-height: 1.1;
  display: block;
}
.stat__label {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--brand .stat { border-left-color: rgba(255, 255, 255, .3); }
.section--brand .stat__num { color: #fff; }
.section--brand .stat__label { color: #e2c8c4; }

/* ---------- 11. Timeline pengalaman ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  align-items: center;
}
.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip__count { font-weight: 400; opacity: .75; }

.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--brand-line);
}
.timeline__item {
  position: relative;
  margin: 0 0 22px;
  padding: 0 0 0 4px;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: -25px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
}
.timeline__year {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 4px;
}
.timeline__text { margin: 0; font-size: .96rem; color: var(--muted); }
.timeline__text strong { color: var(--ink); }
.is-hidden { display: none !important; }

.timeline__more { margin-top: 6px; }

/* ---------- 12. Kartu tim ---------- */
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team-card__photo {
  aspect-ratio: 4 / 5;
  background: var(--surface-alt);
  overflow: hidden;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.team-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.team-card__name { margin: 0; font-size: 1.06rem; }
.team-card__role {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}
.team-card__bio { font-size: .89rem; color: var(--muted); margin: 0; }
.team-card--lead .team-card__photo { aspect-ratio: 5 / 6; }

.profile-split {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 40px;
  align-items: start;
}
.profile-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  box-shadow: var(--shadow-sm);
}
.profile-figure img { width: 100%; }
.profile-figure figcaption {
  padding: 12px 16px;
  font-size: .8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.fact-list { list-style: none; padding: 0; margin: 0; }
.fact-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .92rem;
}
.fact-list li:last-child { border-bottom: 0; }
.fact-list dt,
.fact-list span:first-child {
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-soft);
  padding-top: 3px;
}
.fact-list strong { color: var(--ink); }

/* ---------- 13. Kartu artikel ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  height: 100%;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--brand-line); }
.post-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.post-card__date { font-size: .78rem; color: var(--muted-soft); }
.post-card h3 { margin: 0; font-size: 1.16rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--brand); }
.post-card__excerpt { font-size: .92rem; color: var(--muted); margin: 0; }
.post-card__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .82rem;
}
.post-card__more { font-weight: 700; }
.post-card__more::after { content: " →"; }

.search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 22px;
}
.search-bar input[type="search"],
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .94rem;
  color: var(--ink);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-bar input[type="search"]:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(139, 36, 27, .12);
  outline: none;
}
.empty-state {
  border: 1px dashed var(--brand-line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  color: var(--muted);
  background: var(--brand-soft);
}

/* ---------- 14. Accordion & tabs ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
}
.accordion__btn:hover { color: var(--brand); }
.accordion__sign {
  position: relative;
  flex: 0 0 20px;
  width: 20px; height: 20px;
}
.accordion__sign::before,
.accordion__sign::after {
  content: "";
  position: absolute;
  background: var(--brand);
  transition: transform var(--transition), opacity var(--transition);
}
.accordion__sign::before { left: 0; top: 9px; width: 20px; height: 2px; }
.accordion__sign::after { left: 9px; top: 0; width: 2px; height: 20px; }
.accordion__btn[aria-expanded="true"] .accordion__sign::after { transform: rotate(90deg); opacity: 0; }
.accordion__panel { padding: 0 4px 22px; }
.accordion__panel[hidden] { display: none; }
.accordion__panel p:last-child,
.accordion__panel ul:last-child { margin-bottom: 0; }

.tabs { margin-top: 26px; }
.tablist {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 28px;
}
.tab {
  border: 0;
  background: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.tab:hover { color: var(--brand); }
.tab[aria-selected="true"] { background: var(--brand); color: #fff; }
.tabpanel[hidden] { display: none; }

/* ---------- 15. Marquee klien ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .84rem;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__item::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 16. Kontak ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ico {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .95rem;
  font-weight: 700;
}
.contact-list h3 { font-size: 1rem; margin-bottom: .2em; font-family: var(--font-sans); font-weight: 700; }
.contact-list p { margin: 0; font-size: .93rem; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field__hint { font-size: .78rem; color: var(--muted-soft); margin: 6px 0 0; }
.form-note {
  font-size: .82rem;
  color: var(--muted);
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
  min-height: 320px;
}
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- 17. Langkah / proses ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  margin: 0;
}
.steps__num {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.1rem;
}
.steps h3 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 700; margin-bottom: .25em; }
.steps p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- 18. Body artikel (prose) ---------- */
.prose { font-size: 1.02rem; }
.prose h2 { margin-top: 2.1rem; font-size: clamp(1.35rem, 2.2vw, 1.65rem); }
.prose h3 { margin-top: 1.6rem; font-family: var(--font-sans); font-weight: 700; font-size: 1.06rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li::marker { color: var(--brand); }
.prose blockquote {
  margin: 1.6rem 0;
  padding: 16px 22px;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--brand-deep);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .93rem;
}
.prose th, .prose td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.prose th { background: var(--surface-alt); font-weight: 700; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: .84rem;
  color: var(--muted);
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.aside-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: var(--surface);
}
.aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card + .aside-card { margin-top: 20px; }
.aside-card h3 { font-size: 1.02rem; font-family: var(--font-sans); font-weight: 700; }
.aside-list { list-style: none; padding: 0; margin: 0; }
.aside-list li { margin: 0 0 12px; font-size: .92rem; }
.aside-list li:last-child { margin-bottom: 0; }
.aside-list a { color: var(--ink); font-weight: 700; }
.aside-list a:hover { color: var(--brand); }
.aside-list span { display: block; font-size: .76rem; color: var(--muted-soft); font-weight: 400; }

/* ---------- 19. CTA band ---------- */
.cta-band {
  background: var(--brand-deep);
  color: #fff;
  padding: clamp(38px, 5vw, 60px) 0;
}
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: #e7cdc9; margin-bottom: 0; }
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 20. Footer ---------- */
.site-footer {
  background: #1c1a19;
  color: #cfcac8;
  padding: 54px 0 0;
  font-size: .92rem;
}
.site-footer h3 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer a { color: #dcd6d4; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: #a9a3a1; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  padding-bottom: 40px;
}
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__brand img { width: 44px; height: 44px; border-radius: 50%; }
.footer__brand strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  letter-spacing: .05em;
  color: #fff;
  text-transform: uppercase;
}
.footer__brand span { font-size: .66rem; letter-spacing: .18em; color: #9a9391; text-transform: uppercase; }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: 10px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: #8f8987;
}

/* ---------- 21. Back to top & WA mengapung ---------- */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 84px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 80;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-dark); }

.float-wa {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: background var(--transition), transform var(--transition);
}
.float-wa:hover { background: #0e7267; color: #fff; transform: translateY(-2px); }
.float-wa svg { width: 20px; height: 20px; flex: 0 0 20px; }

/* ---------- 22. Animasi reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 23. Responsif ---------- */
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px 20px 18px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 300ms ease, visibility 300ms ease, padding 300ms ease;
  }
  .nav.is-open { max-height: 420px; visibility: visible; }
  .nav__link {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
  }
  .nav__link::after { display: none; }
  .nav__link:last-child { border-bottom: 0; }
  .site-header { position: sticky; }
  .header__inner { position: relative; }
  .header__cta .btn--outline { display: none; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .aside-sticky { position: static; }
}

@media (max-width: 900px) {
  .grid--split { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  :root { --gutter: 18px; --header-h: 66px; }
  body { font-size: 15.5px; }
  .brand__mark { width: 40px; height: 40px; flex-basis: 40px; }
  .brand__name { font-size: .92rem; }
  .brand__tag { font-size: .55rem; letter-spacing: .16em; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .fact-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .search-bar { grid-template-columns: minmax(0, 1fr); }
  .page-head h1 { max-width: none; }
  .hero__actions .btn { width: 100%; }
  .to-top { bottom: 78px; right: 14px; }
  .float-wa { right: 14px; bottom: 20px; padding: 11px 14px; }
  .float-wa__label { display: none; }
  .map-frame iframe { height: 300px; }
  .prose table { font-size: .86rem; }
  .prose th, .prose td { padding: 8px 9px; }
}

@media (max-width: 420px) {
  .tablist { display: flex; width: 100%; }
  .tab { flex: 1 1 auto; padding: 10px 12px; font-size: .82rem; }
  .timeline { padding-left: 22px; }
  .timeline__item::before { left: -21px; }
}

/* hormati preferensi pengguna yang mengurangi animasi */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 25. Pelengkap halaman artikel ---------- */
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 2rem 0 1.4rem; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.table-wrap table { margin: 0; min-width: 520px; }
.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.aside-text { font-size: .9rem; color: var(--muted); }
.aside-card .btn { margin-top: 6px; }
.form-note--top { margin: 18px 0 0; }
.btn-row { margin-top: 26px; }

/* ---------- 24. Cetak ---------- */
@media print {
  .site-header, .site-footer, .to-top, .float-wa, .cta-band, .marquee { display: none; }
  body { font-size: 12pt; color: #000; }
  .hero, .page-head { background: #fff; color: #000; }
  .hero h1, .page-head h1 { color: #000; }
  a { color: #000; }
  .card, .team-card, .post-card { break-inside: avoid; }
}







