/* ========================================
   ROOT VARIABLES
======================================== */

:root{
  --accent-wirkus:#00e5ff;
  --bg:#17191a;
  --bg-soft:#1d2022;
  --bg-deep:#121416;
  --panel:#1c1f21;
  --panel-2:#181b1d;

  --line:rgba(185,150,88,.24);
  --line-soft:rgba(185,150,88,.14);

  --text:#e2dbd0;
  --text-soft:#cfc6b7;
  --text-dim:#a99e8c;
  --title:#f1eadf;

  --gold:#b8945b;
  --gold-soft:#d7b57b;

  --green:#4f7c67;
  --red:#874138;

  --shadow:0 14px 40px rgba(0,0,0,.18);
}

html[data-theme="light"]{
  --bg:#f6efe4;
  --bg-soft:#efe4d1;
  --bg-deep:#e8dcc4;
  --panel:#e6d7bb;
  --panel-2:#f8efe2;

  --line:rgba(128,92,32,.22);
  --line-soft:rgba(128,92,32,.12);

  --text:#332113;
  --text-soft:#604325;
  --text-dim:#7a6043;
  --title:#1f1206;

  --gold:#9f721d;
  --gold-soft:#c08a2f;

  --green:#35624d;
  --red:#8a3d33;

  --shadow:0 12px 36px rgba(51,33,19,.08);
}



/* ========================================
   GLOBAL
======================================== */

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:"Crimson Pro", Georgia, serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.8;
  font-size:18px;
  transition:background .25s, color .25s;
}

a{
  color:inherit;
  text-decoration:none;
}

