@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&family=Poetsen+One&display=swap');

/* =========================================================
   THE BOLU RAMPAH — Brand UI System (Bootstrap 5 Friendly)
   ========================================================= */

/* Brand Color Palette + Design Tokens */
:root{
  --primary:#740A03;
  --secondary:#FEB100;
  --bg:#FCF8F8;
  --dark:#191919;
  --muted:#6c757d;
  --card:#ffffff;
  --border: rgba(25,25,25,.08);

  --font-body: "Google Sans Flex", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "Poetsen One", cursive;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 22px;

  --shadow-sm: 0 14px 35px rgba(25,25,25,.05);
  --shadow: 0 16px 40px rgba(25,25,25,.06);
  --shadow-lg: 0 18px 50px rgba(25,25,25,.08);

  --focus: 0 0 0 .2rem rgba(116,10,3,.14);
}

html, body{ height:100%; }
html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-weight: 420;
  background: var(--bg);
  color: var(--dark);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings: brand font */
h1, h2, h3,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6{
  font-family: var(--font-heading);
  letter-spacing: .25px;
  line-height: 1.15;
}

p, .lead, .small, .small-muted{ font-family: var(--font-body); }

a{ color: var(--primary); text-decoration: none; }
a:hover{ color:#5d0702; }

/* focus (keyboard friendly) */
:focus{ outline: none; }
:focus-visible{
  box-shadow: var(--focus);
  border-radius: 10px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}

/* ===============================
   NAVBAR
   =============================== */
.navbar{
  backdrop-filter: blur(10px);
  background: rgba(252,248,248,.86);
  border-bottom: 1px solid var(--border);
}

.navbar .nav-link{
  font-family: var(--font-body);
  font-weight: 520;
  color: var(--dark);
  opacity: .9;
}
.navbar .nav-link:hover{ color: var(--primary); opacity: 1; }
.navbar .nav-link.active{ color: var(--primary); }

.brand-logo{
  display:block;
}
.brand-logo img{
  height: 52px;
  width: auto;
  filter: none;
}

/* ===============================
   BUTTONS + BADGES
   =============================== */
.btn{
  font-family: var(--font-body);
  font-weight: 560;
  border-radius: 999px;
}

.btn-primary{
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(116,10,3,.16);
}
.btn-primary:hover{
  background:#5d0702;
  border-color:#5d0702;
  transform: translateY(-1px);
}
.btn-primary:active{ transform: translateY(0); }

.btn-outline-primary{
  color: var(--primary);
  border-color: rgba(116,10,3,.35);
  background: transparent;
}
.btn-outline-primary:hover{
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.badge-soft{
  background: rgba(254,177,0,.16);
  color: #7a5600;
  border: 1px solid rgba(254,177,0,.25);
  font-weight: 650;
}

/* ===============================
   LAYOUT
   =============================== */
.section{ padding: 72px 0; }
.section-sm{ padding: 48px 0; }
.page-header{ padding-top: 96px; padding-bottom: 24px; }

.card-modern{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.70));
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* ===============================
   HERO PRODUCT
   =============================== */
.hero-product{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.hero-product img{
  width: 100%;
  height: 420px;
  object-fit: cover;
}

@media (max-width: 991.98px){
  .hero-product img{ height: 320px; }
}

/* ===============================
   FEATURES + KPI + TAGS
   =============================== */
.feature-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.feature-icon{
  width: 46px; height: 46px;
  border-radius: 16px;
  background: rgba(116,10,3,.10);
  color: var(--primary);
  display:flex; align-items:center; justify-content:center;
  font-size: 22px;
}

.kpi{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  height: 100%;
}

.small-muted{ color: var(--muted); }

.gradient-divider{
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(116,10,3,.25), transparent);
}

.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(25,25,25,.10);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
}

/* ===============================
   FORMS
   =============================== */
.form-control, .form-select{
  border-radius: var(--radius-sm);
  border-color: rgba(25,25,25,.12);
}
.form-control:focus, .form-select:focus{
  border-color: rgba(116,10,3,.35);
  box-shadow: var(--focus);
}

/* ===============================
   ACCORDION
   =============================== */
