/* Cendekia theme. Tokens follow DESIGN.md; ported from the approved prototype. */

:root {
  --biru: #1A5AA8;
  --langit: #A4CCF1;
  --malam: #0C1A2E;
  --malam-2: #13243D;
  --kertas: #F5F3EE;
  --putih: #FFFFFF;
  --emas: #F9D472;
  --emas-tua: #8A6414;

  --bg: var(--kertas);
  --surface: var(--putih);
  --text: var(--malam);
  --muted: #4A5568;
  --line: #DCD8CE;
  --link: var(--biru);
  --btn-bg: var(--biru);
  --btn-text: #FFFFFF;
  --focus: var(--biru);
  --band: var(--malam);
  --accent: var(--emas-tua);

  --f-head: "Playfair Display", Georgia, serif;
  --f-display: "Inter", system-ui, sans-serif;
  --f-read: "Inter", system-ui, sans-serif;
  --f-arab: "Amiri", "Noto Naskh Arabic", serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 28px;
  --header-h: 72px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--malam);
    --surface: var(--malam-2);
    --text: #E8EEF6;
    --muted: #A9BCD3;
    --line: #22385A;
    --link: var(--langit);
    --btn-bg: var(--langit);
    --btn-text: var(--malam);
    --focus: var(--langit);
    --band: #060E1A;
    --accent: var(--emas);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: var(--malam);
  --surface: var(--malam-2);
  --text: #E8EEF6;
  --muted: #A9BCD3;
  --line: #22385A;
  --link: var(--langit);
  --btn-bg: var(--langit);
  --btn-text: var(--malam);
  --focus: var(--langit);
  --band: #060E1A;
  --accent: var(--emas);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-display);
  font-size: clamp(15px, 0.3vw + 14px, 17px);
  letter-spacing: -0.011em;
  line-height: 1.55;
  font-optical-sizing: auto;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .on-dark :focus-visible { outline-color: var(--langit); }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--btn-bg); color: var(--btn-text); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

/* Headline voice from the Instagram posts: italic serif, key words in extra-bold serif */
.voice { font-family: var(--f-head); font-style: italic; font-weight: 400; line-height: 1.05; margin: 0; }
.voice b { font-style: normal; font-weight: 800; }
.h2 { font-size: clamp(32px, 3.4vw + 16px, 56px); }
.lead { color: var(--muted); max-width: 52ch; margin: 16px 0 0; font-size: 1.06em; }