.site-shell{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

/* ========================================
   NAVBAR
======================================== */

.site-nav{
  position:sticky;
  top:0;
  z-index:100;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 28px;
  background:var(--bg-deep);
  border-bottom:1px solid var(--gold);
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand-mark{
  display:flex;
  align-items:center;
  justify-content:center;
}

.brand-logo{
  height:26px;      /* kontrol ukuran */
  width:auto;
  object-fit:contain;
}

.brand-text{
  font-family:"Cormorant Garamond", serif;

  font-size:16px;
  font-weight:700;
}

.nav-links{
  margin-left:auto;
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  justify-content:center;
}

.nav-links a{
  font-family:"DM Mono", monospace;
  font-size:11px;
  letter-spacing:1.8px;
  text-transform:uppercase;
  color:var(--text-soft);
  padding:8px 0;
  border-bottom:2px solid transparent;
}

.nav-links a:hover,
.nav-links a.is-active{
  color:var(--gold-soft);
  border-color:var(--gold-soft);
}

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

.btn,
.theme-btn{
  border:none;
  cursor:pointer;
  font-family:"DM Mono", monospace;
  text-transform:uppercase;
  letter-spacing:1.6px;
}

.btn{
  padding:10px 15px;
  background:var(--red);
  color:#f8efe4;
  font-size:10px;
}

.theme-btn{
  width:34px;
  height:34px;
  border-radius:6px;
  background:rgba(255,255,255,.1);
  border:1px solid var(--line);
  color:var(--gold);
  font-size:14px;
}

/* ========================================
   HAMBURGER
======================================== */

.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.hamburger span{
  width:24px;
  height:2px;
  background:currentColor;
  transition:.3s;
}

/* ========================================
   HERO
======================================== */


.hero-inner img{
  display:block;
  margin:0 auto 24px;
  max-width:560px;
  width:100%;
  height:auto;
  padding:6px;
  border:1px solid rgba(196,144,16,.3);
  background:rgba(196,144,16,.05);
  filter:contrast(1.05) brightness(0.95);
}



.hero,
.page-hero{

  position:relative;
  overflow:hidden;

 
  min-height:70vh; /* biar ada ruang */
  display:flex;
  align-items:center;      /* vertical center */
  justify-content:center;  /* horizontal center */
  text-align:center;       /* teks rata tengah */
  padding:60px 20px;
}



.hero-inner{
  max-width:720px;
  margin:0 auto;
}


  
.hero::before,
.page-hero::before{
  content:"";
  position:absolute;
  inset:24px;
  border:1px solid var(--line);
  pointer-events:none;
}

.hero-inner,
.page-hero-inner,
.section,
.footer-inner{
  width:min(1120px, calc(100% - 24px));
  margin:0 auto;
}

.eyebrow{
  
  align-items:center;
  gap:10px;
  font-family:"DM Mono", monospace;
  font-size:10px;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:18px;
}

.eyebrow::after{
  content:"";
  width:42px;
  height:1px;
  background:var(--gold);
  opacity:.6;
}

/* ========================================
   TYPOGRAPHY
======================================== */

h1,
h2{
  margin:0;
  font-family:"Cormorant Garamond", serif;
  line-height:1.08;
  color:var(--title);
}

h3{
  margin:0;
  font-family:"Cormorant Garamond", serif;
  line-height:1.08;
  color:var(--gold);
}

h1{
  font-size:clamp(42px, 7vw, 84px);
}

h2{
  font-size:clamp(32px, 5vw, 56px);
  margin-bottom:18px;
}

h2 em,
h1 em{
  font-style:italic;
  color:var(--gold-soft);
}

html[data-theme="light"] h2 em,
html[data-theme="light"] h1 em{
  color:#b07a1f;
}

.lead{
  max-width:760px;
  font-size:20px;
  line-height:1.8;
  color:var(--text-soft);
}

.page-hero-inner .lead{
  text-align:center;
  max-width:620px;
  margin:24px auto 0;
  line-height:1.8;
}

/* ========================================
   BUTTONS
======================================== */

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
    justify-content:center;   /* INI WAJIB */
}

.btn-secondary{
  display:inline-block;
  padding:11px 15px;
  border:1px solid var(--line);
  color:var(--text);
  font-family:"DM Mono", monospace;
  font-size:10px;
  letter-spacing:1.8px;
  text-transform:uppercase;
}

/* ========================================
   LAYOUT
======================================== */

.section-wrap.wirkus .eyebrow{
  color:var(--accent-wirkus);
}

.wirkus-title em{
  color:var(--accent-wirkus);
}

.section-wrap{
  padding:76px 28px;
}

.section-wrap.soft{
  background:var(--bg-soft);
}

.section-wrap.deep{
  background:var(--bg-deep);
}

.grid-2{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:24px;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

/* ========================================
   CARD
======================================== */

.card{
  background:var(--panel);
  border:1px solid var(--line-soft);
  padding:24px;
  box-shadow:var(--shadow);
}

.card h3{
  font-size:30px;
  margin-bottom:10px;
}

.card p{
  margin:0;
  color:var(--text-soft);
}

.card-action{
  display:inline-block;
  margin-top:14px;
  font-family:"DM Mono", monospace;
  font-size:10px;
  letter-spacing:1.8px;
  text-transform:uppercase;
  color:var(--gold);
  border-bottom:1px solid rgba(159,114,29,.45);
  padding-bottom:2px;
}

.card-action:hover{
  color:var(--title);
  border-bottom-color:var(--gold-soft);
}

.small-label{
  display:block;
  margin-bottom:10px;
  font-family:"DM Mono", monospace;
  font-size:9px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--gold);
}

.card-image{
  width:100%;
  display:block;
  object-fit:cover;
  border-radius:14px;
  margin-bottom:16px;
}

/* ========================================
   TIMELINE
======================================== */

.timeline{
  position:relative;
  padding-left:36px;
  display:grid;
  gap:28px;
}

.timeline::before{
  content:"";
  position:absolute;
  left:8px;
  top:6px;
  bottom:6px;
  width:1px;
  background:repeating-linear-gradient(
    to bottom,
    var(--line) 0,
    var(--line) 7px,
    transparent 7px,
    transparent 14px
  );
}

.timeline-item{
  position:relative;
}

.timeline-item::before{
  content:"";
  position:absolute;
  left:-36px;
  top:8px;
  width:12px;
  height:12px;
  border:2px solid var(--gold);
  transform:rotate(45deg);
  background:var(--bg);
}

.timeline-item h3{
  font-size:28px;
  margin-bottom:6px;
}

.timeline-item p{
  margin:0;
  color:var(--text-soft);
}

.timeline-year{
  font-family:"DM Mono", monospace;
  font-size:9px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--red);
}