.accordion-item{
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.accordion-button{
  border-radius: 14px !important;
  font-family: var(--font-body);
  font-weight: 600;
}
.accordion-button:focus{ box-shadow: var(--focus); }

/* ===============================
   PILL NAV
   =============================== */
.pill-nav .nav-link{
  border-radius: 999px;
  border: 1px solid rgba(25,25,25,.10);
  color: var(--dark);
  padding: 8px 14px;
}
.pill-nav .nav-link.active{
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===============================
   MAP PLACEHOLDER
   =============================== */
.map-placeholder{
  height: 360px;
  background: rgba(116,10,3,.06);
  border-radius: var(--radius);
  border: 1px dashed rgba(116,10,3,.22);
  display:flex;
  align-items:center;
  justify-content:center;
}

/* ===============================
   FOOTER
   =============================== */
.footer{
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.avatar-initial{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(116,10,3,.12);
  color: var(--primary);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
}

.stars{
  letter-spacing: 1px;
  color: var(--secondary);
  font-size: 14px;
}

.quote-mark{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(254,177,0,.16);
  color: #7a5600;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* =========================================================
   MILESTONE TIMELINE
   ========================================================= */
.timeline-wrap{ position: relative; }

.timeline-rail{
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(116,10,3,.18);
  border-radius: 999px;
}

.timeline-item{
  position: relative;
  padding-left: 56px;
  margin-bottom: 18px;
}

.timeline-dot{
  position: absolute;
  left: 9px;
  top: 22px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(116,10,3,.35);
  box-shadow: 0 10px 20px rgba(25,25,25,.06);
}

.timeline-dot::after{
  content:"";
  position:absolute;
  inset: 4px;
  border-radius: 999px;
  background: rgba(116,10,3,.22);
}

.timeline-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px;
  transform: translateY(14px);
  opacity: 0;
  transition: transform .45s ease, opacity .45s ease, border-color .45s ease;
}
.timeline-card.in-view{
  transform: translateY(0);
  opacity: 1;
  border-color: rgba(116,10,3,.22);
}

.timeline-year{
  font-weight: 800;
  color: var(--primary);
  letter-spacing: .5px;
}

.timeline-meta{
  color: var(--muted);
  font-size: .9rem;
}

/* Sticky year nav */
.year-nav{
  position: sticky;
  top: 96px;
}
.year-nav .list-group-item{
  border-radius: 999px !important;
  border: 1px solid rgba(25,25,25,.10);
  margin-bottom: 10px;
  background: #fff;
  color: var(--dark);
  transition: all .2s ease;
}
.year-nav .list-group-item.active{
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.year-nav .list-group-item:hover{
  border-color: rgba(116,10,3,.25);
}

@media (max-width: 991.98px){
  .year-nav{ position: static; }
}

/* =========================================================
   SCROLL VISUAL BRIDGE (Image -> Milestone)
   ========================================================= */
.story-visual{
  position: relative;
  min-height: 170vh;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
}

.story-visual::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 500px at 20% 20%, rgba(254,177,0,.18), transparent 60%),
    radial-gradient(900px 500px at 80% 30%, rgba(116,10,3,.22), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(252,248,248,1) 88%);
  opacity: var(--overlay, .15);
  transition: opacity .08s linear;
}

.story-sticky{
  position: sticky;
  top: 96px;
  z-index: 2;
  padding-top: 24px;
  padding-bottom: 24px;
}

.story-card{
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.76));
  overflow: hidden;
}

.story-media{
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(116,10,3,.06);
}

.story-media img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  transform: scale(var(--imgScale, 1));
  opacity: var(--imgOpacity, 1);
  filter: blur(var(--imgBlur, 0px)) saturate(1.02);
  transition: filter .08s linear, transform .08s linear, opacity .08s linear;
}

.story-gradient-bottom{
  position:absolute;
  left:0; right:0; bottom:0;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(25,25,25,.62));
  opacity: var(--capOpacity, .55);
  transition: opacity .08s linear;
}

.story-caption{
  position:absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: #fff;
}

.story-caption .badge{
  background: rgba(254,177,0,.18);
  border: 1px solid rgba(254,177,0,.25);
  color: #fff;
}

