@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --green: #0b4d2e;
  --green-dark: #073b23;
  --cream: #f5f1e8;
  --gold: #c5a880;
  --ink: #1a1a1a;
  --muted: #66716a;
  --success: #1b8a4b;
  --warning: #d4a017;
  --line: #ded8cb;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(11, 77, 46, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
}
button, input, textarea { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-title { margin: 0; color: var(--green); font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -.035em; }
.section-copy { color: var(--muted); }

.sanad-bar { background: var(--green); color: white; font-size: 12px; }
.sanad-bar .container { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sanad-bar span { color: #dce9e1; }
.navbar { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.navbar .container { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--gold); background: var(--green); font-size: 12px; font-weight: 800; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy small { color: var(--muted); font-size: 10px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 13px; font-weight: 650; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--green); }
.nav-cta { padding: 11px 16px; border-radius: 8px; color: white; background: var(--green); text-decoration: none; font-size: 12px; font-weight: 800; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 24px; }

.movie-hero { padding: 46px 0 38px; color: white; background: #0a0a0a; }
.player-wrap { position: relative; overflow: hidden; aspect-ratio: 16/9; border: 1px solid #252525; background: #111; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.player-wrap iframe { width: 100%; height: 100%; border: 0; }
.status-badge { position: absolute; top: 18px; left: 18px; z-index: 2; padding: 8px 12px; border-radius: 999px; color: white; background: var(--success); font-size: 11px; font-weight: 800; letter-spacing: .04em; box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.status-badge.waiting { background: var(--warning); color: #161006; }
.movie-heading { padding-top: 28px; }
.movie-heading h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -.04em; }
.movie-alt { margin: 9px 0 22px; color: #d1d1d1; font-size: 16px; }
.arabic { font-family: Amiri, serif; font-size: 1.14em; }
.meta-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.meta-item { padding: 8px 11px; border: 1px solid #363636; border-radius: 999px; color: #d7d7d7; font-size: 11px; }
.meta-item b { color: var(--gold); }

.action-bar { position: sticky; top: 72px; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
.action-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--green); border-radius: 8px; cursor: pointer; color: var(--green); background: white; text-decoration: none; font-size: 12px; font-weight: 800; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11,77,46,.12); }
.btn-primary { color: white; background: var(--green); }
.btn-quiet { border-color: transparent; color: var(--muted); }
.vote-status { text-align: right; }
.vote-status small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.vote-status strong { color: var(--green); font-size: 14px; }

.story-section { padding: 84px 0; }
.story-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(290px, 3fr); gap: 56px; align-items: start; }
.prose h2, .crew h2 { margin: 0 0 18px; color: var(--green); font-size: 28px; letter-spacing: -.025em; }
.prose p { color: #46514a; }
.hikmah { margin: 28px 0 52px; padding: 22px 24px; border-left: 4px solid var(--gold); background: var(--cream); }
.hikmah b { color: var(--green); }
.crew-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.credit { padding: 18px 0; border-bottom: 1px solid var(--line); }
.credit:nth-child(odd) { padding-right: 24px; }
.credit:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.credit small { display: block; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.credit strong { display: block; margin-top: 4px; color: var(--green); }
.talent-list { margin-top: 18px; color: var(--muted); font-size: 13px; }

.sanad-box { position: sticky; top: 180px; overflow: hidden; border: 1px solid var(--gold); border-radius: var(--radius); background: var(--cream); box-shadow: var(--shadow); }
.sanad-title { padding: 18px 22px; color: white; background: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.sanad-body { padding: 10px 22px 22px; }
.sanad-row { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 15px 0; border-bottom: 1px solid rgba(197,168,128,.45); }
.sanad-row:last-of-type { border: 0; }
.sanad-row span:first-child { color: var(--green); }
.sanad-row small { display: block; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.sanad-row strong { display: block; margin-top: 3px; color: var(--green); font-size: 13px; }
.sanad-row p { margin: 4px 0 0; color: #4b554f; font-size: 12px; line-height: 1.5; }
.sanad-link { color: var(--green); font-size: 11px; font-weight: 800; }
.category-badge { display: inline-flex; margin-top: 14px; padding: 8px 11px; border-radius: 999px; color: var(--green); background: #e7dccb; font-size: 10px; font-weight: 800; }

.bts-section { padding: 84px 0; background: var(--cream); }
.bts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.bts-photo { min-height: 220px; display: flex; align-items: end; overflow: hidden; border: 8px solid white; background-position: center; background-size: cover; box-shadow: 0 12px 30px rgba(25,42,32,.1); }
.bts-photo span { margin: 14px; padding: 6px 9px; color: white; background: rgba(11,77,46,.85); font-size: 10px; font-weight: 800; }
.bts-one { background-image: linear-gradient(0deg,rgba(11,77,46,.25),transparent), url('https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=900&q=80'); }
.bts-two { background-image: linear-gradient(0deg,rgba(11,77,46,.25),transparent), url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=900&q=80'); }
.bts-three { background-image: linear-gradient(0deg,rgba(11,77,46,.25),transparent), url('https://images.unsplash.com/photo-1574717024653-61fd2cf4d44d?auto=format&fit=crop&w=900&q=80'); }
.quote-card { margin-top: 18px; padding: 28px 32px; border-radius: 14px; color: white; background: var(--green); }
.quote-card blockquote { margin: 0; font-family: Amiri, serif; font-size: 23px; line-height: 1.55; }
.quote-card cite { display: block; margin-top: 9px; color: var(--gold); font-family: Inter, sans-serif; font-size: 11px; font-style: normal; font-weight: 800; }

.comments-section { padding: 84px 0; }
.comments-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 30px; }
.comment-form { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.comment-form textarea { width: 100%; min-height: 130px; resize: vertical; padding: 14px; border: 1px solid var(--line); border-radius: 10px; outline-color: var(--green); }
.moderation-note { display: flex; gap: 10px; margin: 12px 0 18px; color: var(--muted); font-size: 11px; }
.comment-card { padding: 24px; border-left: 3px solid var(--gold); background: var(--cream); }
.comment-card p { margin: 0 0 12px; color: #3d4942; }
.comment-card strong { color: var(--green); font-size: 12px; }

.related-section { padding: 84px 0; background: var(--cream); }
.film-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.film-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; text-decoration: none; transition: transform .2s; }
.film-card:hover { transform: translateY(-4px); }
.film-thumb { position: relative; aspect-ratio: 16/9; display: grid; place-items: center; background: linear-gradient(145deg,#c7d8cc,#789783); }
.film-card:nth-child(2) .film-thumb { background: linear-gradient(145deg,#eadfce,#b69368); }
.film-card:nth-child(3) .film-thumb { background: linear-gradient(145deg,#cdd8cf,#5d7865); }
.play-dot { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: white; }
.mini-status { position: absolute; top: 12px; left: 12px; padding: 5px 8px; border-radius: 999px; color: white; background: var(--success); font-size: 8px; font-weight: 800; }
.film-content { padding: 18px; }
.film-content h3 { margin: 0; color: var(--green); font-size: 16px; }
.film-content p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }

.juknis-hero { padding: 78px 0; color: white; background: var(--green); }
.juknis-hero h1 { max-width: 760px; margin: 8px 0 16px; font-size: clamp(40px,6vw,68px); line-height: 1.03; letter-spacing: -.05em; }
.juknis-hero p { max-width: 680px; color: #d8e7de; }
.deadline-pill { display: inline-flex; margin-top: 18px; padding: 10px 14px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); font-size: 11px; font-weight: 800; }
.juknis-main { padding: 72px 0 90px; }

/* Native promotional motion */
.motion-hero { overflow: hidden; padding: 92px 0 86px; background: var(--cream); }
.motion-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 72px; align-items: center; }
.axiology-motion { position: relative; min-height: 200px; display: flex; flex-direction: column; justify-content: center; color: var(--ink); font-size: clamp(44px, 6vw, 82px); font-weight: 800; line-height: 1.04; letter-spacing: -.055em; }
.lottie-stage { display: grid; place-items: center; }
.axiology-lottie { width: min(800px,100%); height: 200px; }
.motion-fallback { transition: opacity .35s cubic-bezier(.65,0,.35,1); }
.axiology-fallback { position: absolute; left: 0; top: 20px; }
.fallback-barokah { position: relative; color: var(--green); }
.fallback-barokah::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: 5px; background: var(--gold); }
.has-lottie > .motion-fallback { display: none; }
.pancajiwa-lottie { width: 210px; height: 210px; }
.pancajiwa-fallback { position: absolute; width: 210px; height: 210px; }
.axiology-line { display: flex; align-items: center; min-height: 1.1em; }
.type-cursor { width: 4px; height: .86em; margin-left: 7px; background: var(--green); animation: cursor-blink 1s steps(1) infinite; }
.barokah-line { opacity: 1; transform: translateY(0); transition: opacity .65s cubic-bezier(.65,0,.35,1), transform .65s cubic-bezier(.65,0,.35,1); }
.barokah-line span { position: relative; color: var(--green); text-shadow: 0 0 22px rgba(197,168,128,.16); }
.barokah-line span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: 5px; background: var(--gold); transform: scaleX(1); transform-origin: left; transition: transform .8s cubic-bezier(.65,0,.35,1); }
.axiology-motion.is-typing .barokah-line { opacity: 0; transform: translateY(24px); }
.axiology-motion.is-typing .barokah-line span::after { transform: scaleX(0); }
.motion-support { max-width: 680px; margin: 26px 0 0; color: #4d5952; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-philosophy { padding: 34px; border: 1px solid var(--gold); border-radius: 180px 180px 16px 16px; color: white; background: var(--green); box-shadow: var(--shadow); }
.hero-philosophy > span { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 11px; font-weight: 800; }
.hero-philosophy h2 { margin: 80px 0 12px; font-family: Amiri, serif; font-size: 34px; line-height: 1.15; }
.hero-philosophy p { color: #d2e2d8; font-size: 13px; }
.philosophy-index { display: grid; gap: 9px; margin-top: 52px; padding-top: 18px; border-top: 1px solid rgba(197,168,128,.45); color: var(--gold); font-size: 10px; letter-spacing: .1em; }

.ontology-section { padding: 104px 0; background: white; }
.ontology-grid { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 96px; align-items: center; }
.ontology-copy .section-title { max-width: 620px; font-size: clamp(38px, 5vw, 62px); }
.ontology-copy .section-copy { max-width: 610px; font-size: 17px; }
.ontology-descriptions { min-height: 104px; margin-top: 34px; padding: 18px 20px; border-left: 3px solid var(--gold); background: var(--cream); }
.ontology-descriptions strong { color: var(--green); font-size: 18px; }
.ontology-descriptions p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.pancajiwa-motion { position: relative; min-height: 430px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--cream); outline: none; }
.pancajiwa-motion:focus-visible { box-shadow: 0 0 0 4px rgba(27,138,75,.24); }
.pancajiwa-motion svg { width: 210px; height: 210px; overflow: visible; }
.jiwa-icon { opacity: 0; transform: scale(.88) rotate(-3deg); transform-origin: center; fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: opacity .55s cubic-bezier(.65,0,.35,1), transform .55s cubic-bezier(.65,0,.35,1); }
.jiwa-icon.is-active { opacity: 1; transform: scale(1) rotate(0); }
.jiwa-label { position: absolute; bottom: 70px; color: var(--green); font-size: 16px; font-weight: 800; }
.pause-hint { position: absolute; bottom: 35px; color: var(--muted); font-size: 10px; }
.pancajiwa-orbit { position: absolute; inset: 26px; border: 1px dashed var(--gold); border-radius: 50%; animation: orbit-turn 18s linear infinite; }
.home-sanad-teaser { padding: 88px 0; color: white; background: var(--green); }
.home-sanad-teaser .section-title { max-width: 800px; color: white; font-size: clamp(38px,5vw,60px); }
.home-sanad-teaser .section-copy { max-width: 640px; color: #d3e2d9; }
.home-sanad-teaser .btn { margin-top: 18px; border-color: var(--gold); color: var(--green); background: var(--gold); }

.sanad-motion-section { padding: 76px 0; background: var(--cream); }
.sanad-motion-head { max-width: 760px; margin-bottom: 40px; }
.sanad-motion-head h2 { margin: 0; color: var(--green); font-size: clamp(30px,4vw,46px); line-height: 1.15; letter-spacing: -.035em; }
.sanad-motion { position: relative; padding: 44px 30px 36px; overflow: hidden; border: 1px solid var(--gold); border-radius: 18px; background: white; }
.sanad-chain { width: 100%; height: auto; overflow: visible; }
.chain-line { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-dasharray: 9 10; stroke-dashoffset: 120; }
.chain-node circle { fill: var(--cream); stroke: var(--green); stroke-width: 2.5; transition: fill .6s cubic-bezier(.65,0,.35,1), transform .6s cubic-bezier(.65,0,.35,1); transform-box: fill-box; transform-origin: center; }
.chain-node path, .chain-node line, .chain-node rect { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chain-label { fill: var(--green); font-family: Inter, sans-serif; font-size: 12px; font-weight: 800; text-anchor: middle; }
.chain-sub { fill: var(--muted); font-family: Inter, sans-serif; font-size: 9px; text-anchor: middle; }
.sah-badge { fill: var(--green); transform-box: fill-box; transform-origin: center; }
.sah-text { fill: white; font-family: Inter, sans-serif; font-size: 11px; font-weight: 800; text-anchor: middle; }
.stamp-sah { opacity: 0; transform: translateY(-24px) rotate(-8deg); transform-box: fill-box; transform-origin: center; }
.stamp-sah rect { fill: #fffaf2; stroke: var(--gold); stroke-width: 2; }
.stamp-sah text { fill: var(--green); font-family: Inter, sans-serif; font-size: 12px; font-weight: 800; text-anchor: middle; }
.sanad-motion.is-running .chain-line { animation: chain-flow 5s cubic-bezier(.65,0,.35,1) infinite; }
.sanad-motion.is-running .chain-node circle { animation: node-glow 5s cubic-bezier(.65,0,.35,1) infinite; }
.sanad-motion.is-running .node-2 circle { animation-delay: .9s; }
.sanad-motion.is-running .node-3 circle { animation-delay: 1.8s; }
.sanad-motion.is-running .node-4 circle { animation-delay: 3s; }
.sanad-motion.is-running .stamp-sah { animation: stamp-drop 5s cubic-bezier(.65,0,.35,1) infinite; }
.sanad-motion.is-running .sah-badge { animation: badge-breathe 5s cubic-bezier(.65,0,.35,1) infinite; }
.sanad-motion-copy { margin: 24px 0 0; text-align: center; color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: .04em; }

@keyframes cursor-blink { 50% { opacity: 0; } }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes chain-flow { 0% { stroke-dashoffset: 120; opacity: .25; } 18%,78% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -120; opacity: .25; } }
@keyframes node-glow { 0%,12%,100% { fill: var(--cream); transform: scale(1); } 20%,68% { fill: #d9eddf; transform: scale(1.06); } 80% { fill: var(--cream); transform: scale(1); } }
@keyframes stamp-drop { 0%,35%,100% { opacity: 0; transform: translateY(-24px) rotate(-8deg); } 43%,78% { opacity: 1; transform: translateY(0) rotate(-8deg); } 86% { opacity: 0; } }
@keyframes badge-breathe { 0%,58%,100% { transform: scale(1); } 66% { transform: scale(1.1); } 75% { transform: scale(1); } }

.tabs { position: sticky; top: 72px; z-index: 15; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: white; box-shadow: 0 10px 30px rgba(11,77,46,.08); }
.tab-btn { min-height: 58px; padding: 8px 12px; border: 0; border-right: 1px solid var(--line); cursor: pointer; color: var(--muted); background: white; font-size: 11px; font-weight: 800; }
.tab-btn:last-child { border: 0; }
.tab-btn.active { color: white; background: var(--green); }
.tab-panel { display: none; padding: 46px 0 20px; }
.tab-panel.active { display: block; }
.panel-head { max-width: 780px; margin-bottom: 26px; }
.panel-head h2 { margin: 0; color: var(--green); font-size: 32px; letter-spacing: -.03em; }
.rule-list { margin: 0; padding: 0; list-style: none; counter-reset: rules; }
.rule-list li { counter-increment: rules; display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rule-list li::before { content: counter(rules, decimal-leading-zero); width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--green); font-size: 11px; font-weight: 800; }
.rule-list strong { color: var(--green); }
.alert-box { margin-bottom: 24px; padding: 20px 22px; border-left: 4px solid #a13c2d; background: #fff2ee; color: #6f271d; }
.note-box { margin-top: 24px; padding: 22px; border: 1px solid var(--gold); border-radius: 12px; background: var(--cream); }
.note-box strong { color: var(--green); }
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 17px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { color: white; background: var(--green); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.spec-table td:first-child { width: 180px; color: var(--green); font-weight: 800; }
.spec-table tr:nth-child(even) { background: var(--cream); }
.download-box { margin-top: 42px; padding: 30px; border-radius: var(--radius); color: white; background: var(--green); }
.download-box h3 { margin: 0 0 6px; font-size: 24px; }
.download-box p { margin: 0 0 22px; color: #d4e4da; font-size: 13px; }
.download-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.download-box .btn { border-color: var(--gold); }
.download-box .btn-primary { color: var(--green); background: var(--gold); }
.download-box .btn:not(.btn-primary) { color: white; background: transparent; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; background: rgba(0,0,0,.72); }
.modal.open { display: grid; }
.modal-card { width: min(520px,100%); padding: 28px; border-radius: 18px; background: white; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.modal-card h2 { margin: 0; color: var(--green); }
.modal-card p { color: var(--muted); font-size: 13px; }
.modal-card input { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 9px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 110; padding: 12px 16px; border-radius: 9px; color: white; background: var(--green); font-size: 12px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translateY(0); }
.footer { padding: 52px 0 24px; color: white; background: var(--green-dark); }
.footer-grid { display: flex; justify-content: space-between; gap: 50px; }
.footer p { color: #bed2c5; font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(197,168,128,.3); color: #a8c0b1; font-size: 10px; }

@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 18px 20px; flex-direction: column; align-items: flex-start; background: white; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .sanad-bar .container span:first-child { display: none; }
  .movie-hero { padding-top: 22px; }
  .status-badge { top: 10px; left: 10px; font-size: 9px; }
  .action-bar { top: auto; bottom: 0; }
  .action-inner { padding: 10px 0; }
  .actions { flex-wrap: nowrap; width: 100%; }
  .actions .btn { flex: 1; padding: 0 8px; font-size: 10px; }
  .vote-status { display: none; }
  .story-grid, .comments-layout { grid-template-columns: 1fr; }
  .sanad-box { position: static; }
  .bts-grid, .film-grid { grid-template-columns: 1fr; }
  .tabs { top: 72px; grid-template-columns: repeat(2,1fr); }
  .tab-btn:nth-child(2) { border-right: 0; }
  .spec-table { display: block; overflow-x: auto; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1200px); }
  .brand-copy small, .nav-cta { display: none; }
  .movie-heading h1 { font-size: 30px; }
  .movie-alt { font-size: 13px; }
  .meta-bar { gap: 6px; }
  .meta-item { font-size: 9px; }
  .story-section, .bts-section, .comments-section, .related-section { padding: 56px 0; }
  .story-grid { gap: 36px; }
  .crew-grid { grid-template-columns: 1fr; }
  .credit:nth-child(odd), .credit:nth-child(even) { padding: 15px 0; border-left: 0; }
  .bts-photo { min-height: 190px; }
  .quote-card blockquote { font-size: 20px; }
  .juknis-hero { padding: 52px 0; }
  .tabs { position: static; }
  .tab-btn { min-height: 64px; }
  .rule-list li { grid-template-columns: 38px 1fr; gap: 12px; }
  .download-actions { flex-direction: column; }
  .footer-grid, .footer-bottom { flex-direction: column; }
}

@media (max-width: 860px) {
  .motion-hero-grid, .ontology-grid { grid-template-columns: 1fr; }
  .motion-hero-grid { gap: 46px; }
  .hero-philosophy { max-width: 500px; border-radius: 150px 150px 16px 16px; }
  .ontology-grid { gap: 46px; }
  .pancajiwa-motion { width: min(430px, 100%); min-height: auto; aspect-ratio: 1; margin-inline: auto; }
  .sanad-motion { padding-inline: 14px; overflow-x: auto; }
  .sanad-chain { min-width: 760px; }
}

@media (max-width: 560px) {
  .motion-hero { padding: 62px 0; }
  .axiology-motion { min-height: 150px; font-size: clamp(40px, 13vw, 62px); }
  .motion-support { font-size: 14px; }
  .hero-philosophy h2 { margin-top: 56px; }
  .ontology-section, .home-sanad-teaser, .sanad-motion-section { padding: 64px 0; }
  .pancajiwa-motion svg, .pancajiwa-lottie, .pancajiwa-fallback { width: 155px; height: 155px; }
  .jiwa-label { bottom: 52px; }
  .pause-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .barokah-line, .jiwa-icon.is-active, .stamp-sah { opacity: 1; transform: none; }
  .pancajiwa-orbit { transform: none; }
  .chain-line { stroke-dashoffset: 0; }
}