/* ========================================
   IMAGES
======================================== */

.section-media{
  width:100%;
  height:260px;
  margin:24px 0 32px;
  overflow:hidden;
  border:1px solid var(--line-soft);
  background:var(--bg-soft);
}

.section-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  opacity:.9;
  transition:.5s;
 
}

.section-media:hover img{
  transform:scale(1.03);
}



/* ========================================
   FOOTER
======================================== */

.footer{
  margin-top:auto;
  padding:40px 28px 24px;
  background:#0f1112;
  border-top:1px solid var(--line);
}

.footer-inner{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1fr;
  gap:24px;
}

.footer p,
.footer li,
.footer a{
  color:#cfc6b7;
}

.footer-copy{
  width:min(1120px, calc(100% - 24px));
  margin:26px auto 0;
  font-family:"DM Mono", monospace;
  font-size:10px;
  letter-spacing:1.8px;
  text-transform:uppercase;
  color:#a99e8c;
}

/* ========================================
   INSTAGRAM LINK
======================================== */

.ig-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--text-soft);
  transition:.3s;
}

.ig-link:hover{
  color:var(--gold-soft);
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width:900px){

  .site-nav{
    padding:14px 18px;
    flex-wrap:wrap;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .footer-inner,
  .branch-grid,
  .portal-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:768px){

  .hamburger{
    display:flex;
  }

  .nav-actions{
    display:flex;
    gap:10px;
  }

  .nav-links{
    position:absolute;
    top:72px;
    left:0;
    width:100%;
    background:var(--bg);
    border-top:1px solid var(--line-soft);
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:16px;
    padding:24px 0;
    display:none;
    z-index:999;
  }

  .nav-links.active{
    display:flex;
  }
}
 

@media (max-width:640px){

  body{
    font-size:17px;
  }

  .hero,
  .page-hero,
  .section-wrap{
    padding-left:18px;
    padding-right:18px;
  }

  .hero::before,
  .page-hero::before{
    inset:12px;
  }

  .brand-text{
    font-size:14px;
  }

  .nav-links a{
    font-size:10px;
  }
}


/* =========================
   MUSEUM TIMELINE STYLE
========================= */

.timeline.museum .timeline-card{
  display:flex;
  gap:14px;
  align-items:flex-start;
  background:var(--panel);
  border:1px solid var(--line-soft);
  padding:12px;
  transition:.3s;
}

.timeline.museum .timeline-card:hover{
  transform:translateX(6px);
  border-color:var(--gold);
}

.timeline.museum .timeline-item{
  padding-left:0;
}

.timeline.museum .timeline-item::before{
  display:none;
}

/* IMAGE */
.timeline.museum img{
  width:clamp(44px, 5vw, 64px);
  height:clamp(56px, 6.5vw, 84px);
  object-fit:cover;
  object-position:center;
  border:1px solid var(--line-soft);
  background:var(--bg-soft);
  flex-shrink:0;
}

/* CONTENT */
.timeline.museum .timeline-content h3{
  font-size:20px;
  margin-bottom:4px;
}

.timeline.museum .timeline-content p{
  font-size:14px;
  color:var(--text-soft);
  margin:0;
}

/* NOTE */
.note{
  font-size:14px;
  color:var(--text-dim);
}

.reveal{
  opacity:0;
  transform:translateY(30px);
  transition:opacity .7s ease, transform .7s ease;
  
}

.reveal.show{
  opacity:1;
  transform:translateY(0);
}

/* ========================================
   WIRKUS SECTION (YOUTH STYLE)
======================================== */

.section-wrap.wirkus{
  position:relative;
  background:linear-gradient(
    135deg,
    #0f2027,
    #203a43,
    #2c5364
  );
  overflow:hidden;
}

/* subtle color glow */
.section-wrap.wirkus::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 30%, rgba(76,175,80,.15), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255,140,0,.15), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(0,188,212,.15), transparent 50%);
  pointer-events:none;
}

/* LOGO */
.wirkus-logo{
  margin:40px auto;
  text-align:center;
}