.story-kpi{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.story-kpi .kpi{ padding: 12px 14px; }

.bridge-fade{
  height: 120px;
  background: linear-gradient(180deg, rgba(252,248,248,0) 0%, rgba(252,248,248,1) 100%);
}

@media (max-width: 991.98px){
  .story-media img{ height: 320px; }
  .story-sticky{ top: 84px; }
}

/* =========================================================
   CATEGORY CAROUSEL (snap + smooth)
   ========================================================= */
.cat-carousel{ position: relative; }

.cat-track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 85%;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.cat-track::-webkit-scrollbar{ height: 8px; }
.cat-track::-webkit-scrollbar-thumb{
  background: rgba(25,25,25,.12);
  border-radius: 999px;
}
.cat-track::-webkit-scrollbar-track{
  background: rgba(25,25,25,.06);
  border-radius: 999px;
}

@media (min-width: 576px){
  .cat-track{ grid-auto-columns: 52%; }
}
@media (min-width: 992px){
  .cat-track{ grid-auto-columns: 32%; }
}
@media (min-width: 1200px){
  .cat-track{ grid-auto-columns: 26%; }
}

.cat-slide{ scroll-snap-align: start; }

.cat-card{
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  height: 100%;
  transform: translateY(10px);
  opacity: 0;
  transition: transform .5s ease, opacity .5s ease;
}
.cat-card.in-view{
  transform: translateY(0);
  opacity: 1;
}

.cat-media{
  position: relative;
  height: 190px;
  overflow: hidden;
}
.cat-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .45s ease;
}
.cat-card:hover .cat-media img{ transform: scale(1.05); }

.cat-badge{
  position: absolute;
  left: 12px;
  top: 12px;
}

.cat-body{ padding: 16px 16px 18px; }

.cat-nav{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
}

.cat-dots{
  display:flex;
  gap:8px;
  justify-content:center;
  margin-top: 14px;
}
.cat-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(25,25,25,.18);
  border: 0;
}
.cat-dot.active{ background: var(--primary); }

@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&family=Poetsen+One&display=swap');

/* =========================================================
   THE BOLU RAMPAH — Brand UI System (Bootstrap 5 Friendly)
   ========================================================= */

/* Brand Color Palette + Design Tokens */
:root{
  --primary:#740A03;
  --secondary:#FEB100;
  --bg:#FCF8F8;
  --dark:#191919;
  --muted:#6c757d;
  --card:#ffffff;
  --border: rgba(25,25,25,.08);

  --font-body: "Google Sans Flex", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "Poetsen One", cursive;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 22px;

  --shadow-sm: 0 14px 35px rgba(25,25,25,.05);
  --shadow: 0 16px 40px rgba(25,25,25,.06);
  --shadow-lg: 0 18px 50px rgba(25,25,25,.08);

  --focus: 0 0 0 .2rem rgba(116,10,3,.14);
}

html, body{ height:100%; }
html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-weight: 420;
  background: var(--bg);
  color: var(--dark);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings: brand font */
h1, h2, h3,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6{
  font-family: var(--font-heading);
  letter-spacing: .25px;
  line-height: 1.15;
}

p, .lead, .small, .small-muted{ font-family: var(--font-body); }

a{ color: var(--primary); text-decoration: none; }
a:hover{ color:#5d0702; }

/* focus (keyboard friendly) */
:focus{ outline: none; }
:focus-visible{
  box-shadow: var(--focus);
  border-radius: 10px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}

/* ===============================
   NAVBAR
   =============================== */
.navbar{
  backdrop-filter: blur(10px);
  background: rgba(252,248,248,.86);
  border-bottom: 1px solid var(--border);
}

.navbar .nav-link{
  font-family: var(--font-body);
  font-weight: 520;
  color: var(--dark);
  opacity: .9;
}
.navbar .nav-link:hover{ color: var(--primary); opacity: 1; }
.navbar .nav-link.active{ color: var(--primary); }

.brand-logo{
  display:block;
}
.brand-logo img{
  height: 52px;
  width: auto;
  filter: none;
}

/* ===============================
   BUTTONS + BADGES
   =============================== */
.btn{
  font-family: var(--font-body);
  font-weight: 560;
  border-radius: 999px;
}

.btn-primary{
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(116,10,3,.16);
}
.btn-primary:hover{
  background:#5d0702;
  border-color:#5d0702;
  transform: translateY(-1px);
}
.btn-primary:active{ transform: translateY(0); }

.btn-outline-primary{
  color: var(--primary);
  border-color: rgba(116,10,3,.35);
  background: transparent;
}
.btn-outline-primary:hover{
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.badge-soft{
  background: rgba(254,177,0,.16);
  color: #7a5600;
  border: 1px solid rgba(254,177,0,.25);
  font-weight: 650;
}

/* ===============================
   LAYOUT
   =============================== */
.section{ padding: 72px 0; }
.section-sm{ padding: 48px 0; }
.page-header{ padding-top: 96px; padding-bottom: 24px; }

.card-modern{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.70));
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* ===============================
   HERO PRODUCT
   =============================== */
.hero-product{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.hero-product img{
  width: 100%;
  height: 420px;
  object-fit: cover;
}

@media (max-width: 991.98px){
  .hero-product img{ height: 320px; }
}

/* ===============================
   FEATURES + KPI + TAGS
   =============================== */
.feature-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.feature-icon{
  width: 46px; height: 46px;
  border-radius: 16px;
  background: rgba(116,10,3,.10);
  color: var(--primary);
  display:flex; align-items:center; justify-content:center;
  font-size: 22px;
}

.kpi{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  height: 100%;
}

.small-muted{ color: var(--muted); }

.gradient-divider{
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(116,10,3,.25), transparent);
}

.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(25,25,25,.10);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
}