/* Identity motif: the 8-point star from the logo */
.star { display: inline-block; width: 1em; height: 1em; flex: none; background: currentColor;
  clip-path: polygon(50% 0, 61.5% 22.3%, 85.4% 14.6%, 77.7% 38.5%, 100% 50%, 77.7% 61.5%, 85.4% 85.4%, 61.5% 77.7%, 50% 100%, 38.5% 77.7%, 14.6% 85.4%, 22.3% 61.5%, 0 50%, 22.3% 38.5%, 14.6% 14.6%, 38.5% 22.3%); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 0; background: var(--btn-bg); color: var(--btn-text); font-family: var(--f-display); font-size: 16px; line-height: 1.2; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, filter .15s ease; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.on-dark .btn { background: var(--langit); color: var(--malam); }
.on-dark .btn-ghost { background: transparent; color: #E8EEF6; box-shadow: inset 0 0 0 1.5px #3A5478; }
.link-strong { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.link-strong:hover { text-decoration: underline; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.icon-brand { fill: currentColor; stroke: none; }
.ext { width: 14px; height: 14px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .25s ease, box-shadow .25s ease; }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; min-height: 44px; margin-right: auto; }
.brand img { height: 40px; width: auto; }
.brand .logo-light { display: none; }
.site-header.over-dark .logo-light, :root[data-theme="dark"] .brand .logo-light { display: block; }
.site-header.over-dark .logo-dark, :root[data-theme="dark"] .brand .logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .logo-light { display: block; }
  :root:not([data-theme="light"]) .brand .logo-dark { display: none; }
}
.site-header.over-dark { color: #E8EEF6; }
.site-header.solid { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--text); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav button.nav-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--r-sm);
  color: inherit; text-decoration: none; background: none; border: 0; cursor: pointer; font-weight: 500; }
.nav a:hover, .nav button.nav-btn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.nav a[aria-current="page"] { font-weight: 700; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 0; background: none; color: inherit; cursor: pointer; }
.icon-btn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.header-cta { min-height: 44px; padding: 0 18px; }
.site-header.over-dark .header-cta { background: var(--langit); color: var(--malam); }
.menu-toggle { display: none; }

/* Rubrik panel (desktop dropdown + mobile sheet share markup) */
.rubrik-panel { position: absolute; top: calc(var(--header-h) - 6px); left: 50%; transform: translateX(-50%); width: min(760px, calc(100vw - 32px));
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; box-shadow: 0 18px 40px rgba(12, 26, 46, .18); }
.rubrik-panel[hidden] { display: none; }
.rubrik-panel a { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: var(--r-sm); text-decoration: none; color: inherit; min-height: 44px; }
.rubrik-panel a:hover, .rubrik-panel a:focus-visible { background: color-mix(in srgb, var(--biru) 10%, transparent); }
.rubrik-panel strong { display: block; font-weight: 600; }
.rubrik-panel small { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.r-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--link); background: color-mix(in srgb, var(--biru) 10%, transparent); }
.rubrik-panel a:hover .r-ico, .rubrik-panel a:focus-visible .r-ico { background: var(--biru); color: #fff; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--bg); color: var(--text); padding: 16px var(--gutter) 32px; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu .top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.mobile-menu h2 { font-size: 14px; font-weight: 600; color: var(--muted); margin: 24px 0 8px; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: flex; gap: 14px; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; font-size: 20px; font-weight: 500; }
.mobile-menu .btn { width: 100%; margin-top: 24px; }
.mobile-menu .r-ico { width: 36px; height: 36px; border-radius: 10px; }

/* Hero */
.hero { position: relative; isolation: isolate; color: #FFFFFF; background: var(--malam); padding: calc(var(--header-h) + clamp(48px, 9vw, 120px)) 0 clamp(150px, 16vw, 190px); text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-img) center 30% / cover no-repeat; filter: saturate(.55); }
/* Scrim: keeps white text above 4.5:1 even over the moon (brightest area). */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,26,46,.66) 0%, rgba(12,26,46,.72) 55%, rgba(12,26,46,.96) 100%); }
.hero h1 { font-size: clamp(44px, 6.4vw + 12px, 92px); }
.hero h1 b { color: var(--emas); }
.hero p.lead { color: #D5E1EF; margin: 22px auto 0; max-width: 46ch; }

/* Search panel overlapping hero edge: the one elevated surface on the page */
.finder { position: relative; z-index: 2; margin-top: clamp(-130px, -11vw, -96px); }
.finder form { background: var(--surface); color: var(--text); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: 0 24px 60px rgba(12, 26, 46, .22); border: 1px solid var(--line); }
.finder h2 { font-size: clamp(22px, 1.4vw + 16px, 28px); margin: 0 0 18px; }
.finder .fields { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 14px; align-items: end; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select { width: 100%; min-height: 52px; padding: 0 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--bg); }
.field select { appearance: none; cursor: pointer; padding-right: 46px; color: var(--text); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%234A7FC1' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
/* Customizable select where supported; the rule above is the fallback */
@supports (appearance: base-select) {
  .field select, .field select::picker(select) { appearance: base-select; }
  .field select { display: flex; align-items: center; gap: 12px; background-image: none; padding-right: 18px; white-space: nowrap; }
  .field select::picker-icon { content: ""; width: 14px; height: 9px; margin-left: auto; background: var(--link); transition: rotate .2s; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat; }
  .field select:open::picker-icon { rotate: 180deg; }
  .field select:open { border-color: var(--focus); }
  .field select::picker(select) { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--text); padding: 6px; margin-top: 6px; box-shadow: 0 24px 60px -24px rgba(12, 26, 46, .45); }
  .field select option { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; font-size: 16px; cursor: pointer; }
  .field select option .icon { width: 18px; height: 18px; color: var(--link); }
  .field select option::checkmark { display: none; }
  .field select option:hover, .field select option:focus-visible { background: color-mix(in srgb, var(--biru) 10%, transparent); outline: none; }
  .field select option:checked { background: var(--langit); color: var(--malam); }
  .field select option:checked .icon { color: var(--malam); }
}
.field input:focus, .field select:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.finder .btn { min-height: 52px; padding: 0 10px 0 24px; }
/* Arrow chip only on the search submit: it is the page's main action */
.chip-arrow { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; background: var(--malam); color: #fff; }
.try { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.try button { min-height: 36px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--text); }
.try button:hover { border-color: var(--link); color: var(--link); }

/* Sections */
section { position: relative; }
.sec { padding-block: clamp(64px, 9vw, 128px); }
.sec-tight { padding-block: clamp(48px, 6vw, 88px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.meta { color: var(--muted); font-size: 14px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.meta .rub { color: var(--link); font-weight: 600; text-decoration: none; }
.dot-sep::before { content: "·"; margin-right: 10px; }

/* Sorotan: asymmetric 7/5 */
.sorotan { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 64px); align-items: start; padding-top: clamp(56px, 7vw, 96px); }
.feature { position: relative; border-radius: var(--r-lg); overflow: hidden; display: block; color: #fff; text-decoration: none; aspect-ratio: 4 / 4.2; background: var(--malam); }
.feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature:hover img { transform: scale(1.03); }
.feature .cap { position: absolute; left: 16px; right: 16px; bottom: 16px; background: var(--surface); color: var(--text); border-radius: 20px; padding: clamp(18px, 2.4vw, 28px); }
.feature .cap h3 { font-family: var(--f-head); font-size: clamp(22px, 1.2vw + 17px, 30px); line-height: 1.15; margin: 8px 0 0; font-weight: 700; }
.latest-list { list-style: none; margin: 28px 0 0; padding: 0; }
.latest-list li { border-top: 1px solid var(--line); }
.latest-list a { display: block; padding: 18px 0; text-decoration: none; color: inherit; }
.latest-list a:hover h3 { color: var(--link); }
.latest-list h3 { margin: 6px 0 0; font-family: var(--f-head); font-size: 19px; line-height: 1.25; font-weight: 700; }

/* Daftar isi rubrik */
.toc { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--text); counter-reset: toc; }
.toc li { border-bottom: 1px solid var(--line); }
.toc a { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: clamp(18px, 2vw, 26px) 4px; text-decoration: none; color: inherit; }
.toc .no { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; display: flex; gap: 10px; align-items: center; }
.toc .no .star { color: var(--accent); font-size: 15px; }
.toc .name { font-family: var(--f-head); font-style: italic; font-size: clamp(24px, 2vw + 14px, 40px); font-weight: 400; line-height: 1.1; transition: transform .25s ease; }
.toc .name b { font-style: normal; font-weight: 800; }
.toc .desc { display: block; font-family: var(--f-display); font-style: normal; font-weight: 400; font-size: 15px; color: var(--muted); margin-top: 6px; letter-spacing: 0; }
.toc a:hover .name { transform: translateX(8px); color: var(--link); }
.toc .peek { position: absolute; right: 120px; top: 50%; width: 180px; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md); opacity: 0; transform: translateY(-50%) rotate(-3deg) scale(.96); transition: opacity .2s ease, transform .25s ease; pointer-events: none; }
@media (hover: hover) and (min-width: 960px) { .toc a:hover .peek { opacity: 1; transform: translateY(-50%) rotate(-3deg) scale(1); } }

/* Dark band (Asmaul Husna). Fixed colors regardless of theme. */
.dark { background: var(--band); color: #E8EEF6; }
.dark .lead { color: #A9BCD3; }
.dark .voice b { color: var(--langit); }
.dark a { color: var(--langit); }
.asma-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-top: 6px; margin-top: -6px; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--langit) rgba(255,255,255,.08); }
.asma-card { scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; padding: 22px; border-radius: var(--r-md);
  background: #13243D; color: #E8EEF6; text-decoration: none; border: 1px solid #22385A; transition: border-color .2s ease, transform .2s ease; }
.dark a.asma-card { color: #E8EEF6; }
.asma-card:hover { border-color: var(--langit); transform: translateY(-3px); }
.asma-card .ar { font-family: var(--f-arab); font-size: 46px; line-height: 1.5; direction: rtl; text-align: right; color: var(--emas); }
.asma-card .lt { font-weight: 700; font-size: 20px; }
.asma-card .ar-mean { color: #A9BCD3; font-size: 15px; }
.asma-card .go { margin-top: 14px; font-size: 14px; color: var(--langit); font-weight: 600; }
.asma-foot { margin-top: 32px; display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; }
.progress-99 { flex: 1 1 260px; max-width: 420px; }
.progress-99 .bar { height: 8px; border-radius: 99px; background: #22385A; overflow: hidden; margin-top: 8px; }
.progress-99 .bar span { display: block; height: 100%; background: var(--emas); }
.progress-99 p { margin: 0; font-size: 15px; color: #C9D8EA; }
.progress-99 strong { color: #fff; }

/* Seri Fiqih Bisnis: tall image + accordion */
.seri { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.seri .tall { position: sticky; top: calc(var(--header-h) + var(--admin-h, 0px) + 24px); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--malam); }
.seri .tall img { width: 100%; height: 100%; object-fit: cover; }
.acc { margin-top: 28px; display: grid; gap: 8px; }
.acc-item { border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.acc-item.open { background: var(--band); color: #E8EEF6; border-color: var(--band); }
.acc-item h3 { margin: 0; font-size: inherit; }
.acc-btn { width: 100%; display: grid; grid-template-columns: 28px 1fr; gap: 12px; text-align: left; padding: 18px 20px; background: none; border: 0; cursor: pointer; font-family: var(--f-head); font-weight: 700; font-size: 18px; line-height: 1.3; min-height: 56px; color: inherit; }
.acc-btn .pm { width: 26px; height: 26px; border-radius: 99px; border: 1.5px solid currentColor; display: grid; place-items: center; opacity: .7; margin-top: -1px; }
.acc-item.open .acc-btn { color: var(--langit); }
.acc-item.open .pm { opacity: 1; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; visibility: hidden; transition: visibility .3s; }
.acc-item.open .acc-panel > div { visibility: visible; }
.acc-panel p { margin: 0; padding: 0 20px 6px 60px; color: #C9D8EA; }
.acc-panel a { display: inline-flex; margin: 4px 0 14px 60px; color: var(--langit); font-weight: 600; min-height: 44px; align-items: center; }

/* Kisah carousel */
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 18px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.story { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: inherit; }
.story img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--line); }
.story .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.story h3 { margin: 0; font-family: var(--f-head); font-size: 21px; line-height: 1.2; font-weight: 700; }
.story:hover h3 { color: var(--link); }
.story .ex { color: var(--muted); font-size: 15px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.track-foot { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.track-foot p { margin: 0; color: var(--muted); max-width: 40ch; }
.arrows { display: flex; gap: 10px; }
.round { width: 52px; height: 52px; border-radius: 99px; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--malam); color: #fff; }
.round.alt { background: var(--langit); color: var(--malam); }
.round:disabled { opacity: .35; cursor: default; }

/* Dengarkan dan ikuti: unequal by purpose */
.kanal { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.kanal .spotify { grid-row: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.kanal iframe { width: 100%; height: 232px; border: 0; border-radius: var(--r-md); background: var(--bg); }
.kanal h3 { margin: 0; font-family: var(--f-head); font-size: 26px; font-weight: 800; }
.kanal p { margin: 0; color: var(--muted); }
.kanal .small { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 24px; border-radius: var(--r-md); border: 1px solid var(--line); text-decoration: none; color: inherit; background: var(--surface); min-height: 180px; }
.kanal .small:hover { border-color: var(--link); }
.kanal .small .handle { font-weight: 600; color: var(--link); display: inline-flex; gap: 8px; align-items: center; }
.kanal .sosmed { position: relative; isolation: isolate; overflow: hidden; border: 0; color: #fff; }
.kanal .sosmed p { color: rgba(255,255,255,.8); }
.kanal .spotify.sosmed { background: #121212; padding-bottom: clamp(56px, 8vw, 96px); --scrim: linear-gradient(180deg, rgba(10,14,12,.8) 0%, rgba(10,14,12,.4) 45%, rgba(10,14,12,.25) 100%), linear-gradient(90deg, rgba(10,14,12,.78) 0%, rgba(10,14,12,.6) 35%, transparent 60%); }
.kanal .spotify.photo-bg::before { filter: none; background-position: right bottom; }
.kanal .spotify.sosmed .link-strong { color: #1ED760; }
.kanal .spotify.sosmed iframe { background: #282828; }
.kanal .tiktok { background: #0B0B0F; --scrim: linear-gradient(90deg, rgba(8,8,12,.9) 0%, rgba(8,8,12,.86) 45%, rgba(8,8,12,.55) 65%, rgba(8,8,12,.15) 100%); }
.kanal .tiktok.photo-bg::before { filter: none; background-position: right center; }
.kanal .tiktok .handle { color: #25F4EE; }
.kanal .instagram { background: #4F2B8F; --scrim: linear-gradient(90deg, rgba(36,12,52,.86) 0%, rgba(36,12,52,.72) 55%, rgba(36,12,52,.25) 100%); }
.kanal .instagram.photo-bg::before { filter: none; background-position: right center; }
.kanal .instagram .handle { color: #fff; }
.kanal .sosmed { --glow: rgba(29,185,84,.45); transition: transform .3s ease, box-shadow .3s ease; }
.kanal .tiktok { --glow: rgba(254,44,85,.4); }
.kanal .instagram { --glow: rgba(214,41,118,.45); }
.kanal .sosmed::before { transition: transform .6s ease, filter .3s ease; }
.kanal .sosmed::after { transition: opacity .3s ease; }
.kanal .sosmed:is(:hover, :focus-within) { transform: translateY(-4px); box-shadow: 0 18px 36px -14px var(--glow); }
.kanal .sosmed:is(:hover, :focus-within)::before { transform: scale(1.05); filter: brightness(1.2) saturate(1.15); }
.kanal .sosmed:is(:hover, :focus-within)::after { opacity: .85; }
.kanal .spotify.sosmed:is(:hover, :focus-within)::after { opacity: 1; }
.kanal .small.sosmed:hover { border-color: transparent; }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: var(--band); color: #C9D8EA; padding: clamp(56px, 8vw, 96px) 0 0; }
.site-footer a { color: #E8EEF6; }
.foot-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: clamp(48px, 6vw, 72px); }
.foot-grid h2 { font-size: 15px; font-weight: 600; color: #fff; margin: 0 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-grid li a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; text-decoration: none; }
.foot-grid li a:hover { text-decoration: underline; }
.foot-grid address { font-style: normal; line-height: 1.7; margin-top: 18px; }
.foot-grid .brand img { height: 44px; }
.foot-grid li a .icon { width: 18px; height: 18px; color: var(--langit); }
.foot-grid .social { display: flex; gap: 10px; }
.foot-grid .social a { width: 46px; height: 46px; justify-content: center; border-radius: 999px; border: 1px solid #5E7DA6; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.foot-grid .social a .icon { width: 20px; height: 20px; color: inherit; }
.foot-grid .social a:hover, .foot-grid .social a:focus-visible { background: var(--langit); border-color: var(--langit); color: var(--malam); text-decoration: none; }
.foot-grid .handle { margin: 12px 0 0; font-size: 14px; }
.foot-bar { position: relative; z-index: 1; border-top: 1px solid #22385A; padding: 18px 0 22px; font-size: 14px; background: inherit; }
.foot-bar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Archive (rubrik.html) */
.page-head { background: var(--band); color: #E8EEF6; padding: calc(var(--header-h) + 56px) 0 56px; }
.page-head .lead { color: #A9BCD3; }
.page-head .voice b { color: var(--langit); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip:hover { border-color: var(--langit); }
.chip { text-decoration: none; min-height: 44px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid #3A5478; background: transparent; color: #E8EEF6; cursor: pointer; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.chip[aria-current="page"] { background: var(--langit); color: var(--malam); border-color: var(--langit); }
.archive-search { margin-top: 20px; display: flex; gap: 10px; max-width: 560px; }
.archive-search input { flex: 1; min-height: 52px; padding: 0 16px; border-radius: var(--r-sm); border: 1.5px solid #3A5478; background: #13243D; color: #fff; min-width: 0; }
.archive-search input::placeholder { color: #8FA4BF; }
.archive-search input:focus { outline: none; border-color: var(--langit); box-shadow: 0 0 0 3px rgba(164, 204, 241, .3); }
.result-line { color: var(--muted); margin: 0 0 24px; }
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-cards .story:first-child { grid-column: span 2; }
.grid-cards .story:first-child img { aspect-ratio: 16 / 8; }
.grid-cards .story:first-child h3 { font-size: clamp(22px, 1.2vw + 16px, 30px); }
.more { display: flex; justify-content: center; margin-top: 40px; }
.state { text-align: center; padding: 64px 16px; border: 1px dashed var(--line); border-radius: var(--r-md); }
.state .star { color: var(--link); font-size: 28px; }
.state h2 { font-family: var(--f-head); font-weight: 700; font-size: 26px; margin: 12px 0 8px; }
.state p { color: var(--muted); margin: 0 auto 20px; max-width: 46ch; }

/* Article */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--langit); z-index: 70; }
.art-head { background: var(--band); color: #E8EEF6; padding: calc(var(--header-h) + 48px) 0 0; }
.art-head .meta { color: #A9BCD3; }
.art-head.photo-bg { --scrim: color-mix(in srgb, var(--band) 78%, transparent); }
.art-head.photo-bg::before, .photo-bg.is-blur::before { inset: -64px; filter: blur(36px) saturate(.7); }
.page-head.is-blur { --scrim: color-mix(in srgb, var(--band) 82%, transparent); }
.art-head .meta a.rub { color: var(--langit); }
.art-head h1 { font-family: var(--f-head); font-size: clamp(34px, 2.8vw + 20px, 64px); font-weight: 800; line-height: 1.05; margin: 16px 0 0; max-width: 24ch; }
.art-hero { margin-top: 40px; position: relative; }
.art-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: var(--bg); }
.art-hero img { position: relative; border-radius: var(--r-lg); width: 100%; aspect-ratio: 16 / 8; object-fit: cover; background: #13243D; }
.art-layout { display: grid; grid-template-columns: 220px minmax(0, 68ch) 1fr; gap: 48px; padding: 48px 0 80px; }
.art-toc { position: sticky; top: calc(var(--header-h) + var(--admin-h, 0px) + 24px); align-self: start; font-size: 14px; }
.art-toc h2 { font-size: 14px; font-weight: 600; margin: 0 0 10px; color: var(--muted); }
.art-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.art-toc a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); line-height: 1.35; }
.art-toc a:hover, .art-toc a.active { color: var(--text); border-left-color: var(--link); }
.prose { font-family: var(--f-read); font-size: clamp(17px, 0.4vw + 16px, 19px); line-height: 1.75; }
.prose h2 { font-family: var(--f-head); font-size: clamp(26px, 1vw + 20px, 34px); line-height: 1.15; color: var(--link); margin: 2.2em 0 .6em; font-weight: 700; }
.prose h3 { font-family: var(--f-head); font-size: clamp(21px, .6vw + 18px, 25px); margin: 1.8em 0 .5em; font-weight: 700; }
.prose p { margin: 0 0 1.1em; }
.prose img { border-radius: var(--r-md); margin: 1.4em 0; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--link); font-style: italic; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose [lang="ar"], .prose .arab { font-family: var(--f-arab); font-size: 1.4em; direction: rtl; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--f-display); font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose hr, .prose .wp-block-separator { border: 0; height: 14px; margin: 2.4em 0; background: var(--link);
  clip-path: polygon(50% 0, 54% 40%, 58% 50%, 54% 60%, 50% 100%, 46% 60%, 42% 50%, 46% 40%); }
.art-aside { font-size: 14px; }
.share { position: sticky; top: calc(var(--header-h) + var(--admin-h, 0px) + 24px); display: grid; gap: 10px; max-width: 230px; }
.share h2 { font-size: 14px; font-weight: 600; margin: 0 0 4px; color: var(--muted); }
.share button, .share a { min-height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; text-decoration: none; color: var(--text); font: 600 15px/1.2 var(--f-display); white-space: nowrap; }
.share button:hover { border-color: var(--link); }
/* WhatsApp green on the one share target readers use most; dark text keeps 9:1 */
.share .wa { background: #25D366; border-color: #25D366; color: #0B2014; }
.share .wa:hover { filter: brightness(.94); }
.share [role="status"] { color: var(--link); min-height: 20px; }
.skeleton { display: grid; gap: 14px; }
.skeleton span { display: block; height: 18px; border-radius: 4px; background: linear-gradient(90deg, var(--line), color-mix(in srgb, var(--line) 40%, transparent), var(--line)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.source-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--f-display); font-size: 15px; color: var(--muted); }

/* Asmaul Husna index */
.asma-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.asma-tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); color: inherit; text-decoration: none; min-height: 190px; }
.asma-tile .n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.asma-tile .ar { font-family: var(--f-arab); font-size: 36px; line-height: 1.6; direction: rtl; text-align: right; color: var(--accent); margin-top: auto; }
.asma-tile .lt { font-weight: 700; font-size: 17px; }
.asma-tile .mn { color: var(--muted); font-size: 14px; line-height: 1.35; }
.asma-tile .status { font-size: 13px; margin-top: 8px; font-weight: 600; }
a.asma-tile { border-color: color-mix(in srgb, var(--link) 45%, var(--line)); }
a.asma-tile:hover { border-color: var(--link); background: color-mix(in srgb, var(--link) 7%, var(--surface)); }
a.asma-tile .status { color: var(--link); }
div.asma-tile .status { color: var(--muted); font-weight: 500; }
.asma-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 28px; }
.asma-tools input { min-height: 48px; padding: 0 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface); min-width: 0; flex: 1 1 220px; max-width: 360px; }
.asma-tools input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.seg button { min-height: 45px; padding: 0 16px; border: 0; background: transparent; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-text); }

/* WordPress */
.admin-bar { --admin-h: 32px; }
.admin-bar .site-header { top: 32px; }
.admin-bar .mobile-menu { top: 32px; }
@media (max-width: 782px) { .admin-bar { --admin-h: 46px; } .admin-bar .site-header, .admin-bar .mobile-menu { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { position: absolute; } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.theme-toggle .i-moon { display: contents; }
.theme-toggle .i-sun { display: none; }
.theme-toggle[aria-pressed="true"] .i-sun { display: contents; }
.theme-toggle[aria-pressed="true"] .i-moon { display: none; }
.no-js .theme-toggle, .no-js .nav-btn, .no-js .arrows, .no-js .asma-tools .seg { display: none; }
.no-thumb { display: grid; place-items: center; aspect-ratio: 16 / 10; width: 100%; height: 100%; background: var(--malam-2); color: var(--langit); font-size: 34px; }
.grid-cards.later .story:first-child { grid-column: auto; }
.grid-cards.later .story:first-child img { aspect-ratio: 16 / 10; }
.grid-cards.later .story:first-child h2 { font-size: 21px; }
.grid-cards .story h2 { margin: 0; font-family: var(--f-head); font-size: 21px; line-height: 1.2; font-weight: 700; }
.grid-cards .story:first-child h2 { font-size: clamp(22px, 1.2vw + 16px, 30px); }
.story:hover h2 { color: var(--link); }
.related { border-top: 1px solid var(--line); }
.art-layout.no-hero { padding-top: 64px; }
.art-toc-gap { min-width: 0; }
.page-body { max-width: 72ch; }
.page-intro { margin-bottom: 32px; max-width: 68ch; }
.asma-grid .state { grid-column: 1 / -1; }
.page-links { font-family: var(--f-display); font-size: 15px; display: flex; gap: 8px; margin-top: 32px; }
.prose > :first-child { margin-top: 0; }
.prose figure { margin: 1.6em 0; }
.prose figcaption, .prose .wp-element-caption { font-family: var(--f-display); font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
.prose .alignwide, .prose .alignfull { margin-inline: 0; max-width: 100%; }
.prose .aligncenter { margin-inline: auto; }
.prose .alignleft { float: left; margin: .4em 1.4em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .4em 0 1em 1.4em; max-width: 50%; }
.prose iframe { max-width: 100%; }
.prose a { overflow-wrap: anywhere; }
.prose .wp-block-pullquote { border: 0; padding: 0; }
.prose .wp-block-button__link { font-family: var(--f-display); border-radius: 999px; background: var(--btn-bg); color: var(--btn-text); text-decoration: none; }
.prose pre { overflow-x: auto; font-size: 15px; }
.prose::after { content: ""; display: table; clear: both; }

/* Reveal: marks chapter changes on a long scroll; runs once */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Tentang */
/* Section photo under a navy scrim; --scrim is tuned per photo so text stays above 4.5:1. */
.photo-bg { position: relative; isolation: isolate; overflow: hidden; }
.photo-bg::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--photo) center / cover no-repeat; filter: saturate(.6); }
.photo-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim); }
.about-head { --scrim: linear-gradient(90deg, rgba(12,26,46,.92) 0%, rgba(12,26,46,.74) 55%, rgba(12,26,46,.5) 100%); padding-bottom: clamp(72px, 10vw, 140px); }
.about-title { font-size: clamp(36px, 4.2vw + 14px, 76px); max-width: 20ch; }
.about-why { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.about-side { position: sticky; top: calc(var(--header-h) + var(--admin-h, 0px) + 24px); }
.about-fig { margin-top: clamp(24px, 3vw, 40px); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); background: var(--malam-2); }
.about-why .prose > :first-child { margin-top: 0; }
.prose .belief { font-family: var(--f-head); font-style: italic; font-size: clamp(26px, 1.6vw + 18px, 38px); line-height: 1.2; letter-spacing: 0; margin: 28px 0; }
.prose .belief b { font-style: normal; font-weight: 800; color: var(--link); }
.nilai { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.nilai li { border-top: 1.5px solid var(--text); padding-top: 20px; }
.nilai .no, .misi .no { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; display: flex; gap: 10px; align-items: center; }
.nilai .no .star { color: var(--accent); }
.nilai h3 { font-family: var(--f-head); font-size: clamp(24px, 1vw + 18px, 30px); line-height: 1.15; font-weight: 700; margin: 20px 0 6px; }
.nilai .id { margin: 0; color: var(--link); font-weight: 600; font-size: 15px; }
.nilai .desc { margin: 14px 0 0; color: var(--muted); }
.visi { --scrim: rgba(6,14,26,.86); }
.visi .label { display: flex; gap: 10px; align-items: center; margin: 0 0 28px; font-size: 16px; font-weight: 600; color: #A9BCD3; }
.visi .label .star { color: var(--emas); }
.visi-text { margin: 0; max-width: 34ch; font-family: var(--f-head); font-weight: 600; font-size: clamp(26px, 1.8vw + 18px, 44px); line-height: 1.25; letter-spacing: 0; }
.visi-text em { color: var(--emas); }
.misi { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--text); }
.misi li { display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 7fr); gap: 8px clamp(16px, 3vw, 48px); align-items: baseline; padding: clamp(20px, 2.4vw, 32px) 4px; border-bottom: 1px solid var(--line); }
.misi h3 { margin: 0; font-family: var(--f-head); font-size: clamp(22px, 1vw + 17px, 30px); line-height: 1.15; font-weight: 700; }
.misi li > p { margin: 0; color: var(--muted); }
.about-end { margin-top: clamp(48px, 6vw, 88px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.about-end .voice { font-size: clamp(28px, 2vw + 18px, 44px); }
.about-end .acts { display: flex; flex-wrap: wrap; gap: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Tablet: 600 to 959 */
@media (max-width: 959px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
  .finder .fields { grid-template-columns: 1fr 1fr; }
  .finder .fields .btn { grid-column: span 2; justify-content: space-between; }
  .sorotan { grid-template-columns: 1fr; }
  .feature { aspect-ratio: 16 / 11; }
  .seri { grid-template-columns: 1fr; }
  .seri .tall { position: relative; top: 0; aspect-ratio: 16 / 9; }
  .track { grid-auto-columns: calc((100% - 18px) / 2); }
  .kanal { grid-template-columns: 1fr 1fr; }
  .kanal .spotify { grid-column: span 2; grid-row: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: span 2; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .art-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .art-toc { position: static; order: -1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }
  .share { position: static; grid-auto-flow: column; justify-content: start; align-items: center; max-width: none; }
  .share h2 { margin: 0 6px 0 0; }
  .about-why { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .about-fig { aspect-ratio: 16 / 9; }
  .nilai { grid-template-columns: 1fr; }
  .nilai li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; }
  .nilai li > * { grid-column: 2; }
  .nilai .no { grid-column: 1; grid-row: 1 / span 3; align-self: start; padding-top: 6px; }
  .nilai h3 { margin-top: 0; }
  .misi li { grid-template-columns: 64px minmax(0, 1fr); }
  .misi li > p { grid-column: 2; }
}

/* Phone: below 600 */
@media (max-width: 599px) {
  :root { --header-h: 64px; }
  .brand img { height: 34px; }
  .hero { text-align: left; }
  .hero p.lead { margin-left: 0; }
  .finder .fields { grid-template-columns: 1fr; }
  .finder .fields .btn { grid-column: auto; }
  .finder form { border-radius: 20px; }
  .feature { aspect-ratio: 4 / 5; }
  .feature .cap { left: 10px; right: 10px; bottom: 10px; }
  .toc a { grid-template-columns: 1fr; gap: 4px 12px; }
  .toc .no { grid-column: 1 / -1; }
  .track { grid-auto-columns: 86%; }
  .track-foot { flex-direction: column; align-items: flex-start; }
  .kanal { grid-template-columns: 1fr; }
  .kanal .spotify { grid-column: auto; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-grid > :first-child { grid-column: auto; }
  .grid-cards { grid-template-columns: 1fr; }
  .grid-cards .story:first-child { grid-column: auto; }
  .grid-cards .story:first-child img { aspect-ratio: 16 / 10; }
  .acc-panel p { padding-left: 20px; }
  /* One swipeable row so results start above the fold */
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters .chip { flex: none; }
  .acc-panel a { margin-left: 20px; }
  .art-hero img { aspect-ratio: 4 / 3; border-radius: 20px; }
  .asma-grid { grid-template-columns: repeat(2, 1fr); }
  .asma-tile { min-height: 170px; padding: 14px; }
  .asma-tile .ar { font-size: 30px; }
  .share { grid-auto-flow: row; }
  .nilai li { grid-template-columns: 1fr; }
  .nilai li > *, .nilai .no { grid-column: 1; grid-row: auto; padding-top: 0; }
  .nilai h3 { margin-top: 14px; }
  .misi li { grid-template-columns: 1fr; }
  .misi li > p { grid-column: 1; }
}