.wirkus-logo img{
  width:220px;
  max-width:100%;
  filter:drop-shadow(0 12px 30px rgba(0,0,0,.4));
  transition:.4s;
}

.wirkus-logo img:hover{
  transform:scale(1.05);
}

/* CARD STYLE OVERRIDE */
.wirkus-card{
  background:rgba(255,255,255,.04);
  backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.08);
  color: #00bcd4;
  transition:.35s;
}

.wirkus-card:hover{
  transform:translateY(-6px);
  border-color:rgba(255,255,255,.2);
}

/* PROGRAM SPACING */
.wirkus-program{
  margin-top:30px;
}

/* TEXT TWEAK */
.section-wrap.wirkus h2{
  color:#ffffff;
}

.section-wrap.wirkus .lead{
  color:rgba(255,255,255,.8);
}

.section-wrap.wirkus .wirkus-card h3{
  color:#ffc979;
}

.section-wrap.wirkus .wirkus-card p{
  color:rgba(242,249,252,.9);
}

.section-wrap.wirkus .wirkus-card .small-label{
  color:#b9f2ff;
}

.section-wrap.wirkus .eyebrow{
  color:#00e5ff;
}

/* BUTTON tweak */
.section-wrap.wirkus .btn{
  background:#ff6f00;
}

.section-wrap.wirkus .btn-secondary{
  border-color:rgba(255,255,255,.3);
  color:#fff;
}

/* ========================================
   CINEMATIC TRANSITION
======================================== */

.transition-cinematic{
  position:relative;
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  background:var(--bg-deep);
}

/* DARK BASE */
.transition-layer{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at center, rgba(185,150,88,.08), transparent 60%),
    linear-gradient(to bottom, #0f1112, #17191a);
  z-index:1;
}

/* CONTENT */
.transition-inner{
  position:relative;
  z-index:2;
  max-width:700px;
}

/* TEXT */
.transition-text{
  font-family:"Cormorant Garamond", serif;
  font-size:22px;
  color:#d3c4aa;
  margin:10px 0;
  opacity:0;
  transform:translateY(20px);
}

.transition-title{
  font-size:clamp(42px, 6vw, 72px);
  margin-top:20px;
  color:#f3e8d4;
  opacity:0;
  transform:translateY(20px);
}

.transition-title em{
  color:#e9b86f;
}

/* LIGHT LINE (KEY EFFECT) */
.light-line{
  width:0;
  height:2px;
  margin:40px auto;
  background:linear-gradient(
    90deg,
    var(--gold),
    #4caf50,
    #00bcd4,
    #ff6f00
  );
  animation:none;
  opacity:.8;
}

/* LOGO */
.transition-logo{
  margin-top:30px;
  opacity:0;
  transform:translateY(20px);
}

.transition-logo img{
  width:180px;
  filter:drop-shadow(0 10px 25px rgba(0,0,0,.5));
  transform:scale(.9);
  transition:.6s;
}

/* REVEAL ANIMATION */
.transition-cinematic .reveal.show{
  opacity:1;
  transform:translateY(0);
}

.transition-cinematic .reveal{
  transform:translateY(20px);
  transition:.8s ease;
}

/* DELAYS */
@keyframes lineExpand{
  0%{
    width:0;
    opacity:0;
  }
  100%{
    width:220px;
    opacity:1;
  }
}

/* Animasi dimulai hanya saat section ini terlihat */
.transition-inner.show .transition-text{
  animation:fadeUp .8s ease forwards;
}

.transition-inner.show .delay-1{
  animation-delay:.4s;
}

.transition-inner.show .delay-2{
  animation-delay:.8s;
}

.transition-inner.show .light-line{
  animation:lineExpand 1.8s ease forwards;
  animation-delay:1.1s;
}