/* ===============================
   FORMS
   =============================== */
.form-control, .form-select{
  border-radius: var(--radius-sm);
  border-color: rgba(25,25,25,.12);
}
.form-control:focus, .form-select:focus{
  border-color: rgba(116,10,3,.35);
  box-shadow: var(--focus);
}

/* ===============================
   ACCORDION
   =============================== */
.accordion-item{
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.accordion-button{
  border-radius: 14px !important;
  font-family: var(--font-body);
  font-weight: 600;
}
.accordion-button:focus{ box-shadow: var(--focus); }

/* ===============================
   PILL NAV
   =============================== */
.pill-nav .nav-link{
  border-radius: 999px;
  border: 1px solid rgba(25,25,25,.10);
  color: var(--dark);
  padding: 8px 14px;
}
.pill-nav .nav-link.active{
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===============================
   MAP PLACEHOLDER
   =============================== */
.map-placeholder{
  height: 360px;
  background: rgba(116,10,3,.06);
  border-radius: var(--radius);
  border: 1px dashed rgba(116,10,3,.22);
  display:flex;
  align-items:center;
  justify-content:center;
}

/* ===============================
   FOOTER
   =============================== */
.footer{
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.avatar-initial{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(116,10,3,.12);
  color: var(--primary);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
}

.stars{
  letter-spacing: 1px;
  color: var(--secondary);
  font-size: 14px;
}

.quote-mark{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(254,177,0,.16);
  color: #7a5600;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* =========================================================
   MILESTONE TIMELINE
   ========================================================= */
.timeline-wrap{ position: relative; }

.timeline-rail{
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(116,10,3,.18);
  border-radius: 999px;
}

.timeline-item{
  position: relative;
  padding-left: 56px;
  margin-bottom: 18px;
}

.timeline-dot{
  position: absolute;
  left: 9px;
  top: 22px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(116,10,3,.35);
  box-shadow: 0 10px 20px rgba(25,25,25,.06);
}

.timeline-dot::after{
  content:"";
  position:absolute;
  inset: 4px;
  border-radius: 999px;
  background: rgba(116,10,3,.22);
}

.timeline-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px;
  transform: translateY(14px);
  opacity: 0;
  transition: transform .45s ease, opacity .45s ease, border-color .45s ease;
}
.timeline-card.in-view{
  transform: translateY(0);
  opacity: 1;
  border-color: rgba(116,10,3,.22);
}

.timeline-year{
  font-weight: 800;
  color: var(--primary);
  letter-spacing: .5px;
}

.timeline-meta{
  color: var(--muted);
  font-size: .9rem;
}

/* Sticky year nav */
.year-nav{
  position: sticky;
  top: 96px;
}
.year-nav .list-group-item{
  border-radius: 999px !important;
  border: 1px solid rgba(25,25,25,.10);
  margin-bottom: 10px;
  background: #fff;
  color: var(--dark);
  transition: all .2s ease;
}
.year-nav .list-group-item.active{
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.year-nav .list-group-item:hover{
  border-color: rgba(116,10,3,.25);
}

@media (max-width: 991.98px){
  .year-nav{ position: static; }
}

/* =========================================================
   SCROLL VISUAL BRIDGE (Image -> Milestone)
   ========================================================= */
.story-visual{
  position: relative;
  min-height: 170vh;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
}

.story-visual::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 500px at 20% 20%, rgba(254,177,0,.18), transparent 60%),
    radial-gradient(900px 500px at 80% 30%, rgba(116,10,3,.22), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(252,248,248,1) 88%);
  opacity: var(--overlay, .15);
  transition: opacity .08s linear;
}

.story-sticky{
  position: sticky;
  top: 96px;
  z-index: 2;
  padding-top: 24px;
  padding-bottom: 24px;
}

.story-card{
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.76));
  overflow: hidden;
}