.transition-inner.show .transition-logo{
  animation:fadeUp 1s ease forwards;
  animation-delay:2.5s;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(20px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* ========================================
   WIRKUS ALT (MODERN CLEAN)
======================================== */

.section-wrap.wirkus-alt{
  background:linear-gradient(
    135deg,
    #0f2027,
    #1b3a4b,
    #2c5364
  );
  position:relative;
  overflow:hidden;
}

/* subtle glow biar hidup */
.section-wrap.wirkus-alt::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 15% 20%, rgba(0,255,170,.12), transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(255,140,0,.12), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(0,200,255,.12), transparent 50%);
  pointer-events:none;
}

/* TITLE */
.section-wrap.wirkus-alt h2{
  color:#ffffff;
}

.section-wrap.wirkus-alt h2 em{
  color:#00e5ff;
}

/* CARD MODERN */
.wirkus-alt .card{
  background:rgba(255,255,255,.05);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.1);
  transition:.35s;
}

#filosofi-wirkus .card.wirkus-card{
  margin-top:30px;
}

#filosofi-wirkus .grid-3{
  gap:26px;
}

/* HOVER */
.wirkus-alt .card:hover{
  transform:translateY(-6px);
  border-color:rgba(0,229,255,.4);
}

/* TEXT */
.wirkus-alt .card p{
  color:rgba(255,255,255,.8);
}

/* HEADING */
.wirkus-alt .card h3{
  color:#ffffff;
}

/* POSITIONING CARD SPECIAL */
.wirkus-alt .card:last-child{
  margin-top:24px;
  text-align:center;
  background:linear-gradient(
    135deg,
    rgba(0,229,255,.15),
    rgba(255,140,0,.15)
  );
  border:1px solid rgba(255,255,255,.2);
}

.wirkus-alt .lead{
  color:#ffffff;
}



/* DEFAULT (DESKTOP) */
.tritangtu{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  text-align:center;
}

.tritangtu-item{
  padding:12px 8px;
  border-left:1px solid var(--line-soft);
}

.tritangtu-item:first-child{
  border-left:none;
}

/* label kecil (Sunda) */
.tritangtu .label{
  display:block;
  font-family:"DM Mono", monospace;
  font-size:10px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:6px;
}

/* judul utama */
.tritangtu p{
  margin:0;
  font-size:18px;
}

/* sub */
.tritangtu small{
  display:block;
  margin-top:4px;
  color:var(--text-dim);
  font-size:13px;
}

/* description */
.tritangtu-desc{
  margin-top:28px;
  text-align:center;
  max-width:720px;
  margin-left:auto;
  margin-right:auto;
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width:768px){

  .tritangtu{
    grid-template-columns:1fr;
    gap:22px;
    text-align:left;
  }

  .tritangtu-item{
    border-left:none;
    border-top:1px solid var(--line-soft);
    padding-top:16px;
  }

  .tritangtu-item:first-child{
    border-top:none;
    padding-top:0;
  }

  .tritangtu .label{
    font-size:10px;
    letter-spacing:2px;
  }

  .tritangtu p{
    font-size:18px;
  }

  .tritangtu small{
    font-size:13px;
  }

  .tritangtu-desc{
    text-align:left;
    margin-top:32px;
  }
}

/* FLOW */
.keteladanan-flow{
  margin:24px 0 32px;
  padding-left:18px;
  border-left:1px solid var(--line-soft);
}

.keteladanan-flow p{
  margin:12px 0;
  font-size:20px;
}

.keteladanan-flow span{
  color:var(--text-dim);
  font-size:16px;
  margin-left:6px;
}

/* QUOTE */
.keteladanan-quote{
  margin:36px 0 10px;
  font-family:"Cormorant Garamond", serif;
  font-size:28px;
  line-height:1.4;
  text-align:center;
  color:var(--gold);
}

html[data-theme="light"] .theme-btn{
  background:rgba(31,18,6,.03);
  border-color:rgba(128,92,32,.3);
  color:#6d4712;
}

/* MEANING */
.keteladanan-meaning{
  text-align:center;
  font-size:15px;
}

.caption{
  font-size: 0.78rem;        /* lebih kecil */
  color: #8a8f94;            /* abu lembut, beda dari teks utama */
  margin-top: 6px;
  line-height: 1.5;
  text-align: center;
  font-style: italic;
  opacity: 0.85;             /* biar lebih halus */
  
}

.card p{
  margin-bottom: 16px;
}