.story-media{
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(116,10,3,.06);
}

.story-media img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  transform: scale(var(--imgScale, 1));
  opacity: var(--imgOpacity, 1);
  filter: blur(var(--imgBlur, 0px)) saturate(1.02);
  transition: filter .08s linear, transform .08s linear, opacity .08s linear;
}

.story-gradient-bottom{
  position:absolute;
  left:0; right:0; bottom:0;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(25,25,25,.62));
  opacity: var(--capOpacity, .55);
  transition: opacity .08s linear;
}

.story-caption{
  position:absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: #fff;
}

.story-caption .badge{
  background: rgba(254,177,0,.18);
  border: 1px solid rgba(254,177,0,.25);
  color: #fff;
}

.story-kpi{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.story-kpi .kpi{ padding: 12px 14px; }

.bridge-fade{
  height: 120px;
  background: linear-gradient(180deg, rgba(252,248,248,0) 0%, rgba(252,248,248,1) 100%);
}

@media (max-width: 991.98px){
  .story-media img{ height: 320px; }
  .story-sticky{ top: 84px; }
}

/* =========================================================
   CATEGORY CAROUSEL (snap + smooth)
   ========================================================= */
.cat-carousel{ position: relative; }

.cat-track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 85%;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.cat-track::-webkit-scrollbar{ height: 8px; }
.cat-track::-webkit-scrollbar-thumb{
  background: rgba(25,25,25,.12);
  border-radius: 999px;
}
.cat-track::-webkit-scrollbar-track{
  background: rgba(25,25,25,.06);
  border-radius: 999px;
}

@media (min-width: 576px){
  .cat-track{ grid-auto-columns: 52%; }
}
@media (min-width: 992px){
  .cat-track{ grid-auto-columns: 32%; }
}
@media (min-width: 1200px){
  .cat-track{ grid-auto-columns: 26%; }
}

.cat-slide{ scroll-snap-align: start; }

.cat-card{
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  height: 100%;
  transform: translateY(10px);
  opacity: 0;
  transition: transform .5s ease, opacity .5s ease;
}
.cat-card.in-view{
  transform: translateY(0);
  opacity: 1;
}

.cat-media{
  position: relative;
  height: 190px;
  overflow: hidden;
}
.cat-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .45s ease;
}
.cat-card:hover .cat-media img{ transform: scale(1.05); }

.cat-badge{
  position: absolute;
  left: 12px;
  top: 12px;
}

.cat-body{ padding: 16px 16px 18px; }

.cat-nav{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
}

.cat-dots{
  display:flex;
  gap:8px;
  justify-content:center;
  margin-top: 14px;
}
.cat-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(25,25,25,.18);
  border: 0;
}
.cat-dot.active{ background: var(--primary); }


/* ===============================
   ARTICLE HIGHLIGHT (Grid + Scroll Blur Parallax)
   =============================== */
   .article-hero{
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
    overflow: hidden;
  }
  
  .article-hero-inner{
    padding: 20px;
  }
  
  @media (min-width: 992px){
    .article-hero-inner{ padding: 26px; }
  }
  
  /* GRID header biar rapi */
  .article-hero-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  @media (min-width: 992px){
    .article-hero-grid{
      grid-template-columns: 0.95fr 1.05fr; /* text : image */
      align-items: stretch;
      gap: 18px;
    }
  }
  
  .article-hero-copy{
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255,255,255,.85);
    box-shadow: var(--shadow);
    padding: 18px;
  }
  
  @media (min-width: 992px){
    .article-hero-copy{ padding: 22px; }
  }
  
  .article-hero-copy .meta{
    display:flex;
    gap:10px;
    flex-wrap: wrap;
    align-items:center;
    margin-bottom: 10px;
  }
  
  .article-hero-copy .pill{
    display:inline-flex;
    align-items:center;
    gap:8px;
    border: 1px solid rgba(25,25,25,.10);
    background: rgba(255,255,255,.88);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: .85rem;
    color: var(--dark);
  }
  
  .article-hero-copy p{
    color: var(--muted);
  }
  
  /* ======= CAROUSEL WRAP ======= */
  .article-hero-media{
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(116,10,3,.06);
    min-height: 320px;
  }
  
  @media (min-width: 992px){
    .article-hero-media{ min-height: 420px; }
  }
  
  /* biar caption bottom rapi */
  .article-hero-media .carousel,
  .article-hero-media .carousel-inner,
  .article-hero-media .carousel-item{
    height: 100%;
  }
  
  .article-hero-media .carousel-item{
    position: relative;
  }
  
  /* IMG efek parallax + blur via CSS var */
  .article-hero-media .hero-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  
    transform:
      translate3d(0, var(--parallaxY, 0px), 0)
      scale(var(--imgScale, 1.02));
    filter:
      blur(var(--imgBlur, 0px))
      saturate(1.06);
  
    transition: filter .08s linear, transform .08s linear;
    will-change: transform, filter;
  }
  
  /* overlay: gradasi merah makin kuat saat scroll */
  .article-hero-media .overlay{
    position:absolute;
    inset:0;
    pointer-events:none;
  
    /* base overlay + red gradient */
    background:
      radial-gradient(900px 520px at 20% 15%, rgba(254,177,0,.16), transparent 60%),
      linear-gradient(90deg, rgba(25,25,25,.68) 0%, rgba(25,25,25,.38) 55%, rgba(25,25,25,.10) 100%),
      linear-gradient(180deg, rgba(116,10,3, var(--redTop, .12)) 0%, rgba(116,10,3, var(--redBottom, .42)) 100%);
  
    opacity: var(--overlayOpacity, .70);
    transition: opacity .08s linear;
  }
  
  /* Caption di bawah (rapi) */
  .article-hero-media .caption{
    position:absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    color: #fff;
    z-index: 2;
  }
  
  .article-hero-media .caption .badge{
    background: rgba(254,177,0,.18);
    border: 1px solid rgba(254,177,0,.25);
    color:#fff;
  }
  
  .article-hero-media .caption .title{
    font-weight: 800;
    margin-top: 8px;
    text-shadow: 0 14px 40px rgba(0,0,0,.28);
  }
  
  /* indicators kecil dan modern */
  .article-hero-media .carousel-indicators [data-bs-target]{
    width: 8px;
    height: 8px;
    border-radius: 999px;
  }

/* ===============================
   JEJAK RASA — YouTube Series Carousel
   =============================== */
   .series-card{
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
    overflow: hidden;
  }
  
  .series-head{
    padding: 18px 18px 0;
  }
  
  @media (min-width: 992px){
    .series-head{ padding: 22px 22px 0; }
  }
  
  .series-body{
    padding: 14px 18px 18px;
  }
  
  @media (min-width: 992px){
    .series-body{ padding: 16px 22px 22px; }
  }
  
  .series-pill{
    display:inline-flex;
    align-items:center;
    gap:8px;
    border: 1px solid rgba(25,25,25,.10);
    background: rgba(255,255,255,.88);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: .85rem;
    color: var(--dark);
  }
  
  .video-frame{
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(25,25,25,.06);
    box-shadow: var(--shadow);
  }
  
  /* Responsive 16:9 */
  .video-frame::before{
    content:"";
    display:block;
    padding-top: 56.25%;
  }
  .video-frame iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
  }
  
  .series-controls{
    display:flex;
    gap:10px;
    justify-content:flex-end;
  }
  
  .series-controls .btn{
    border-radius: 999px;
  }
  
  .series-indicators [data-bs-target]{
    width: 8px;
    height: 8px;
    border-radius: 999px;
  }
  
  /* Optional: smooth fade (Bootstrap carousel supports .carousel-fade) */
  .series-carousel.carousel-fade .carousel-item{
    transition: opacity .6s ease;
  }
  