.small-label{
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}

.card h3{
  margin-top: 6px;
  margin-bottom: 14px;
}

/* TREE STYLE */
.tree{
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.tree-node{
  position: relative;
  padding-left: 12px;
}

.tree-node::before{
  content: "";
  position: absolute;
  left: -18px;
  top: 8px;
  width: 10px;
  height: 1px;
  background: var(--line);
}

.tree-node strong{
  display: block;
  font-weight: 600;
  color: var(--title);
}

.tree-node span{
  display: block;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-top: 4px;
}

/* Highlight tokoh utama */
.tree-node.highlight{
  border-left: 2px solid var(--gold);
  padding: 10px 12px;
  border-radius: 0 10px 10px 0;
  background: rgba(184,148,91,.10);
}

/* Lead paragraph */
body[data-page="keluarga"] .lead{
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 10px;
}

body[data-page="keluarga"] .page-hero-inner .lead{
  font-size:1.1rem;
  line-height:1.9;
  color:var(--text-soft);
  max-width:760px;
}

body[data-page="keluarga"] .section-wrap.soft .grid-2{
  gap:30px;
}

body[data-page="keluarga"] .section-wrap.soft .card{
  background:linear-gradient(160deg, rgba(255,255,255,.04), var(--panel));
  border-color:var(--line);
}

body[data-page="keluarga"] .list-clean{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:8px;
  counter-reset:family-item;
}

body[data-page="keluarga"] .list-clean li{
  counter-increment:family-item;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px;
  align-items:start;
  padding:8px 10px;
  background:rgba(255,255,255,.03);
  border:1px solid var(--line-soft);
  border-radius:8px;
  color:var(--text);
}

body[data-page="keluarga"] .list-clean li::before{
  content:counter(family-item, decimal-leading-zero);
  font-family:"DM Mono", monospace;
  font-size:10px;
  letter-spacing:1px;
  color:var(--gold);
  border:1px solid var(--line-soft);
  background:rgba(184,148,91,.12);
  border-radius:999px;
  padding:2px 8px;
  line-height:1.5;
  margin-top:2px;
}

body[data-page="keluarga"] .section-wrap.soft .grid-2 > p{
  grid-column:1 / -1;
  margin-top:4px;
  padding:12px 14px;
  border:1px solid var(--line-soft);
  border-radius:8px;
  color:var(--text-dim);
  background:rgba(255,255,255,.02);
}

#filosofi-wirkus .card.wirkus-card:last-child{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(0,229,255,.4);
  border-radius:16px;
  background:
    radial-gradient(circle at 85% 15%, rgba(0,229,255,.15), transparent 38%),
    linear-gradient(155deg, rgba(7,56,79,.95), rgba(13,87,114,.88));
  box-shadow:0 16px 36px rgba(0,0,0,.3);
}

#filosofi-wirkus .card.wirkus-card:last-child .grid-2{
  gap:24px;
}

#filosofi-wirkus .card.wirkus-card:last-child h3{
  color:#e7f6ff;
  font-size:clamp(34px, 5vw, 48px);
  margin-bottom:14px;
}

#filosofi-wirkus .card.wirkus-card:last-child strong{
  color:var(--accent-wirkus);
  font-size:1.08rem;
}

#filosofi-wirkus .card.wirkus-card:last-child p{
  color:rgba(242,250,255,.96);
  margin-bottom:12px;
  line-height:1.7;
}

#filosofi-wirkus .card.wirkus-card:last-child .grid-2 > div{
  display:grid;
  gap:12px;
}

#filosofi-wirkus .card.wirkus-card:last-child .grid-2 > div p{
  margin:0;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
}

#why-wirkus{
  background:
    radial-gradient(circle at 14% 12%, rgba(0,229,255,.14), transparent 40%),
    linear-gradient(145deg, #0f2a3a, #19475c 45%, #245d73);
}

#why-wirkus .grid-2{
  margin-top:24px;
  gap:22px;
}

#why-wirkus .card{
  background:linear-gradient(165deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.2);
  border-radius:14px;
  backdrop-filter:blur(8px);
  box-shadow:0 10px 26px rgba(0,0,0,.2);
  transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

#why-wirkus .card:hover{
  transform:translateY(-5px);
  border-color:rgba(0,229,255,.45);
  box-shadow:0 16px 30px rgba(0,0,0,.24);
}

#why-wirkus h2{
  margin-bottom:8px;
}

#why-wirkus .card h3{
  color:var(--accent-wirkus);
  font-size:clamp(34px, 5vw, 44px);
}

#why-wirkus .card p{
  color:rgba(236,246,252,.92);
  line-height:1.75;
}

#narasi-wirkus .card.wirkus-card{
  max-width:900px;
  margin:0 auto;
  padding:34px 30px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:18px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,201,121,.12), transparent 35%),
    linear-gradient(160deg, rgba(255,255,255,.1), rgba(0,0,0,.2));
  box-shadow:0 20px 42px rgba(0,0,0,.3);
}

#narasi-wirkus .card.wirkus-card h3{
  color:#ffd59a;
  font-size:clamp(42px, 6vw, 58px);
  margin-bottom:14px;
}

#narasi-wirkus .card.wirkus-card h3 .accent-wirkus{
  color:var(--accent-wirkus);
}

#narasi-wirkus .card.wirkus-card .lead{
  color:#f3f9ff;
  font-size:1.22rem;
  line-height:1.75;
  padding-bottom:12px;
  margin-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,.16);
}

#narasi-wirkus .card.wirkus-card p{
  color:rgba(236,245,252,.95);
  line-height:1.8;
}

@media (max-width:640px){
  #filosofi-wirkus .card.wirkus-card:last-child,
  #why-wirkus .card,
  #narasi-wirkus .card.wirkus-card{
    border-radius:12px;
  }

  #filosofi-wirkus .card.wirkus-card:last-child{
    padding:22px 18px;
  }

  #filosofi-wirkus .card.wirkus-card:last-child .grid-2{
    gap:14px;
  }

  #filosofi-wirkus .card.wirkus-card:last-child .grid-2 > div p{
    padding:9px 10px;
  }

  #why-wirkus .card{
    padding:22px 20px;
  }

  #narasi-wirkus .card.wirkus-card{
    padding:24px 20px;
  }
}






/* ========================================
   OPTIMIZATION PATCH v2.2.0
======================================== */

img{
  max-width:100%;
  height:auto;
}

.skip-link{
  position:absolute;
  top:-120px;
  left:16px;
  z-index:1000;
  padding:10px 14px;
  border-radius:999px;
  background:var(--gold-soft);
  color:var(--bg-deep);
  font-family:"DM Mono", monospace;
  font-size:11px;
  letter-spacing:1px;
}

.skip-link:focus{
  top:16px;
  outline:2px solid var(--title);
  outline-offset:3px;
}

.hamburger{
  border:0;
  background:transparent;
  color:var(--text);
  padding:8px;
}

.theme-btn:focus-visible,
.hamburger:focus-visible,
.btn:focus-visible,
.btn-secondary:focus-visible,
.card-link:focus-visible,
.nav-links a:focus-visible{
  outline:2px solid var(--gold-soft);
  outline-offset:4px;
}

.card{
  border-radius:18px;
  transition:transform .28s ease, border-color .28s ease, box-shadow .28s ease, background-color .28s ease;
}

.card-link{
  display:block;
  color:inherit;
  min-height:100%;
}

.card:hover,
.card-link:hover{
  transform:translateY(-5px);
  border-color:var(--gold);
  box-shadow:0 18px 48px rgba(0,0,0,.24);
}

.card-link:hover .card-action,
.card-link:focus-visible .card-action{
  color:var(--title);
  border-bottom-color:var(--gold-soft);
}

.card-image{
  aspect-ratio:4 / 3;
  transition:transform .4s ease, filter .4s ease;
}

.card-link:hover .card-image{
  transform:scale(1.025);
  filter:saturate(1.05) contrast(1.03);
}

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

@media (max-width:768px){
  .hamburger{
    display:flex;
  }

  .nav-links{
    box-shadow:0 22px 50px rgba(0,0,0,.28);
  }
}
